I'm still getting an error on run, though. I'll compile the script to run as an EXE, but when I try to run it I will get an undeclared variable error. Here is the revised script. Note the error occurs on line 7: ; Script to activate VCarve Pro
; *Run this script immediately after installing VCarve Pro 8*
WinWait("VCarve Pro - License Information")
If StringLeft(@ComputerName,3) = "KJH" Then
Local $RegUserName = "Registered Name 1"
Local $LicNum = "License Key 1"
ElseIf StringLeft(@ComputerName,3) = "SJH" Then
Local $RegUserName = "Registered Name 2"
Local $LicNum = "License Key 2"
EndIf
ControlSend("VCarve Pro - License Information", "Registered User Name", "Edit1", $RegUserName)
ControlSend("VCarve Pro - License Information", "Paste license code from clipboard", "Edit2", $LicNum)