Add\Write Pure AHK code to PMC Script File

Advanced Macro Recorder/Editor.

Moderator: Pulover

Mr MG
Posts: 14
Joined: 07 Dec 2021, 04:14

Add\Write Pure AHK code to PMC Script File

Post by Mr MG » 28 Jan 2022, 10:14

Hello,

How to add\write pure AHK code to PMC script file like this:

Code: Select all

IfNotExist, %A_ScriptDir%\tools\OSK.exe
    {
    FileCreateDir, %A_ScriptDir%\tools\
    FileInstall, C:\Windows\System32\osk.exe, %A_ScriptDir%\res\tls\OSK\OSK.exe, 1
    }

User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Add\Write Pure AHK code to PMC Script File

Post by Pulover » 28 Jan 2022, 10:27

The only way to do that during playback is running a function from an external file. That is available in the Function window.

Other than that you can export and edit the ahk file.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)

Mr MG
Posts: 14
Joined: 07 Dec 2021, 04:14

Re: Add\Write Pure AHK code to PMC Script File

Post by Mr MG » 28 Jan 2022, 16:40

May I get simple example of that function window, please

User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Add\Write Pure AHK code to PMC Script File

Post by Pulover » 28 Jan 2022, 17:32

Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)

Mr MG
Posts: 14
Joined: 07 Dec 2021, 04:14

Re: Add\Write Pure AHK code to PMC Script File

Post by Mr MG » 30 Jan 2022, 03:17

Thank You

Post Reply

Return to “Pulovers Macro Creator”