Page 1 of 1

Actionaz execute when open

Posted: 11 May 2012, 18:47
by zer11
Hello,
I am wondering if there is a way to instantly execute the script, when you open it. This is useful for some tasks.
Greetings

Re: Actionaz execute when open

Posted: 11 May 2012, 20:01
by Jmgr
Of course. See the parameter list : http://wiki.actionaz.org/doku.php?id=en:commandline

Re: Actionaz execute when open

Posted: 12 May 2012, 13:04
by zer11
Thanks, but where do I have to put that?

Re: Actionaz execute when open

Posted: 13 May 2012, 17:59
by Jmgr
You have multiple choices here. You could run Actionaz from the command line, "cmd" under Windows : "actionaz -execute myScript.ascr".
Or you could create a shortcut for actionaz.exe and add the parameters at the end.

Re: Actionaz execute when open

Posted: 14 May 2012, 13:10
by zer11
Rightclick on Actionaz.exe -> Properities -> "C:\Program Files\Actionaz\actionaz.exe" actionaz -execute myscript.ascr
Doesnt work. My mouse cursor changes to "loading" for ~1 sec and then nothing happens.
In cmd nothing happens too.

I have an other problem with the action command. When I try to open mirc.exe with it (a chat program) then it starts the program and then in the execution window it says: command... Nothing happens and it doesnt goes to the next step, until I close the program :(. How to fix that?

Re: Actionaz execute when open

Posted: 14 May 2012, 22:20
by Jmgr
My bad, it's

Code: Select all

"C:\Program Files\Actionaz\actionaz.exe" --execute myscript.ascr
I have an other problem with the action command. When I try to open mirc.exe with it (a chat program) then it starts the program and then in the execution window it says: command... Nothing happens and it doesnt goes to the next step, until I close the program :(. How to fix that?
Try using the "detached command" action. The "command" action waits until the started command is finished.

Re: Actionaz execute when open

Posted: 14 May 2012, 23:00
by zer11
Not enough rights to run the script?

Re: Actionaz execute when open

Posted: 15 May 2012, 06:49
by Jmgr
It depends on what your script is doing. Does it work if you run your shortcut with "Run as administrator" ?

Re: Actionaz execute when open

Posted: 30 May 2012, 18:34
by zer11
Sorry for not answering.
The script just mouseclicks and types a text. Run as administrator doesnt help.

Re: Actionaz execute when open

Posted: 01 Jun 2012, 19:24
by Jmgr
Could you post the script ? So that I can try to reproduce the problem here.