BrettF Posted January 13, 2007 Posted January 13, 2007 Is there a way i can open JUST the defult mail client, not a new message? I know its in the registry but where?? Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Zedna Posted January 13, 2007 Posted January 13, 2007 Is there a way i can open JUST the defult mail client, not a new message? I know its in the registry but where?? Run(@ComSpec & " /c " & 'start mailto:author@somewhere.com?subject=Something', "", @SW_HIDE) Resources UDF ResourcesEx UDF AutoIt Forum Search
BrettF Posted January 14, 2007 Author Posted January 14, 2007 Run(@ComSpec & " /c " & 'start mailto:author@somewhere.com?subject=Something', "", @SW_HIDE) No, No, No. Maybe I should reword. I want to open the defult mail program. Like say when you go 'Mail' then 'read mail' in IE. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Zedna Posted January 14, 2007 Posted January 14, 2007 No, No, No. Maybe I should reword.I want to open the defult mail program. Like say when you go 'Mail' then 'read mail' in IE.Sorry. You needn't reword.I must read more carefully next time But this I don't know.Maybe try to search in registry name of EXE file of your email client... Resources UDF ResourcesEx UDF AutoIt Forum Search
BrettF Posted January 14, 2007 Author Posted January 14, 2007 Tried... From what this page says:http://jelle.druyts.net/2004/08/25/Launchi...lientInNET.aspxIts something like:HKLM\SOFTWARE\Clients\MailI had terrible trouble understanding the page though Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
BrettF Posted January 14, 2007 Author Posted January 14, 2007 I DID IT!!! I'll post it as a UDF Later... YAY!!! Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
FuryCell Posted January 14, 2007 Posted January 14, 2007 I DID IT!!! I'll post it as a UDF Later... YAY!!!Nice Job. I'm sure the UDF will be handy to quite a few people. HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
BrettF Posted January 14, 2007 Author Posted January 14, 2007 Nice Job. I'm sure the UDF will be handy to quite a few people.Its up there now. I tinkered with what Jelle Druyts did. (Much Shorter of course ) Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Zedna Posted January 14, 2007 Posted January 14, 2007 Here is appropriate code for your UDF: Func OpenMailClient() $client_name = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail", "") $client_exe = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\" & $client_name & "\shell\open\command", "") Run($client_exe) EndFunc Resources UDF ResourcesEx UDF AutoIt Forum Search
BrettF Posted January 14, 2007 Author Posted January 14, 2007 (edited) Thanks, Already worked that out 30mins ago. EDIT: That sounds too harsh and rude. Really Zedna, thankyou. In the end we both got the same result. Edited January 14, 2007 by bert Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now