Launching Macro - I am not able to use Task Scheduler

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
MikeQuestr
Posts: 2
Joined: 07 Jul 2017, 08:50

Launching Macro - I am not able to use Task Scheduler

07 Jul 2017, 09:08

I need to launch macros on a daily basis for a customer, on their machine. This fortune 500 company has a policy to never let allow windows task scheduler.

I have created all the automation using pulovers which I like. However when I try to figure out the command line way to launch it - all I do is load it into their editor.

Can anyone tell me what I need to do to launch pulovers from command line.

The user I have on that laptop had admin on that laptop- so I can run in admin mode. Although also not sure how to command line that.

Thanks
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: Launching Macro - I am not able to use Task Scheduler

08 Jul 2017, 00:20

I have created all the automation using pulovers which I like. However when I try to figure out the command line way to launch it - all I do is load it into their editor.
You've created macros using Pulover's macro recorder, but you don't know how to start one of it using command line parameters, because it opens on the remote box within the editor? TBH, I'm not sure if its that what you mean. Would you mind to provide some sample code?!
robertcollier4
Posts: 33
Joined: 09 Apr 2016, 22:14

Re: Launching Macro - I am not able to use Task Scheduler

08 Jul 2017, 07:25

you run a script from the command line like this:

Code: Select all

"C:\Program Files\AutoHotkey\AutoHotkeyU32.exe" "path_to_script.ahk"
MikeQuestr
Posts: 2
Joined: 07 Jul 2017, 08:50

Re: Launching Macro - I am not able to use Task Scheduler

08 Jul 2017, 11:20

It's a pmc file is there a different forum I should be on
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: Launching Macro - I am not able to use Task Scheduler

08 Jul 2017, 12:18

MikeQuestr wrote:It's a pmc file is there a different forum I should be on
I've never seen such a file: http://www.macrocreator.com/docs/Examples/Demo.pmc :wtf:
Another forum? Let's guess, yes - but I might be wrong.
Good luck :)

Here I found a thread discussing AHK vs PMC: https://www.experts-exchange.com/questi ... yntax.html

... and I took from there that PMC offers an option to export/convert a pmc-script to ahk.
So there's a chance to join the wonderfull world of Autohotkey :mrgreen:

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], Draken, Rohwedder and 173 guests