Actionaz execute when open

Post here if you need help using Actiona
Post Reply
zer11
Posts: 10
Joined: 07 Mar 2012, 14:20

Actionaz execute when open

Post 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
User avatar
Jmgr
Admin
Posts: 1651
Joined: 07 Dec 2005, 15:45
Contact:

Re: Actionaz execute when open

Post by Jmgr »

Of course. See the parameter list : http://wiki.actionaz.org/doku.php?id=en:commandline
"My software never has bugs. It just develops random features."
zer11
Posts: 10
Joined: 07 Mar 2012, 14:20

Re: Actionaz execute when open

Post by zer11 »

Thanks, but where do I have to put that?
User avatar
Jmgr
Admin
Posts: 1651
Joined: 07 Dec 2005, 15:45
Contact:

Re: Actionaz execute when open

Post 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.
"My software never has bugs. It just develops random features."
zer11
Posts: 10
Joined: 07 Mar 2012, 14:20

Re: Actionaz execute when open

Post 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?
User avatar
Jmgr
Admin
Posts: 1651
Joined: 07 Dec 2005, 15:45
Contact:

Re: Actionaz execute when open

Post 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.
"My software never has bugs. It just develops random features."
zer11
Posts: 10
Joined: 07 Mar 2012, 14:20

Re: Actionaz execute when open

Post by zer11 »

Not enough rights to run the script?
User avatar
Jmgr
Admin
Posts: 1651
Joined: 07 Dec 2005, 15:45
Contact:

Re: Actionaz execute when open

Post by Jmgr »

It depends on what your script is doing. Does it work if you run your shortcut with "Run as administrator" ?
"My software never has bugs. It just develops random features."
zer11
Posts: 10
Joined: 07 Mar 2012, 14:20

Re: Actionaz execute when open

Post by zer11 »

Sorry for not answering.
The script just mouseclicks and types a text. Run as administrator doesnt help.
User avatar
Jmgr
Admin
Posts: 1651
Joined: 07 Dec 2005, 15:45
Contact:

Re: Actionaz execute when open

Post by Jmgr »

Could you post the script ? So that I can try to reproduce the problem here.
"My software never has bugs. It just develops random features."
Post Reply