Sign in to follow this  
Followers 0
Ontosy

Return Value on Exit

8 posts in this topic

Do it is possibile to launche a autoit script and then when it exit return un value to on other application waiting?

i know that Exit() can to return a numeric value. Do it is possibile to return a string value?

Again: do it is possibile:

  • launch a au3 with excel
  • excel wait end of au3
  • excel get the value returned from au3
?

ty

Share this post


Link to post
Share on other sites



Do it is possibile to launche a autoit script and then when it exit return un value to on other application waiting?

i know that Exit() can to return a numeric value. Do it is possibile to return a string value?

Again: do it is possibile:

  • launch a au3 with excel
  • excel wait end of au3
  • excel get the value returned from au3
?

ty

Have you looked at the OnAutoItExit() and or Std* functions?

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Have you looked at the Std* functions?

i not have my used this function. Ty it is very intersting.

Do you it is possibile to send a value to Excel VBA on autoit exit?

Share this post


Link to post
Share on other sites

Search for the Excel UDFs. You can remotely control, get and set values, and interact with Excel.

excuse me, do it is possibile to do the same with Access?

Share this post


Link to post
Share on other sites

Presumably, but so far as I know, no one has written any Access UDFs, so you might be on your own there. There are quite a few SQL UDFs, so you might be able to interact with the data in your MDB file directly via Jet.


[font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]

Share this post


Link to post
Share on other sites

No, there is no such thing as a return string. Return values are integer based so unless you create a string in shared memory and return the integer pointer to it, the string cannot be sent.

Good luck on direct transfer though.

Share this post


Link to post
Share on other sites

Presumably, but so far as I know, no one has written any Access UDFs, so you might be on your own there. There are quite a few SQL UDFs, so you might be able to interact with the data in your MDB file directly via Jet.

Good point, maybe this would be a good place to start:

http://www.autoitscript.com/forum/index.ph...highlite=%2Bmdb


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0