pouyanz Posted January 22, 2016 Share Posted January 22, 2016 hey guys i watched some youtube videos for this but i couldnt find anything that can answer my question so i want to know i its possible to make a macro that can be triggered by pressing and holding "`" button on my key board then it start to input some keyboard and mouse keys if so what are the commands for keyboard and mouse keys? thank you Link to comment Share on other sites More sharing options...
water Posted January 22, 2016 Share Posted January 22, 2016 Welcome to AutoIt and the forum! To trigger a function please check HotKeySet in the help file. Send or ControlSend allow to send some data to th application, Mouse* functions might do the rest. If you can tell us which application you try to automate we can give further advise. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
pouyanz Posted January 22, 2016 Author Share Posted January 22, 2016 Just now, water said: Welcome to AutoIt and the forum! To trigger a function please check HotKeySet in the help file. Send or ControlSend allow to send some data to th application, Mouse* functions might do the rest. If you can tell us which application you try to automate we can give further advise. its a game client i want autoit to press "X / LMB / RMB / LMB / RMB / LMB / RMB / TAB / LMB / 4 / Z / S / S / TAB / 1 / Z / X / F " while holding "`" button,so i dont want it to go further if the "`" button is released is it doable? thank you in advance Link to comment Share on other sites More sharing options...
Developers Jos Posted January 22, 2016 Developers Share Posted January 22, 2016 @pouyanz, Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. (there is also a link link in my signature) Please read them now particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts