Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
Posted - 09/13/2014 : 13:19:54 I'm looking for a way to activate a window (Audacity) from the desktop. This is the code for a desktop gesture and it works fine.
x = acFindWindowByTitleRegex("Audacity") -- get hwndTarget number acActivateWindow(x, nil, nil, 0)
The problem is that when a song is loaded into Audacity, the window title changes to that of the song title. Audacity is not in the title at all. Is there another way to get the hwndTarget number? Thanks
1 L A T E S T R E P L I E S (Newest First)
Posted - 09/13/2014 : 22:28:59 After a little more digging I found I can use acGetProcessIDFromPattern.