All of these:joshatt wrote:"action commands"?
Plus some more in the right-click menu (inserting a keystroke). I just created them all manually after seeing what commands the recording uses
Moderator: Pulover
All of these:joshatt wrote:"action commands"?
I see.Gaiiden wrote:All of these:joshatt wrote:"action commands"?
Plus some more in the right-click menu (inserting a keystroke). I just created them all manually after seeing what commands the recording uses
You can add a comment that shows up in the code preview window (on the right) but I would like to see comments appear in the script actions window on the left, so I can better remember what groups of actions are doing whatULandreman wrote:I'd like to insert come documentation comments within the macros. I haven't seen a way to do that yet. If it's possible, could someone point me in the right direction? Thanks!
Options > Settings > Playback > Do not display errorsjemtan wrote:[...] email that using PMC's inbuilt emailing macro while i'm asleep. However, occasionally i get an error message saying that the "message could not be sent to the SMTP server". [...] Is there a workaround to keep the script running in spite of the error message?
Version 5.0.4
- Fixed wrong options set for Message Box when editing the command.
Code: Select all
userid_value := 1
time_value := 2
description_value := 3
Sleep, 333
ie.document.getElementsByName("technicianID")[0].SelectedIndex := userid_value
ie.document.getElementsByName("requestType")[0].SelectedIndex := 1
ie.document.getElementsByName("workMinutes")[0].Value := time_value
ie.document.getElementsByName("description")[0].Value := description_value
/*
ExitApp
*/
Code: Select all
InputBox, VarSubject, Subject, Plase add a subject
If VarAmne =
{
MsgBox, 16, Add Subject from line, You have to enter a subject`, Restart the script, 6
ExitApp
}
PMC is written in AHK, so it uses AHK command line parameters internally, which means you cannot use them on playback. Additionally read about variables and expressions in the help file.Mock wrote:I have tried to do a %1% in the end of "ie.document.getElementsByName("technicianID")[0].SelectedIndex := userid_value" and also to define a variable like at the top, But Pulover removes % everytime so it don´t work. but with Edit AHK and manually compile including %1% everything works.
Am i doing something wrong?
You are executing ExitApp, what do you expect to happen?Acuena wrote:I just found out that there is one thing that is a bit anoying.
I have this code inside of the Macro Creator:
However when this is run and the user dosent enter a subject, it shows the msgbox and then closes the macro creator.Code: Select all
InputBox, VarSubject, Subject, Plase add a subject If VarAmne = { MsgBox, 16, Add Subject from line, You have to enter a subject`, Restart the script, 6 ExitApp }
If I havent saved before I ran the code, I lose some if it hasent found a backup at start.
This is a tad inconvinient, it messes with the workflow. Can this be fixed somehow? I have tried it a few times.
I know I executiong ExitApp, what I intended to happend is to stop the script I am making, not the Macro Creator. I want it to stop executing the script and just close it if the If statment triggers. Maybe it's a bit tricky to implement a check for that, I don't know how the program is coded.Pulover wrote:You are executing ExitApp, what do you expect to happen?Acuena wrote:I just found out that there is one thing that is a bit anoying.
I have this code inside of the Macro Creator:
However when this is run and the user dosent enter a subject, it shows the msgbox and then closes the macro creator.Code: Select all
InputBox, VarSubject, Subject, Plase add a subject If VarAmne = { MsgBox, 16, Add Subject from line, You have to enter a subject`, Restart the script, 6 ExitApp }
If I havent saved before I ran the code, I lose some if it hasent found a backup at start.
This is a tad inconvinient, it messes with the workflow. Can this be fixed somehow? I have tried it a few times.
Pulover wrote:To stop execution use Return. It's in the same list.
Code: Select all
numpadenter::
Msgbox Do some random stuff here
return
Code: Select all
!space::
Msgbox Hello World
click, 109 ,123
return
Return to “Pulovers Macro Creator”
Users browsing this forum: No registered users and 18 guests