Page 1 of 1

How to run PMC file on startup?

Posted: 21 Feb 2018, 01:15
by Volta10
Hi I'm super new to this so please be patient with me. I'm able to create a PMC using the recorder function. My trouble is I want to put the PMC file on startup and execute/play the script. Right now when the PMC file is opened it'd bring the program up and then I have to press F3 to play. I'd really appreciate if someone can tell me how to do it.

Re: How to run PMC file on startup?

Posted: 27 Feb 2018, 00:01
by divanebaba
Hello.
If you want startup your script directly after booting, put a link of your script into Windows startup-folder.
  • C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
  • C:\Users\**fooled_out_of_education**\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
But this is surely something you already know.
Depending on the position and style of your F3-hotkey, you can comment out or delete your F3-hotkey.
This means, take the code, belonging to F3-hotkey, into the autoexecute section of your script.

Without seeing your code, this is everything I can say.
If you want to start a file before executing your script, it could look like below:

Code: Select all

run C:\Program Files\GIMP 2\bin\gimp-2.8.exe
; F3:: ; commented out so that your script can run through till next return
... do some stuff
return