Log in

View Full Version : Howto shift to chane bars?



zutto
02-11-2009, 12:03 PM
yeah

<Hotkey ScrollLockOn shift 0-9, A-Z, F1-F12, space, Oem5 except W, A, S, D, Q, E, M, L, P, I>

does work somehow but then again anything else than shift <number> doesnt work >_<

yes i dont get that language.. if it was more c++ like i would get it as of i code myself and that language functions look odd >_< no endfunction makes me cry

Owltoid
02-11-2009, 12:38 PM
yeah

<Hotkey ScrollLockOn shift 0-9, A-Z, F1-F12, space, Oem5 except W, A, S, D, Q, E, M, L, P, I>

does work somehow but then again anything else than shift <number> doesnt work >_<

yes i dont get that language.. if it was more c++ like i would get it as of i code myself and that language functions look odd >_< no endfunction makes me cry

Can you rephrase your question, please? I don't understand what you're trying to ask.

olipcs
02-11-2009, 12:40 PM
Simplest way to get shift, alt, ctl.. working is defining a <KeyList> ('http://hotkeynet.com/ref/keylist.html') first, with all the keys, like:


<Keylist myList 0-9, A-Z, F1-F12, space, Oem5 except W, A, S, D, Q, E, M, L, P, I>


and then creating a hotkey for them, which incorporates the shift, alt, ctr versions, like:


<Hotkey MyList; Shift MyList; Alt MyList; Ctrl MyList>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>

zutto
02-11-2009, 12:49 PM
yeah

<Hotkey ScrollLockOn shift 0-9, A-Z, F1-F12, space, Oem5 except W, A, S, D, Q, E, M, L, P, I>

does work somehow but then again anything else than shift <number> doesnt work >_<

yes i dont get that language.. if it was more c++ like i would get it as of i code myself and that language functions look odd >_< no endfunction makes me cry

Can you rephrase your question, please? I don't understand what you're trying to ask.by reading topic name you maybe would :P
Simplest way to get shift, alt, ctl.. working is defining a <KeyList> ('http://hotkeynet.com/ref/keylist.html') first, with all the keys, like:


<Keylist myList 0-9, A-Z, F1-F12, space, Oem5 except W, A, S, D, Q, E, M, L, P, I>


and then creating a hotkey for them, which incorporates the shift, alt, ctr versions, like:


<Hotkey MyList; Shift MyList; Alt MyList; Ctrl MyList>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>
threw ScrollLockOn to <Hotkey MyList; Shift MyList; Alt MyList; Ctrl MyList> and it worked..

thanks..

Owltoid
02-11-2009, 12:54 PM
by reading topic name you maybe would :P

You're correct. How could I possibly be confused by:


Howto shift <numbre> to chane bars?

Freddie
02-11-2009, 01:46 PM
yes i dont get that language.. if it was more c++ like i would get it as of i code myself and that language functions look odd >_< no endfunction makes me cry
I don't like HotkeyNet's script language either. I designed it without end-of-block markers to make it easy for non-programmers. Now that the language is finished, I don't like the result. If HotkeyNet 2.0 happens, the new script language will be more like C.

As for crying, each programming language has its own syntax and some of them are very different from others. Part of being a programmer is having the mental flexibility to learn more than one.

Freddie
02-11-2009, 08:54 PM
One of the annoying things about the script language is that every statement has to be put inside <> angles. I didn't design the language this way on purpose. It's designed this way because originally, literal text was left outside angles. With that early version of the program, angles distinguished literals from function calls. At a later stage in the beta I added the <Text> command so literals moved inside angles. At that point it would have made sense to remove angles from the script language, but by that time there were so many users that I didn't want to make the change because it would have broken too many scripts.