AutoHotkey Community

It is currently May 26th, 2012, 12:14 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: MsgBox with Email link
PostPosted: May 10th, 2005, 10:54 pm 
Offline

Joined: May 7th, 2005, 8:24 am
Posts: 26
Location: USA
I am trying to make a pop up box with my email link contained in it. Please assist. Is this easy to do, or should I just use a GUI box instead? Any help would be appreciated! Here is what I currently have:

^!`::
MsgBox, 4096, What is what...,If you have any further questions, comments or suggestions, please send them to John.Doe@unknown.com `n Thank you!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 10th, 2005, 11:57 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
I don't think you can make the text in the msgbox clickable (without switching to a gui) but you can change button names:
Code:
SetTimer, MsgBoxChange
MsgBox, 4164, Contact, You can contact me by email: somebody@something.com
IfMsgBox, Yes   ; Even though it's changed to 'OK' you'd use it's original ('yes')
   ExitApp   ;... or whatever
IfMsgBox, No
   Run, mailto:somebody@something.com


MsgBoxChange:
IfWinExist, Contact
{
   ControlSetText, &Yes, &OK, Contact
   ControlSetText, &No, E&mail Me, Contact
}
Return


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 11th, 2005, 1:38 am 
Offline

Joined: May 7th, 2005, 8:24 am
Posts: 26
Location: USA
That works great! To be honst, I didn't think of a second button. Thanks again!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 11th, 2005, 6:48 am 
Offline

Joined: April 19th, 2005, 10:26 am
Posts: 2249
Location: switzerland
very nice, can also add
Code:
mailto:david@xmail.tv?Body=Hello David &subject=Greetings


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: bbwht, Morpheus, oldbrother and 62 guests


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 post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group