|
|
| Next: Vista Premium Duplicate files |
| Author |
Message |
RobinT

Joined: May 18, 2007 Posts: 7
|
Posted: Tue May 22, 2007 4:31 pm Post subject: |
|
|
|
| moka: I did find that if I tried to start outlookstart before the system had fully finished booting it did not work so I cannot put it in the startup folder. That is not really a problem, I just start it after I have had my first coffee!
As for the H, thats the Autohotkey icon and is what the outlookstart program looks like.
|
|
|
| Back to top |
|
 |
moka

Joined: May 22, 2007 Posts: 4
|
Posted: Wed May 23, 2007 3:23 am Post subject: outlook + visssssss |
|
|
|
| Help needed.
which kind of encoding should I tell notepad to use when I save as ahk?
does it matter at all?
I tried ANSI and unicode, I get the conversion done but the outlook still asks for the passwords?
Any suggestions?
|
|
|
| Back to top |
|
 |
RobinT

Joined: May 18, 2007 Posts: 7
|
Posted: Wed May 23, 2007 3:49 am Post subject: Re: outlook + visssssss [Login to view extended thread Info.] |
|
|
| moka: you have lost me there! Notepad is a basic text editor and only gives you the option of saving as a .txt file, ie standard text. If you are talkng about ANSI and Unicode then those are Internet Explorer options. Are you sure you are generating the ahk file in Notepad and creating standard text? |
|
| Back to top |
|
 |
moka

Joined: May 22, 2007 Posts: 4
|
Posted: Wed May 23, 2007 7:26 am Post subject: Re: outlook + visssssss [Login to view extended thread Info.] |
|
|
RobinT, The Vista's notepad has an Encoding option in the "save as" dialog box, I don't think this is the problem but who can say?
anyway I have done everything as writen, I have gotten to the outlookstart.exe Icon and it turns on the OUTLOOk , but the OUTLOOK still asks fo the passwords. |
|
| Back to top |
|
 |
RobinT

Joined: May 18, 2007 Posts: 7
|
Posted: Wed May 23, 2007 7:36 am Post subject: Re: outlook + visssssss [Login to view extended thread Info.] |
|
|
| ok, email me your isp username and password and I will make the files for you. I will send you back the ahk and .exe files although I am not sure whether your email prog will block the attachment. Better still send me your ahk file and I will check it. |
|
| Back to top |
|
 |
RobinT

Joined: May 18, 2007 Posts: 7
|
Posted: Wed May 23, 2007 7:37 am Post subject: [Login to view extended thread Info.] |
|
|
my email is
robin.tracey RemoveThis @virgin.net |
|
| Back to top |
|
 |
TravelforChow

Joined: Apr 22, 2007 Posts: 2
|
Posted: Fri Jun 01, 2007 8:20 pm Post subject: Thank you, Coyote_HU [Login to view extended thread Info.] |
|
|
Thank you, Coyote_HU!
I finally got my three email accounts up and running. It turns out for whatever reason I need to force an additional "send/receive" before activating the password dialogue boxes. So, after the "run outlook.exe" line, I had to reduce the sleeping time to 1000 and do the following before the password codes, though this does not seem to be a problem for others on the board.
WinWait, Inbox - Microsoft Outlook,
IfWinNotActive, Inbox - Microsoft Outlook, , WinActivate, Inbox - Microsoft Outlook,
WinWaitActive, Inbox - Microsoft Outlook,
Send, {F9}
Also, each of my three email accounts have different incoming and outgoing mail servers (thank you, Earthlink), which means that even after running the script to type the three passwords for the incoming mail, everytime I need to SEND an email, it needs a password again! So I had to create a smaller exe. with a portion of the code for the purpose of sending emails out.
All in all, both exe files are up and running, with desktop and keyboard shortcuts, and I can breathe much easier! Thank you Coyote_HU - couldn't have done it without you! |
|
| Back to top |
|
 |
Scott517

Joined: Jun 19, 2007 Posts: 1
|
Posted: Tue Jun 19, 2007 2:36 pm Post subject: [Login to view extended thread Info.] |
|
|
I have followed the advice, using the script from Coyote, but I am having a problem. My password is being imported into the username box when Outlook prompts for the password. Any tips on what is wrong with my script?
Thanks,
Scott |
|
| Back to top |
|
 |
