Jump to content

problom with hot key


danusko
 Share

Recommended Posts

hi everybody,

pls. knows somebody, why in my script works the hotkey ^!{tab} only onec?

What i make wrong?

The other function works good.

can you help me.

thankeyou

my script:

---------------------------

$g_bSet = 0

HotKeySet("^!+p","MyFunc")

HotKeySet("^!{tab}","del")

HotKeySet("!{right}","stop")

While 1

Sleep(10)

WEnd

Func MyFunc()

$g_bSet = Not $g_bSet

if $g_bSet= "true" then

send("^{end}")

else

send("^{home}")

endif

EndFunc

func del()

HotKeySet("^!{tab}")

Send ( "{delete}" )

endfunc

func stop()

HotKeySet("!{right}")

exit

endfunc

Edited by danusko
Link to comment
Share on other sites

HotKeySet("^!{tab}")

HotKeySet ( "key" [, "function"] )

Parameters

key The key(s) to use as the hotkey. Same format as Send().

function [optional] The name of the function to call when the key is pressed. Leave blank to unset a previous hotkey.

Who else would I be?
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
 Share

  • Recently Browsing   0 members

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