Jump to content
Sign in to follow this  

HotKeySet() & GUICtrlEDIT 2 problems

Recommended Posts


How to define a hotkey and let it send different contents everytime you press it?


1st time you press {F8},it send("{1}");

2nd time you press {F8},it send("{2}");


100 times you press {F8},it send("{100}")


$tring="this is a book"

1st time you press {F8},clipput(stringleft($string,4));

2nd time you press {F8},clipput(stringmid($string,4,8));

3rd time you press {F8},clipput(stringfight($string,5));


BTW,How to make GUIctrlEDIT auto change lines in it,i.e.let it has a V-scrollbar and hasn't a H-scrollbar?

Share this post

Link to post
Share on other sites

Sumthing like this work?





\/ Hotkey action



case $AmmountOfKeyPress=0

;execute code 1


case $AmmountOfKeyPress=1

;execute code 2


case $AmmountOfKeyPress=2

;execute code 3



Edited by Psibernetic

[sup]Psibernetic[/sup]My Creations:X-HideSecuracy

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.