Search found 68 matches

by Fjord
Tue Aug 02, 2016 5:12 pm
Forum: iOS Deployment
Topic: Strategy for start using stack?
Replies: 23
Views: 4919

Re: Strategy for start using stack?

I wanted to know where I should place my old-fashioned scripts stacks (non-text format, anyway that's supposed to be irrelevant) for "start using" to find them, on desktop standalone and on mobiles. I wrote a stack to explore the name and contents of each SpecialFolderPath folder. I can't seem to at...
by Fjord
Mon Aug 01, 2016 5:30 pm
Forum: iOS Deployment
Topic: Strategy for start using stack?
Replies: 23
Views: 4919

Re: Strategy for start using stack?

@Jean Marc: OK. On the other hand, I'm not trying to understand the internal structure of a standalone app. I'm just trying to find how to manage scripts stacks in standalone or iOS apps. Apparently 1) that's not obvious 2) that's not really documented in a lesson 3) I haven't found an example Am I ...
by Fjord
Mon Aug 01, 2016 8:09 am
Forum: iOS Deployment
Topic: Strategy for start using stack?
Replies: 23
Views: 4919

Re: Strategy for start using stack?

What do you call a "package"?
by Fjord
Sun Jul 31, 2016 9:22 pm
Forum: iOS Deployment
Topic: Strategy for start using stack?
Replies: 23
Views: 4919

Re: Strategy for start using stack?

And also: in stadalone, answer doesn't work, whether I choose to let Livecode choose the inclusions or I choose to check answer dialog. Seem to remember reading something about that some time ago but can't find it anymore.
by Fjord
Sun Jul 31, 2016 9:18 pm
Forum: iOS Deployment
Topic: Strategy for start using stack?
Replies: 23
Views: 4919

Re: Strategy for start using stack?

Now I notice that after the start using in the openStack, the stackInUse returns correctly: stScripts000.
But after I've built a standalone, the stacksInUse returns revSBLibrary; and stScripts000 is not in use anymore.
Is that normal / documented?
by Fjord
Sun Jul 31, 2016 9:15 pm
Forum: iOS Deployment
Topic: Strategy for start using stack?
Replies: 23
Views: 4919

Re: Strategy for start using stack?

Thanks for your help. I tried to recreate your example with LC 7.0.6 With your code on openstack start using stack "stScripts000" -- works without special file path end openstack when I start the stack I get an error on the second line stack "stScripts001": execution error at line 2 (Chunk: can't fi...
by Fjord
Sun Jul 31, 2016 10:44 am
Forum: iOS Deployment
Topic: Strategy for start using stack?
Replies: 23
Views: 4919

Re: Strategy for start using stack?

Thanks for your time and your answer. I experimented... and failed again. I created 2 stacks: 1) "myScriptStack", stack script as follows: function myAdd x , y return x+y end myAdd 2) "myMainStack", 1 card, 1 text field "t", no stack script, card script as follows: on preopenCard put empty into fld ...
by Fjord
Thu Jul 28, 2016 10:14 am
Forum: iOS Deployment
Topic: Beta Version
Replies: 3
Views: 937

Re: Beta Version

+1 for a mention in the documentation.
by Fjord
Mon Jul 25, 2016 3:04 pm
Forum: iOS Deployment
Topic: Strategy for start using stack?
Replies: 23
Views: 4919

Re: Strategy for start using stack?

(English version below) Bonjour Jean-Marc (avec ce prénom, je suppose que tu lis le français :-) 1) sur le Mac dans l'outil de développement "Livecode Community Edition", j'écris ma pile "main.livecode". Dans un de ses scripts je fais "start using /Users/.../.../utilityScripts.livecode". Ensuite j'u...
by Fjord
Mon Jul 25, 2016 2:02 pm
Forum: iOS Deployment
Topic: Another screen size question (iphone6)
Replies: 2
Views: 966

Re: Another screen size question (iphone6)

Hi, I had the same problem just yesterday. I read this lesson http://lessons.livecode.com/m/4069/l/28683-displaying-assets-on-differing-screen-resolutions which is about positioning (by script) your buttons, fields etc. BUT the example defines the position of each element by using the width and heig...
by Fjord
Mon Jul 25, 2016 9:50 am
Forum: iOS Deployment
Topic: Strategy for start using stack?
Replies: 23
Views: 4919

Re: Strategy for start using stack?

No answer after a few days... maybe I should have been more precise: - the 1st & 2nd paragraphs of my post describe the strategy I use to develop desktop apps on Mac: the scripts-only stacks are in folders, my main app just goes and find them (based on a few pathnames) to "start using" them; - I can...
by Fjord
Fri Jul 22, 2016 8:56 am
Forum: iOS Deployment
Topic: Strategy for start using stack?
Replies: 23
Views: 4919

Strategy for start using stack?

Hi, I have a few script-only stacks which I've built for years. I use "start using stack absolutePath/ScriptStack0" in the preOpen handler of my main stack. The "libraryStack" handler of "ScriptStack0" in turn starts using some more script stacks, like ScriptStack1, ScriptStack2 etc. Fine. Now, what...
by Fjord
Thu Feb 25, 2016 11:54 am
Forum: iOS Deployment
Topic: Navigation Bar widget: change icons?
Replies: 6
Views: 1941

Re: Navigation Bar widget: change icons?

Thanks for the pointer! I haven't looked at w3school for a loooong time, I discovered many interesting things!
F.
by Fjord
Wed Feb 24, 2016 4:04 pm
Forum: iOS Deployment
Topic: Navigation Bar widget: change icons?
Replies: 6
Views: 1941

Re: Navigation Bar widget: change icons?

Thanks Bernd and Klaus! Bernd: the name of my nav bar is "NavigationBar" (no space)" I experimented with your suggestion and found that the instruction set the navLabels of widget "NavigationBar" to tIcons modifies the name of the buttons as sent to the "navigate" handler; therefore my "switch" in "...
by Fjord
Wed Feb 24, 2016 10:58 am
Forum: iOS Deployment
Topic: Navigation Bar widget: change icons?
Replies: 6
Views: 1941

Re: Navigation Bar widget: change icons?

That's similar to my first attempt. Did your icon change? Just now, I copied from your post and did put the navicons of widget "NavigationBar" into tIcons if item 5 of tIcons is "check" then put "check empty" into item 5 of tIcons else put "check" into item 5 of tIcons end if set the navicons of wid...

Go to advanced search