thubert

Joined: Jul 03, 2007 Posts: 1
|
Posted: Tue Jul 03, 2007 4:59 pm Post subject: [Login to view extended thread Info.] |
|
|
More thanks to Coyote_HU for his great script. I had to made some modifications to it to suit my configuration, and the following should help Scott517.
Coyote_HU's script is written making the following assumptions:
- You are using an English-language version of Outlook 2002;
- Your Outlook parameters direct it to open the "Inbox" folder at startup.
This was not the case on my PC, so I made the changes below (in red) to the .ahk script.
- By adding the "SetTitleMatchMode, 2" at the top of the script and deleting "Inbox - " everywhere, you make the script compatible with any folder Outlooks opens at startup.
- I changed "Enter Network Password" to "Tapez le mot de passe réseau" because my Outlook version is in French. Replace that by the title of the window that prompts you to enter your password in your language to solve the language compatibility problem.
- I added {Tab} before the password because the original script added the password to my Username field (Scott517 here you go). This simulates a hit on the Tab key, thus adding the password to the next field.
It works perfectly for me like this and I'm delighted cos I had absolutely no intention to pay for a more recent, less user-friendly version of Outlook just to save my passwords.
SetTitleMatchMode, 2
IfWinExist, Microsoft Outlook,
{
WinActivate, Microsoft Outlook,
ExitApp
}
Run OUTLOOK.EXE
Sleep, 10000
IfWinNotActive, Tapez le mot de passe réseau, , WinActivate, Tapez le mot de passe réseau,
WinWaitActive, Tapez le mot de passe réseau,
Gosub, SendPasword
IfWinNotActive, Tapez le mot de passe réseau, , WinActivate, Tapez le mot de passe réseau,
WinWaitActive, Tapez le mot de passe réseau,
Gosub, SendPasword
IfWinNotActive, Tapez le mot de passe réseau, , WinActivate, Tapez le mot de passe réseau,
WinWaitActive, Tapez le mot de passe réseau,
Gosub, SendPasword
WinWait, Microsoft Outlook,
IfWinNotActive, Microsoft Outlook, , WinActivate, Microsoft Outlook,
WinWaitActive, Microsoft Outlook,
Send, {F9}
ExitApp
SendPasword:
ControlGetText, UserName, RichEdit20A1
If UserName = YOUR_USERNAME
Send, {Tab}YOUR_PASSWORD{ENTER}
If UserName = YOUR_USERNAME
Send, {Tab}YOUR_PASSWORD{ENTER}
If UserName = YOUR_USERNAME
Send, {Tab}YOUR_PASSWORD{ENTER}
sleep, 1000
Return |
|
| Back to top |
|
 |
bigmax

Joined: Jul 07, 2007 Posts: 1
|
Posted: Sat Jul 07, 2007 3:43 am Post subject: only partially works [Login to view extended thread Info.] |
|
|
| Nice script ! but it works only with one account for me, even if removing /I and /b ... what can I try ? thanks |
|
| Back to top |
|
 |
joelpj

Joined: Jul 26, 2007 Posts: 1
|
Posted: Thu Jul 26, 2007 6:46 pm Post subject: Re: Thank you, Coyote_HU [Login to view extended thread Info.] |
|
|
| TravelforChow wrote: |
Thank you, Coyote_HU!
I finally got my three email accounts up and running. It turns out for whatever reason I need to force an additional "send/receive" before activating the password dialogue boxes. So, after the "run outlook.exe" line, I had to reduce the sleeping time to 1000 and do the following before the password codes, though this does not seem to be a problem for others on the board.
WinWait, Inbox - Microsoft Outlook,
IfWinNotActive, Inbox - Microsoft Outlook, , WinActivate, Inbox - Microsoft Outlook,
WinWaitActive, Inbox - Microsoft Outlook,
Send, {F9}
Also, each of my three email accounts have different incoming and outgoing mail servers (thank you, Earthlink), which means that even after running the script to type the three passwords for the incoming mail, everytime I need to SEND an email, it needs a password again! So I had to create a smaller exe. with a portion of the code for the purpose of sending emails out.
All in all, both exe files are up and running, with desktop and keyboard shortcuts, and I can breathe much easier! Thank you Coyote_HU - couldn't have done it without you! |
Hi TravelForChow and others,
I have followed all the standard instructions and 2 out of 3 accounts work correctly.
Two gmail accounts automatically add passwords but optusnet doesn't.
It looks like you ran into similar problems? Any help would be greatly appreciated.
Joel PJ |
|
| Back to top |
|
 |
