This is the end of a macro I've written:
Code: Select all
<snip>
// Sets Narrator
SetFocus>Recording Management System - [View/Amend Title]
WaitWindowOpen>Recording Management System - [View/Amend Title]
Press Tab * 29
Wait>1.5
Press Ctrl
Send>c
Wait>1.5
Release Ctrl
//Goto the Restructure subroutine
GoSub>Narrator_Name_Restructure
SetFocus>Untitled - Notepad
WaitWindowOpen>Untitled - Notepad
Send>ncc:narrator =
Wait>1
Press Ctrl
Send>v
Release Ctrl
Press Enter
SetFocus>Untitled - Notepad
WaitWindowOpen>Untitled - Notepad
Wait>2
Let>MSG_STAYONTOP=1
Message>Complete
SRT>Narrator_Name_Restructure
VBSTART
VBEND
//example here:
//Let>name=COOPER, Mandy
//Get the copied name from the clipboard
GetClipBoard>name
Let>comma=,
Separate>name,comma,parts
Let>firstname={lower(%parts_2%)}
Let>surname={lower(%parts_1%)}
VBEval>Trim("%firstname%"),firstname
VBEval>Trim("%surname%"),surname
Let>firstname={upper(copy(%firstname%,1,1)) + copy(%firstname%,2,length(%firstname%))}
Let>surname={upper(copy(%surname%,1,1)) + copy(%surname%,2,length(%surname%))}
Let>fullname=%firstname% %surname%
//MessageModal>fullname
//Put the restructured name back onto the clipboard for pasting
PutClipBoard>fullname
END>Narrator_Name_Restructure
Code: Select all
Let>MSG_STAYONTOP=1
Message>Complete
This is using version 10.015, am I doing something stupid or is this a known bug?