How do I get a mIRC popup to emulate a key being pressed.
 
Post new topic   Reply to topic    Hawkee.com Forum Index -> mIRC Scripting
 
joshschooley444  -  Thu Feb 18, 2010 3:50 pm Reply with quote
How do I get a mIRC popup to emulate a key being pressed. Say I want the script to perform the same function as ctrl+j. How would I do such a thing?
Menu channel {
Stuff
.Slap:<this is what I want to perform the ctrl+j function>
}
Obviously the purpose for the script has been changed but its fundamentaly the same...Just need to get it to perform a ctrl+J Key combo.
RusselB  -  Thu Feb 18, 2010 7:27 pm Reply with quote
The only way that I can think of, is to use a 3rd party DLL called SendKeys.dll

As I don't use it, I can only refer to what others have said about it,
joshschooley444  -  Fri Feb 19, 2010 1:38 pm Reply with quote
Thank you RusselB, your idea worked like a charm thanks.
Display posts from previous:   
Post new topic   Reply to topic    Hawkee.com Forum Index -> mIRC Scripting All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.