SlimboyFat

Joined: Aug 16, 2007 Posts: 1
|
Posted: Thu Aug 16, 2007 11:57 am Post subject: [Login to view extended thread Info.] |
|
|
Thanks to the OP for this code
Just a few pointers that I have found whilst getting this to work...
If you are using 2 email accounts make sure you are using the 2nd code.
The 2nd code does have an error where you need to remove the end italics and end bold tags
If you are using 3 or more email accounts then use the 2nd code but copy and paste both the red sections of text again making sure you have removed the end tags in the 2nd red section. (the standard 2nd code works for 2 accounts so you will have to paste both red scrtions once for 3 email accounts, twice for 4 email accounts etc)
My Problem
It seems to be trying (and failing) to do a send and receive before it has entered the passwords. Once the passwords have been entered everything works fine.
Any ideas? |
|
| Back to top |
|
 |
PJS

Joined: Aug 27, 2007 Posts: 1
|
Posted: Mon Aug 27, 2007 2:29 pm Post subject: [Login to view extended thread Info.] |
|
|
I've seen most of the problems described above:
1. I have lots of e-mail accounts (8 in fact) so I want a reasonably general solution, so I go through the Tools -> Accounts -> View -> E-mail Accounts dialog box
2. My system tries to do a send/receive very quickly after startup, so I disable it immediately then re-enable it at the end
My script looks like the following - NB I'm a Novice AutoHotKey user so some parts may be naive.
Thanks to all above who have provided ideas.
| Code: |
SetTitleMatchMode, 2
IfWinExist, Microsoft Outlook,
{
WinActivate, Microsoft Outlook,
ExitApp
}
Run OUTLOOK.EXE
WinWaitActive, Microsoft Outlook,
IfWinNotActive, Microsoft Outlook, , WinActivate, Microsoft Outlook,
Send, !tvd
WinWaitActive, Microsoft Outlook,
IfWinNotActive, Microsoft Outlook, , WinActivate, Microsoft Outlook,
Send, !ta
WinWait, E-mail Accounts,
IfWinNotActive, E-mail Accounts, , WinActivate, E-mail Accounts,
WinWaitActive, E-mail Accounts,
Send, vn
Send, AccountName1!c{TAB}{TAB}{TAB}{TAB}{TAB}Password1!n
Send, AccountName2!c{TAB}{TAB}{TAB}{TAB}{TAB}Password2!n
etc. etc.
Send, AccountName8!c{TAB}{TAB}{TAB}{TAB}{TAB}Password8!n
Send, {ENTER}
Send, !tvd
Send, {F9}
ExitApp |
|
|
| Back to top |
|
 |
Andrew010766

Joined: Oct 13, 2007 Posts: 1
|
Posted: Sat Oct 13, 2007 8:29 am Post subject: Re: Outlook 2002 not retaining password in Vista Home Basic [Login to view extended thread Info.] |
|
|
| I saw your patch and it sounds great but how would this work is your outgoing server and password are differant than your incoming server and password? What script would work in this situation? |
|
| Back to top |
|
 |
neo314

Joined: Dec 08, 2007 Posts: 2
|
Posted: Sat Dec 08, 2007 6:04 pm Post subject: Outllok Exchange server [Login to view extended thread Info.] |
|
|
Everytime I start Outllook 2007, I have to enter my exchange username and password.
Any solution for entering that user name/password?
Please help. It's for the childeren.  |
|
| Back to top |
|
 |
neo314

