How can we open window by giving partial title?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
sunkara7
Junior Coder
Posts: 25
Joined: Mon May 23, 2005 1:04 pm

How can we open window by giving partial title?

Post by sunkara7 » Wed Jun 01, 2005 5:45 pm

I need to open a web browser window by giving its partial name. for example for the website yahoo the title is

Yahoo! - Microsoft Internet Explorer

My question is can i open the yahoo website by giving only Yahoo!

Thanks

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Wed Jun 01, 2005 9:05 pm

You can use Yahoo*

From the HELP:
If the last character of the window title specified is an asterisk (*), Macro Scheduler will attempt to use the first window whose title matches the text entered exactly. If it cannot make an exact match it then looks at all windows and selects the first one it finds whose title contains the entered text. This solves the problem with applications such as Word or Netscape which change their titles depending on the document loaded. It is best to try to provide an exact (including case) window title to ensure the correct window is found, as many applications have multiple invisible windows with similar names. Specifying text without a trailing asterisk will force Macro Scheduler to only look for an exact match.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
CyberCitizen
Automation Wizard
Posts: 721
Joined: Sun Jun 20, 2004 7:06 am
Location: Adelaide, South Australia

Post by CyberCitizen » Mon Jun 06, 2005 7:01 am

If I Read Your Question Right You Are Wanting To Type Just Yahoo In The Address Bar & Have It Open http://www.yahoo.com ???

If This Is What You Are After I Suggest You Try Avant Browser.

This Lets You Assign A URL Alias.

Eg By Default You Would Type yh In The Address Bar & This Will Take You To The Yahoo Page. gg = http://www.google.com, yh = http://www.yahoo.com, & msn = http://www.msn.com

If This Is Not What You Are After Please Provide A Little More Detail Into What You Are Trying To Achieve.

If You Were Wanting To Use Something Like This In A Script You Could Try Let>yahoo=http://www.yahoo.com.au

Then In Your Script Instead Of Typing http://www.yahoo.com.au You Would Just Type %yahoo%

Example Script
Let>yahoo=http://www.yahoo.com.au
Run Program>C:\Program Files\Internet Explorer\IEXPLORE.EXE %yahoo%
FIREFIGHTER

miles.williams
Newbie
Posts: 14
Joined: Fri May 13, 2005 8:51 am

Post by miles.williams » Mon Jun 06, 2005 12:24 pm

when typing in a URL in windows you only need to put in yahoo then press CTRL and enter and it will fill in the www. and .com

You could get macro scheduler to start a shortcut, windows would do the rest.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts