AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MsgBox with Email link

 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
MisterGank



Joined: 07 May 2005
Posts: 26
Location: USA

PostPosted: Tue May 10, 2005 9:54 pm    Post subject: MsgBox with Email link Reply with quote

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!
Back to top
View user's profile Send private message Visit poster's website
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Tue May 10, 2005 10:57 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MisterGank



Joined: 07 May 2005
Posts: 26
Location: USA

PostPosted: Wed May 11, 2005 12:38 am    Post subject: Reply with quote

That works great! To be honst, I didn't think of a second button. Thanks again!
Back to top
View user's profile Send private message Visit poster's website
garry



Joined: 19 Apr 2005
Posts: 2212
Location: switzerland

PostPosted: Wed May 11, 2005 5:48 am    Post subject: Reply with quote

very nice, can also add
Code:
mailto:david@xmail.tv?Body=Hello David &subject=Greetings
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group