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: 735
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

everett
Posts: 1
Joined: 03 Jul 2019, 09:58

Re: Adobe Illustrator not supported?

Post by everett » 03 Jul 2019, 09:58

mst wrote:
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
Got it!
For sure I love the vuelta espana 2019 route. But that is only my game. Soon I'll learn more about it. Now I don't know much.

Post Reply