Search found 567 matches

by admin
15 Feb 2019, 08:55
Forum: HOW-TOs and documentation
Topic: Script to make a program/browser preferably run if not opened yet, if its opened then it brings it forward/maximizes it.
Replies: 2
Views: 23

Re: Script to make a program/browser preferably run if not opened yet, if its opened then it brings it forward/maximizes

So the question is if this is possible using VB sciprt and I don't know the answer. I'm not that experienced with Microsoft scripting technologies.
I would say that opening site should be possible and that "already opened check" is not, but just guessing.
by admin
12 Feb 2019, 09:02
Forum: General
Topic: Compile a script to .exe / or use with another app
Replies: 1
Views: 24

Re: Compile a script to .exe / or use with another app

Hello

Currently not possible and not planned.
by admin
06 Feb 2019, 11:07
Forum: General
Topic: Assign a keyboard in the start of the script
Replies: 3
Views: 60

Re: Assign a keyboard in the start of the script

That alphanumeric mush is exactly what is returned by Windows, you can take any part of the string that uniquely identifies the keyboard and pass it to lmc_device_set_name. The feature you requested is already there and you guessed the function name right :-), see https://github.com/me2d13/luamacros...
by admin
06 Feb 2019, 11:00
Forum: General
Topic: Unicode support?
Replies: 4
Views: 47

Re: Unicode support?

I don't see (technically) solution how to "paste" or "inject" text to some application.

And no, I don't plan to investigate possibilities and extend luamacros with this functionality.
by admin
05 Feb 2019, 21:06
Forum: General
Topic: Assign a keyboard in the start of the script
Replies: 3
Views: 60

Re: Assign a keyboard in the start of the script

Assigning keyboard (fixed) name is decribed in how-to section of this forum - see http://www.hidmacros.eu/forum/viewtopic.php?f=12&t=248 These days I'm improving wiki pages at github and device names is one of the topics that will show up soon. Yesterday I added page about keyboard triggers - see ht...
by admin
05 Feb 2019, 21:03
Forum: General
Topic: Unicode support?
Replies: 4
Views: 47

Re: Unicode support?

Yes, lmc_send_keys implementation is quite old and has bugs. If you need more control use lmc_send_input (http://www.hidmacros.eu/forum/viewtopic.php?f=12&t=475) which is more complicated to use (more code is required) but has more features and should support unicode. I don't plan to extend lmc_send...
by admin
03 Feb 2019, 23:22
Forum: General
Topic: Announcments
Replies: 7
Views: 95748

Re: Announcments

Version 0.1.1.92
Timers, timers...

Code: Select all

lmc_set_timer(1000, function(ts)
  print('After one second')
end)
See wiki page for details

Download link is still the same.

Enjoy
by admin
02 Feb 2019, 21:17
Forum: HOW-TOs and documentation
Topic: Example script for OBS with usb keypad (homemade streamdeck)
Replies: 7
Views: 2771

Re: Example script for OBS with usb keypad (homemade streamdeck)

Person who you asked for help wrote some software and stated you need to know lua to use it. It's not enough to combine some scripts if you don't understand what they are doing. To your problem: what about removing the direction condition from the begging and use something like if (button == 86 and ...
by admin
30 Jan 2019, 08:59
Forum: General
Topic: Keyboards
Replies: 1
Views: 48

Re: Keyboards

yes
by admin
28 Jan 2019, 14:08
Forum: General
Topic: detecting "Double-click" vs "single click" from numpad
Replies: 4
Views: 61

Re: detecting "Double-click" vs "single click" from numpad

Hmm if you need some action also on single click (and different on double click) then it currently not possible with luamacros :-(. In this case you would really need to start timer on first click and on timer "alarm" perform action for single click if send press hasn't arrived. You can log timers a...