Okay, I found a page about using Windows Task Scheduler.
However, I created the Macro using the Chrome extension, and cannot find a .kmacro file for it. Can I use this macro, or do I have to create a new one in the desktop app for this to work?
I really want the macro to run hourly in Chrome, not in the built-in browser of the desktop app.
Thanks Ulrich. Just, where do you get the HTML file from? The macro just appears to be a JSON file. Can the file be the page on the internet that I want to automate?
Edit: Oh wow! Yeah, that seems to work. Thanks Ulrich, you’re awesome!
Hello, i need to run a macro every 24 hours, i have read your post, but i am really newer in this tool, so i don´t know where can i put that command lines, i am really lost, I have the .html file, but i don´t know where to run it o where to program the task to run every 24 hours.
Would you help me please?
In my testing it’s best to have the task scheduler execute and run your macro from powershell. For some reason sometimes your can’t get focus on the browser and the XModule command won’t execute.
For example in task scheduler:
Start a program
Program/script: powershell.exe
Add arguments: -ExecutionPolicy Bypass -nologo -noprofile "C:\Pathtothescript\Yourscript.ps1"
Basic Powershell script to run your macro: Start-Process -FilePath "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "file:///C:/Users/PathToYourAutoRunHTML/yourmacro.html?direct=1" end