Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to put a delay
#5
This AutoHotkey script should do the work (YourUsername and YourPassword must be set at lines #1 and #2) (Do not remove quotation marks).:

Need help creating a keyboard shortcut with ShortKeeper using the following AutoHotkey code? This 5-minute tutorial will help!

Attention: This AutoHotkey script is kept for reference purposes only. It is based on the web browser Internet Explorer, which is no longer supported or updated by Microsoft.
Username := "YourUserName"
Password := "YourPassword"
URL := "https://login.questrade.com/Signin.aspx"
wb := ComObjCreate("InternetExplorer.Application")
wb.Visible := True
wb.Navigate(URL)
While wb.readyState != 4 || wb.document.readyState != "complete" || wb.busy ; wait for the page to load
  Sleep, 100
wb.document.getElementById("ctl00_DefaultContent_txtUsername").value := Username
wb.document.getElementById("ctl00_DefaultContent_txtPassword").value := Password
wb.document.getElementById("ctl00_DefaultContent_btnLogin").Click()

This script will also work if you are already logged into Questrade. It will start Internet Explorer even if this is not your default browser. The script was tested with Windows 7 and 10.

If Questrade changes the way its web page works, this script might stop working. If you experience any problems, kindly let us know with a post on this thread. You can subscribe to the thread to be notified of any updates.
Enterpad: For those who need more than a few shortcuts.

Reply


Messages In This Thread
How to put a delay - by Philippe27 - 03-26-2018, 06:22 PM
RE: Error with "Enter" - by Bianka_2726 - 03-27-2018, 07:38 PM
RE: How to put a delay - by denilama - 04-05-2018, 04:00 PM
RE: How to put a delay - by Philippe27 - 04-12-2018, 10:09 PM
RE: How to put a delay - by denilama - 04-13-2018, 09:40 AM
RE: How to put a delay - by Philippe27 - 04-17-2018, 09:24 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)