Sign in to follow this  
Followers 0
Angelia

Parameters FROM compiled Autoit

10 posts in this topic

#1 ·  Posted (edited)

What is the syntax to return values from a compiled script.

Ok... let me clarify... I'm new at this, so forgive me if I use the wrong terminology... and it may be a dumb question... my apologies if it is.

if you type "dir > c:text.txt" at the command prompt... you will get a list of the directories returned from the dir command.

Can I return information from a autoit program? If yes, how do I code it?

If it is in the help guide or on this site... I don't know what to look up.

Edited by Angelia

Share this post


Link to post
Share on other sites



What is the syntax to return values from a compiled script.

What are you returning to? What are you getting the information from? Are you trying to see if the script was successful or not?

You need to put a bit more information in you question.

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

I think he means exit status, in which case

exit(number)


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites

I think he means exit status, in which case

exit(number)

Thanks you so much for your response... but I'm a "she" B)

Share this post


Link to post
Share on other sites

What is the syntax to return values from a compiled script.

Ok... let me clarify... I'm new at this, so forgive me if I use the wrong terminology... and it may be a dumb question... my apologies if it is.

if you type "dir > c:text.txt" at the command prompt... you will get a list of the directories returned from the dir command.

Can I return information from a autoit program? If yes, how do I code it?

If it is in the help guide or on this site... I don't know what to look up.

I'm not clear on what you mean by "return values" but in keeping with your example of the DIR command "returning" a list of directories, I'll offer this: Look in the help file for FileWrite and IniWrite.

post again if this is not what you were looking for...


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Thanks you so much for your response... but I'm a "she" :o

There are no women on the internet. They are just a myth. B)

[u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote]

Share this post


Link to post
Share on other sites

There are no women on the internet. They are just a myth. :o

There's always gotta be a first! B) Guess that's me!

Share this post


Link to post
Share on other sites

Hey!! What am I? Chopped Liver!!!! :lmao:

guess you just gave this thread CPR because it was dead. ;)


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Hey!! What am I? Chopped Liver!!!! ;)

Chopped Liver.... Yummy...

Cheers

Kurt


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

Chopped Liver.... Yummy...

Yuck - eating a used body filter - yuck!

[size="1"][font="Arial"].[u].[/u][/font][/size]

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