Re: Open Inv Stack on iPhone
we have been playing with this open, close, show, destroy, stacks on mobile for several months FWIW, if you use dispatch to a stack, even if it has GUI on card 1… it just opens in memory but not visible. if you run "go" later the stack will top level (as you would expect) #stack MyLibraryWGUI stack script on wakeMe # do nothing end wakeMe dispatch "wakeMe" to stack " MyLibraryWGUI " # assumes the stack is in the stack files # OK if you do this you will not see it open in the IDE (or on a phone) but you can see it open in the project browser. # Caveat: PB runtime updating is still flaky (9.dp5), you have to close the PB and reopen it. you will see the stack is loaded by not visible. It's now in the msg path. Later if you if want toplevel it: go to stack "MyLibraryWGUI" Working here on desktop and mobile. Send would probably also load the stack (not tested) BR On 5/25/17, 12:05 PM, "use-livecode on behalf of Dan Friedman via use-livecode" wrote: Mark, Good suggestion! But, I will need to display the stack at some point. There must be a reason why this is failing. Perhaps someone at LC will see this post and shed some light. -Dan ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Open Inv Stack on iPhone
Mark, Good suggestion! But, I will need to display the stack at some point. There must be a reason why this is failing. Perhaps someone at LC will see this post and shed some light. -Dan >> Assuming that you don't need to display the stack, you could use start using >> stack “/folder/folder/stackName.rev" and reference any objects and scripts >> in the stack. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Open Inv Stack on iPhone
Assuming that you don't need to display the stack, you could use start using stack “/folder/folder/stackName.rev" and reference any objects and scripts in the stack. Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com Op 25-May-17 om 22:59 schreef Dan Friedman via use-livecode: Does anyone have any insight about this…. If you open a stack file on an iPhone invisibly, the app crashes. For example: open inv stack “/folder/folder/stackName.rev" This works fine on windows, mac, and an iPad. But, on a iPhone (real device or simulator) it crashes. Any thoughts? Or perhaps a workaround? The file and the path are good. I know this because if I open the stack without “inv”, it opens just fine. LC 8.1.3 iOS 10.3.1 FYI, the goal is to get the stack file open and in memory so I can call it later. But, I don’t want to see it open. Thanks in advance! -Dan ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Open Inv Stack on iPhone
Does anyone have any insight about this…. If you open a stack file on an iPhone invisibly, the app crashes. For example: open inv stack “/folder/folder/stackName.rev" This works fine on windows, mac, and an iPad. But, on a iPhone (real device or simulator) it crashes. Any thoughts? Or perhaps a workaround? The file and the path are good. I know this because if I open the stack without “inv”, it opens just fine. LC 8.1.3 iOS 10.3.1 FYI, the goal is to get the stack file open and in memory so I can call it later. But, I don’t want to see it open. Thanks in advance! -Dan ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode