Adobe Illustrator not supported?

Report any bugs or suspicious behaviour here
Post Reply
mst
Posts: 5
Joined: 29 Oct 2016, 12:01

Adobe Illustrator not supported?

Post by mst » 10 Nov 2016, 14:26

Hello,

I try to send shortcuts to my Adobe Illustrator CS2 application, but there is no result?!

The lua-code works well with the other applications like photoshop, artrage, ... , but the Illustrator does not react to any lmc_send_keys command for example like the undo command

Code: Select all

elseif (button ==  32) then lmc_send_keys('^(z)')
Is this a bug or I am making something wrong?

admin
Site Admin
Posts: 535
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: Adobe Illustrator not supported?

Post by admin » 10 Nov 2016, 21:12

Neither bug nor something wrong from your side.
Simply there are applications that detect key presses "directly" and not through windows event queue.
In those applications sending keys through lua/hidmacros won't work.
Maybe there are other ways (you can e.g. try send macros from auto hot key) but luamacros use just simple way with windows queue.
Petr Medek
LUAmacros author

mst
Posts: 5
Joined: 29 Oct 2016, 12:01

Re: Adobe Illustrator not supported?

Post by mst » 11 Nov 2016, 21:09

You are a genius, very competent answer!

AutoHotKey exe files integrated into Lua Macros solves all my problems!

Thank you, unimagined possibilities :!:

Example for "selecting all":

LuaMacros:

Code: Select all

elseif (button ==  51) then lmc_spawn("C:\\m1.exe")
AutoHotKey:

Code: Select all

Send ^a

locadia
Posts: 1
Joined: 22 Sep 2018, 16:54

Re: Adobe Illustrator not supported?

Post by locadia » 22 Sep 2018, 16:56

It's clear to me now. Thanks, mst!
I have to play it, I need nothing else right now. I'm a having a lot of fun there, I just need
grand national club odds and tips. Every man can read about it there. This is pretty awesome, huh?

Post Reply