E=mc2
asked on
Using AutoHotKey script to open internal website using IE and then entering login details
I would like to use an AutoHotKey script so that when you double click on it, it will open a browser using either Internet Explorer and then once the internal website is open to automatically enter the username and password.
It will be used internally only.
Is this possible?
@JoeWinograd perhaps you have much experience with this?
It will be used internally only.
Is this possible?
@JoeWinograd perhaps you have much experience with this?
Somewhat off-topic but .......
I can give an absolute 100% cast-iron guarantee that TYPEITIN
can be easily programmed to do exactly what you want with ONE CLICK!
(You can easily assign a keyboard combination instead of having to click).
When you create a new button, you can write the script yourself, or ...
you can go into record mode and typeitin will create the script for you
as you perform the desired keyboard & mouse actions.
Press Stop to end the recording.
You can then edit the automatically created script if needed.
I can give an absolute 100% cast-iron guarantee that TYPEITIN
can be easily programmed to do exactly what you want with ONE CLICK!
(You can easily assign a keyboard combination instead of having to click).
When you create a new button, you can write the script yourself, or ...
you can go into record mode and typeitin will create the script for you
as you perform the desired keyboard & mouse actions.
Press Stop to end the recording.
You can then edit the automatically created script if needed.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes, that's exactly what I meant when I said this in my first post:
https://www.autohotkey.com/boards/viewtopic.php?t=15061
Regards, Joe
or using the IE Component Object Model (COM) interface. I generally much prefer COM (for Office apps, too, as you can see at this EE post), since sending keystrokes tends to be error proneTo give credit where credit is due, I presume you found that script here:
https://www.autohotkey.com/boards/viewtopic.php?t=15061
Regards, Joe
either IE or...what?
> Is this possible?
Probably.
> @JoeWinograd perhaps you have much experience with this?
I have a lot of experience with AutoHotkey, but only a modest amount in this particular area. There are two approaches for IE...either sending keystrokes or using the IE Component Object Model (COM) interface. I generally much prefer COM (for Office apps, too, as you can see at this EE post), since sending keystrokes tends to be error prone, although since it is an internal site, this (simpler) approach may work fine. My EE AutoHotkey - Getting Started article discusses COM and here's an EE article with an example of the sending-keystrokes method:
How to copy the short link of an ID at Experts Exchange to the clipboard with a single keystroke
It could be as simple as this (sending-keystrokes) script, depending, of course, on the internal website:
Open in new window
> when you double click on itBtw, instead of having to double-click on the script, you can define a hotkey for it. To do that, you would need two changes to the script above:
(1) Put your hotkey definition before the Run,%IEexe% %URL% command, such as:
Open in new window
See this EE article for an explanation of hotkeys:How to move all windows on one monitor to another monitor with a single keystroke
(2) Change the ExitApp command to the Return command.
Regards, Joe