Joined: Dec 08, 2007 Posts: 2
|
Posted: Sun Dec 09, 2007 2:36 pm Post subject: Re: Outllok Exchange server [Login to view extended thread Info.] |
|
|
Ok, I'll answer my own question. After learning a bit more about using AutoHotKey, here is the script I developed for exchange server login:
| Code: |
;Replace the following 3 values with your information
;the EXCHANGESERVERURL is the server that you are connecting to and appears in the
;dialogue box titlebar and may be cut short. You could remove this value and every instance
;of %exchsrvr%, but if another dialogue box appears which starts with
;Connect to, this script may try and run on that dialogue.
#SingleInstance force
exchsrvr=EXCHANGESERVERURL
uname=USERNAME
pword=PASSWORD
Run OUTLOOK.EXE
WinWaitActive, Connect to %exchsrvr%,
IfWinExist Connect to %exchsrvr%
{
ControlSetText, Edit2, %uname%, Connect to %exchsrvr%
ControlSetText, Edit3, %pword%, Connect to %exchsrvr%
ControlSend, Button2, {Enter}, Connect to %exchsrvr%
} |
I have also had some issues where Outlook crashes and restarts. The following script will stay running and reenter the password if the dialogue box pops up again. If Outlook crashes and restarts and the link to this script is your main link to outlook, just double click on it and when it asks if it should replace the running instance, say yes.
| Code: |
;Replace the following 3 values with your information
;the EXCHANGESERVERURL is the server that you are connecting to and appears in the
;dialogue box. You could remove this value and every instance
;of %exchsrvr%, but if another dialogue box appears which starts with
;Connect to, this script may try and run on that dialogue.
#SingleInstance force
exchsrvr=EXCHANGESERVERURL
uname=USERNAME
pword=PASSWORD
Process, wait, OUTLOOK.EXE, 2
If %ErrorLevel% = 0
{
Run OUTLOOK.EXE
Sleep, 5000
}
#Persistent
SetTimer, EnterAuth, 250
return
EnterAuth:
IfWinExist Connect to %exchsrvr%
{
ControlSetText, Edit2, %uname%, Connect to %exchsrvr%
ControlSetText, Edit3, %pword%, Connect to %exchsrvr%
ControlSend, Button2, {Enter}, Connect to %exchsrvr%
}
return |
I hope this helps someone.
Steven
 |
|
| Back to top |
|
 |
spod

Joined: Dec 17, 2007 Posts: 1
|
Posted: Mon Dec 17, 2007 7:25 am Post subject: changing / getting the outlook icon back [Login to view extended thread Info.] |
|
|
I've found a way for getting the outlook icon to replace the auto hot key one.
1. Move your outlookstart.ahk file from the desktop, say where your outlookstart.exe file is.
2. Create a shortcut of the outlookstart.ahk file and place this on the desktop.
3. Right click this shortcut and select properties, you'll see a change icon button, press this. Then browse for the file outlph.dll, select this and you will have the outlook icon albeit with a shortcut arrow on your desktop. You might want to remove the original from the desktop to avoid confusion as the original won't fix the password problem. You can also drag this to the quicklaunch bar and it will look completely normal.
The path to this file for me is: C:\Program Files\Microsoft Office\Office10\outlph.dll
Hope this help people who like things to look the same!
I also found I needed to add {tab} just before my password in the original script text otherwise it wouldn't work.
Cheers for the good thread. ........blimmin' vista, up all night! |
|
| Back to top |
|
 |
wingtong

Joined: Feb 12, 2008 Posts: 1
|
Posted: Tue Feb 12, 2008 2:11 pm Post subject: IMAP?? [Login to view extended thread Info.] |
|
|
| I've gotten POP to work fine. Thanks all. But has anyone tried using this on an IMAP account? I have had no luck with IMAP, any help would be appreciated. |
|
| Back to top |
|
 |
question222

Joined: Apr 29, 2008 Posts: 2
|
Posted: Tue Apr 29, 2008 5:47 pm Post subject: sending mail 505 error [Login to view extended thread Info.] |
|
|
when i try and send mail i get a 505 error, authentication failed,
i think this is because the "Remember my password" check box is not checked.
Question, how can i modify the script to tick the checkbox that is located below the password box?
thanks for your help. |
|
| Back to top |
|
 |
question222

Joined: Apr 29, 2008 Posts: 2
|
Posted: Wed Apr 30, 2008 8:16 pm Post subject: [Login to view extended thread Info.] |
|
|
| anyone? |
|
| Back to top |
|
 |
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |
|
|