I have two apps. I would like app 1 to load app 2. Once loaded it would page jump to specified page that app 1 called. I could not find any examples on how to do this in the forums.
Any help would be great - thanks
Professional Software Development Tools
I have two apps. I would like app 1 to load app 2. Once loaded it would page jump to specified page that app 1 called. I could not find any examples on how to do this in the forums.
Any help would be great - thanks
Have a look at 'command line arguments' in the help file.
_CommandLineArgs
A numerically indexed table that contains the command line arguments passed into the AutoPlay application.
Which probably means you could do something like this.
Not tested, It'll probably work thoughCode:if (_CommandLineArgs) then for K, V in _CommandLineArgs do if (String.Find(V, "SFXSOURCE", 1, false) ~= -1) then Table.Remove(_CommandLineArgs, K); end end Page.Jump(Table.Concat(_CommandLineArgs, " ", 1, -1)) end
Sorry, I don't understand - still learning.
How does this code work? How do tell app 1 to load app 2 then page jump to page that app 1 called for?
Thanks for your help.
Maby this example can help you
http://www.indigorose.com/forums/sho...highlight=apps
Thanks! I will check it out.