UO.press(key) key code?

Ask for help

Moderators: Murderator+, Murderator

Post Reply
fantasticpow
Posts: 6
Joined: 2008-07-25 07:57:51

UO.press(key) key code?

Post by fantasticpow »

I don't understand how to do this.

I'm trying to set a short cut key to run the script.

I went to to keycode, and set it to F4 and I got 115 for a number.

but what is the command script to put 115 at?

can you give me example?

What line in the script do you put the key code?
Kynep
Expert!
Posts: 1348
Joined: 2006-02-07 08:51:40
Location: г. Старый Оскол
Contact:

Re: UO.press(key) key code?

Post by Kynep »

fantasticpow wrote:I don't understand how to do this.
I'm trying to set a short cut key to run the script.
I went to to keycode, and set it to F4 and I got 115 for a number.
but what is the command script to put 115 at?
can you give me example?
What line in the script do you put the key code?


Khm... Im dont understand any word...
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

Он узнал номер клавиши и думает как на неё повесить хоткей.. насколько я понял... мде -)
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

1. You need go to "Hotkeys" tab
2. Set focus at "Hotkey" editbox
3. Push your key combination, you'll see it in editbox.
4. Type in "Command" editbox script (ex. exec heal, where 'heal' is your script name)
5. Push "Add new hotkey"
fantasticpow
Posts: 6
Joined: 2008-07-25 07:57:51

Post by fantasticpow »

awsome thank you, was having a hard time understanding lol

didn't realize it was that simple
Post Reply