pouyanz

can i make a macro for this?

4 posts in this topic

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

Share this post


Link to post
Share on other sites



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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

@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. :naughty:

See you soon with a legitimate question I hope. :)

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.