|
-
Feb 24th, 2002, 05:42 AM
#1
Thread Starter
Fanatic Member
changing focus to a paticular window, all i know is the window title
Hi, I would like to change the focus to a window of title "WindowTItle".
i am guessing i need to loop thru all the windows (how?) and use that getwindowtext API to compare the window title, and once found setfocus API?
or if i get desperate
do
sendkeys "%{TAB}", true
loop until getActiveWindowTitle = "WindowTitle"
how do u type that code in "visual basic code" syntax on the post?
Last edited by SkiNLaB; Feb 24th, 2002 at 07:24 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|