View Full Version : Can this be done?
abnrange
12-15-2008, 09:32 PM
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
mwreyf1
12-15-2008, 09:52 PM
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.
ShadowUK
12-16-2008, 12:52 AM
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.
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
Not tested, It'll probably work though
abnrange
12-16-2008, 07:38 AM
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/showthread.php?t=15551&highlight=apps
abnrange
12-16-2008, 01:01 PM
Thanks! I will check it out.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.