Jump to content

hotkey


erikson
 Share

Recommended Posts

hi

i whant to make a script to make some keyboard gesture.

is something like this

HotKeySet ("9", "keys")

func keys ()

Send ({Enter} {enter} {enter} {tab} {F5} {tab} {up} {enter} {up} {enter} {down} {enter} )

EndFunc

well it tont works, and i search the help file and the forum but i find nothing

LE:

i try this

HotKeySet ("9", "miscarea")

func miscarea ()

Send ("{ENTER}")

Send ("{DOWN}")

Send ("{ENTER}")

send ("{DOWN}")

Send ("{enter}")

SEND ("{tab}")

Send ("{F5}")

Send ("{tab}")

Send ("{up}")

Send ("{enter}" )

Send ("{up}")

Send ("{enter}")

Send ("{down}")

Send ("{enter} ")

EndFunc

also no result :whistle:

Edited by erikson
Link to comment
Share on other sites

hi

i whant to make a script to make some keyboard gesture.

is something like this

HotKeySet ("9", "keys")

func keys ()

Send ({Enter} {enter} {enter} {tab} {F5} {tab} {up} {enter} {up} {enter} {down} {enter} )

EndFunc

well it tont works, and i search the help file and the forum but i find nothing

of course, add the quotes:

Send ("{Enter} {enter} {enter} {tab} {F5} {tab} {up} {enter} {up} {enter} {down} {enter}" )

Link to comment
Share on other sites

of course, add the quotes:

The problem was from a sleep time that i forgot to put

HotKeySet ("9", "miscarea")

Sleep (10000000)

func miscarea ()

Send ("{ENTER}")

sleep (100)

Send ("{DOWN}")

sleep (100)

Send ("{ENTER}")

sleep (100)

sleep (100)

SEND ("{tab}")

sleep (100)

Send ("{F5}")

sleep (100)

Send ("{ENTER}")

SLEEP (100)

Send ("{tab}")

sleep (100)

sleep (100)

Send ("{enter}" )

sleep (100)

Send ("{up}")

sleep (100)

Send ("{enter}")

sleep (100)

Send ("{down}")

sleep (100)

EndFunc

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...