Jump to content

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?

Link to comment
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

Link to comment
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...