Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2006
    Posts
    346

    Can this be done?

    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

  2. #2
    Join Date
    Aug 2004
    Location
    Somewhere in Texas, USA
    Posts
    417
    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.

  3. #3
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    Quote Originally Posted by mwreyf1 View Post
    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.

    Code:
    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

  4. #4
    Join Date
    Feb 2006
    Posts
    346
    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.

  5. #5
    Join Date
    Apr 2005
    Posts
    172

  6. #6
    Join Date
    Feb 2006
    Posts
    346
    Thanks! I will check it out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts