StrokesPlus Forum
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
 All Forums
 General Discussion
 General Discussion
 Window Title changes

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List

* Forum Code is ON
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

Check here to subscribe to this topic.

T O P I C    R E V I E W
stevem99 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)
stevem99 Posted - 09/13/2014 : 22:28:59
After a little more digging I found I can use acGetProcessIDFromPattern.

Thanks for a great program!

StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000