Jump to content




[QUESTION] [LUA] How can I use the data from one application, and pass it to the other?


  • You cannot reply to this topic
8 replies to this topic

#1 anonimo182

  • Members
  • 252 posts
  • LocationIn the universe

Posted 09 October 2012 - 01:59 AM

I am stuck with this part at my application...

Please I need help to use the data from one application, and pass it to the other

Thanks

#2 Orwell

    Self-Destructive

  • Members
  • 1,091 posts

Posted 09 October 2012 - 02:08 AM

One way to do is using arguments for your program. Another has been explained here: http://www.computerc...oes-osrun-work/

#3 anonimo182

  • Members
  • 252 posts
  • LocationIn the universe

Posted 09 October 2012 - 02:30 AM

But I need to transfer X = "kads" from the application to the next one that will run

#4 Orwell

    Self-Destructive

  • Members
  • 1,091 posts

Posted 09 October 2012 - 02:51 AM

View Postanonimo182, on 09 October 2012 - 02:30 AM, said:

But I need to transfer X = "kads" from the application to the next one that will run
I'm kinda certain that that's what I'm explaining. To be sure though, are you running the second program from within the first one?

#5 anonimo182

  • Members
  • 252 posts
  • LocationIn the universe

Posted 09 October 2012 - 02:53 AM

Yes

#6 Orwell

    Self-Destructive

  • Members
  • 1,091 posts

Posted 09 October 2012 - 03:09 AM

View Postanonimo182, on 09 October 2012 - 02:53 AM, said:

Yes

Then you should read the thread I linked to.

#7 anonimo182

  • Members
  • 252 posts
  • LocationIn the universe

Posted 09 October 2012 - 03:22 AM

I did, but I did nothing

#8 Exerro

  • Members
  • 801 posts

Posted 09 October 2012 - 05:35 AM

im not sure because ive never used it but i think he means os.run("programName", put, your, data, here, in, the, args, bit) then you can catch them in the receiving program

#9 anonimo182

  • Members
  • 252 posts
  • LocationIn the universe

Posted 09 October 2012 - 02:08 PM

I solved it, thanks





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users