Search found 7 matches

by Xupicor
29 Jun 2015, 23:17
Forum: General
Topic: run a macro file ( .vbs)
Replies: 3
Views: 3837

Re: run a macro file ( .vbs)

I don't know much about .vbs (Visual Basic scripts?) - but I think you'd need to run cscript or wscript instead of cmd.
by Xupicor
29 Jun 2015, 17:25
Forum: General
Topic: Syntax for Funtion keys and key combos?
Replies: 11
Views: 20643

Re: Syntax for Funtion keys and key combos?

Well, one way to do it might be on finding opening '(' you could check the I-1 modifier (+/%/^), loop till closing ')' and apply it to every element. Then commence with I+1 . That would mean we couldn't do %^+(AAA) to have "Ctrl+Alt+Shit+A Ctrl+Alt+Shit+A Ctrl+Alt+Shit+A", but we can't have that at ...
by Xupicor
29 Jun 2015, 16:47
Forum: Bug reports
Topic: Window position is not remembered
Replies: 3
Views: 4639

Re: Window position is not remembered

Well... Seems like I have to look through the sources more. I had no idea these functions exist. Thank you. :)
by Xupicor
29 Jun 2015, 07:52
Forum: General
Topic: Syntax for Funtion keys and key combos?
Replies: 11
Views: 20643

Re: Syntax for Funtion keys and key combos?

Thanks for the quick answer! Well, seems like it doesn't work as it should. In Help.rtf there's this: Surround sequences of characters or key names with parentheses in order to modify them as a group. For example, '+abc' shifts only 'a', while '+(abc)' shifts all three characters. - however, '+(aaa)...
by Xupicor
28 Jun 2015, 22:45
Forum: Bug reports
Topic: Window position is not remembered
Replies: 3
Views: 4639

Window position is not remembered

It's a small thing, since the GUI isn't by far the least important part of the program here, and LuaMacros could very well get away with being a command line only utility. ;) But it would be nice if the application remembered its last position on screen, and use it when it is launched... For me - on...
by Xupicor
28 Jun 2015, 22:33
Forum: General
Topic: Syntax for Funtion keys and key combos?
Replies: 11
Views: 20643

Re: Syntax for Funtion keys and key combos?

Well, have a look at https://github.com/me2d13/luamacros/blob/master/src/uSendKeys.pas Especially this: SendKeyRecs : array[1..MaxSendKeyRecs] of TSendKey = ( (Name:'BKSP'; VKey:VK_BACK), (Name:'BS'; VKey:VK_BACK), (Name:'BACKSPACE'; VKey:VK_BACK), (Name:'BREAK'; VKey:VK_CANCEL), (Name:'CAPSLOCK'; V...
by Xupicor
27 Jun 2015, 14:58
Forum: HowTos
Topic: Quick start
Replies: 5
Views: 17692

Re: Quick start

So your sample works fine, while my simple script doesn't: clear() lmc_device_set_name('KB', '2BA672CB') lmc_print_devices() lmc_set_handler('KB', 2, 0, function(button, direction) print('callback for whole keyboard: ' .. button .. ', direction: ' .. direction) end) All I get is this: <unassigned> :...