Sign in to follow this  
Followers 0
bevardis

Need help with executing autoit function from cmd line

3 posts in this topic

#1 ·  Posted (edited)

Hello, I need help with executing autoit function from cmd line.

C>program.au3 ARGUMENT

So, I need to execute code something like that.

if cmdline[0] == 1:
    function(cmdline)
else:
    pass

(No, It's not autoit code)

also, how would I return value, so It would print it in command line I executed it from?

How would I hide tray image? (I'm thinking of compiling it to .EXEcutable)

Thank's in advance.

I found some threads that might seem similiar to this, but they we're actually not, so I made this.

Edited by bevardis

Share this post


Link to post
Share on other sites



Here is an example of script that accept arguments and to hide tray icon put this as first line in your script
#NoTrayIcon

When the words fail... music speaks

Share this post


Link to post
Share on other sites

Thank you, resolved.

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