Web Recorder: Dropdown menus and time/date

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
amelson
Newbie
Posts: 1
Joined: Thu Aug 28, 2008 4:37 pm

Web Recorder: Dropdown menus and time/date

Post by amelson » Thu Aug 28, 2008 4:48 pm

I need to create a Macro that will log into a website and then select a time and date from a dropdown menu (divided into month/day/year and hour within the 24-hour clock). Is there code that can be used to tell Macro Scheduler to choose an option from the dropdown based on the current date and time in the system clock?

Thanks!

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Aug 28, 2008 5:56 pm

WebRecorder will help you select the item in the drop down. You could use Macro Scheduler's date/time functions to get the date/time and format to match the format in the drop down so you have the value to send to it.

See Year, Month, Day, Hour, Min, Sec, GetDate in the help file, also the VBScript date functions. Also see:
http://www.mjtnet.com/blog/2006/01/23/u ... variables/
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

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