Thread: AutoHotKey Help

Results 1 to 4 of 4
  1. #1
    shinyjijo's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    409
    My Mood
    Relaxed

    Question AutoHotKey Help

    Hey guys,
    After a few weeks of using hacks from this lovely website I feel like I need to give something back to the community. (Also, my favorite hacks are currently patched.)
    Anyway, after catching this whiff of inspiration, I felt like making an AutoHotKey script that would allow me to quickscope and silent shot with my beast MSR. And of course, I have straight away ran into problems. This is my script so far:
    Code:
    Click Left::
    Send {CLickDownRight}
    Send {ClickLeft}
    Send {ClcikUpRight}
    So here is my problem(s):
    1. The script seems to automatically run the first line so the that the script just exits when completed, but if i keep my mouse over the script icon it keeps replaying itself over and over. I want it to go to the task bar.
    2. I don't know how to add some sort of sleep command. (For example, a VB script uses Sleep500 to sleep for 500 milliseconds.)
    Any help would be kindly appreciated.
    Thanks.

  2. #2
    C4P's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    34
    Reputation
    10
    Thanks
    2
    My Mood
    Happy
    1. You need a loop (if i understood your question correctly)
    2. For that, google is your best friend How to set delay in vbscript - Stack Overflow

  3. #3
    shinyjijo's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    409
    My Mood
    Relaxed
    I don't think a loop is what I need. What I wanted to happen was when you started the script it would go to the task bar and when you pressed left mouse it would preform my quick scope. The other thing is that I am not coding this in VBsript, unless that delay would also work in AutoHotKey.

  4. #4
    shinyjijo's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    409
    My Mood
    Relaxed
    *UPDATE* Thanks to the power of the internet I have found my errors. Instead of Mouse right I should have been using RButton and sleep is done Sleep 500 (for 500 milliseconds.) You may now close this thread and make it solved admins.

Similar Threads

  1. [Help Request] Combat arms Vid help
    By djw111 in forum Combat Arms Help
    Replies: 4
    Last Post: 12-24-2011, 06:06 PM
  2. AutoHotKey Help!
    By tehsprayer in forum Call of Duty Modern Warfare 3 Help
    Replies: 1
    Last Post: 12-05-2011, 04:34 PM
  3. [Help Request] AFK Bot [help]
    By fet in forum Combat Arms Help
    Replies: 7
    Last Post: 04-28-2011, 04:17 AM
  4. [Help Request] Ajuda / Help
    By - Battery' in forum Combat Arms BR Coding Help
    Replies: 3
    Last Post: 04-22-2011, 08:15 PM
  5. [Help Request] Help my!
    By Windowns7 in forum Combat Arms BR Coding Help
    Replies: 2
    Last Post: 04-18-2011, 02:41 PM

Tags for this Thread