SugarplumChum Posted October 20, 2017 Share Posted October 20, 2017 Basically want a macro that can respond from either KeyDown or KeyUp. Is this possible? I couldnt find anything about this. Link to comment Share on other sites More sharing options...
KickStarter15 Posted October 21, 2017 Share Posted October 21, 2017 Hi @SugarplumChum, Check in help file for "Send()" and "HotKeySet()" functions, that might help your problem. Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare. Link to comment Share on other sites More sharing options...
corgano Posted October 21, 2017 Share Posted October 21, 2017 In the helpfile for send https://www.autoitscript.com/autoit3/docs/functions/Send.htm IT describes being able to send("{k}{e}{y}{s}") by specifying the key inside {}'s. This also lets you send keys up/down explicitly send("{lctrl down}a{lctrl up}") This works for many other functions, like hotkeyset("{lctrl down}", "functionnamehere") 0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e Link to comment Share on other sites More sharing options...
Recommended Posts