Hi,
I have a drop down list in my form, which is filled with values from data base.(eg: clientname).
Its display member is Name and value menmber is ID.
Could please advice, if i pass the ID to the script, how can i select the name automatically through the script.
Thanks
rraghul
Select drop downlist value
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Try doing the same thing you do manually. There are a few different methods that might work for you.
1. Some drop down boxes will automatically go to the selection when typing the name of a selection.
2. On other boxes, you may need to know the count down, and press the Down arrow x times.
3. On other boxes, you may need to make a loop that presses Down, and does an image compare.
1. Some drop down boxes will automatically go to the selection when typing the name of a selection.
2. On other boxes, you may need to know the count down, and press the Down arrow x times.
3. On other boxes, you may need to make a loop that presses Down, and does an image compare.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Is this drop down on a desktop interface or on a web page?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
You should be able to either "drill down" to it (by sending the text of the item you want to select using Send>text), or if you know the index, arrow down the required number, or use GetListItem.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?