01-21-2017, 03:29 AM
I am trying to add a command to bring a window (Camtasia) to the front or launch it. I usually am successful with a command like My problem is the application keeps changing the class. When Firefox was doing this, I was able to use an empty string. I can’t seem to figure out what would work here. When I record the macro, I pick up something like this however, like I said the long number seems to change every time launch the program. How could I create a string that finds the window each time? Thanks
int w3=win("Camtasia 9" "HwndWrapper[CamtasiaStudio.exe;;8840f44d-1628-4e6b-a264-e2e4c072445c]")
if(!w3)
run "C:\Program Files\TechSmith\Camtasia 9\CamtasiaStudio.exe"
else
act w3