Script Only Works Sometimes?

Get help with using AutoHotkey and its commands and hotkeys
The Old Lie
Posts: 14
Joined: 17 Jul 2017, 12:40

Script Only Works Sometimes?

17 Jul 2017, 12:49

Hi all,

I have a script that works a solid 50% of the time. It's super basic, designed to create and name a new script as I go through the tutorial (I'm a new but avid user). Here's the script:

Code: [Select all] [Download] GeSHi © Codebox Plus

^NumpadEnter::
send,
(
{RButton}{up 2}{right}{down 3}
@Work{space}
)
Return


All I'm trying to do is name each new script "@Work #" (the number is what I intend to manually enter). However, I keep running into this problem: it often skips the '@' symbol. I've tried a few different things, and as far as I can figure, it's just dumb chance whether or not it comes out "@Work " or "Work". Sometimes it also skips the 'W', although this is rarer.

Help out a new user, please! I need to know if I'm doing something wrong, before I launch into more scripts.
User avatar
boiler
Posts: 1756
Joined: 21 Dec 2014, 02:44

Re: Script Only Works Sometimes?

17 Jul 2017, 14:46

Instead of sending it all at once, break it up where it gets hung up and put something like "Sleep, 50" in between.
Guest

Re: Script Only Works Sometimes?

17 Jul 2017, 15:03

boiler wrote:Instead of sending it all at once, break it up where it gets hung up and put something like "Sleep, 50" in between.


Wow, thanks! It works great. I feel so silly, it was such a simple solution.

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], rdllngr, Strkzs and 32 guests