strange hotstring behavior
Posted 17 August 2012 - 09:43 PM
these hotstrings have always worked perfectly. They erase the triggering string and replace it with the text without an ending character. Now, however, they all are doing the same strange thing. They type type all but the last characters of the triggering string and then erase the final characters of the replacement text, like this:
now produces this result:
What in the world is going on! - help
Posted 17 August 2012 - 11:32 PM
First question: what changed ? New computer ? New version of AHk?
question two: are you trying to use something on a remote computer ?
third question: have you tried closing all running ahk scripts and opening just this one ?
question four: have you tried rebooting your computer?
Posted 18 August 2012 - 05:13 PM
First of all, I'm running the same version of autohotkey that I've always had and the same computer. I am only running one script and I have tried rebooting. The one thing that has been different since the hotstrings have been malfunctioning is that my computer was controlled remotely by a technician who was setting up our local network. We added a new computer and the AHK script doesn't return correct hotstrings on that computer either. I hope this helps. I really don't understand it.
Posted 18 August 2012 - 07:33 PM
I'm not sure how that might affect your computer's operation.
We added a new computer
The way AHk works for me is to use hotkeys and hotstrings on my local computer,
with the script running on my local computer.
Are you using Ahk in this same manner?
or are you trying to use it with a remote computer ?
At times I need to "log in" to a remote computer to edit files.
I have found that there is somewhat of a delay before keys, click and mousemoves are recognized.
I haven't tried, but don't think AHk would do well in this type of setup.
I've heard of systems where the local computer is primarily an interface,
All programs and data are "servered" from a main system that stores the applications and/or the data.
Is it possible that your system is something like this ?
Can you mak a copy of your original script and modify the hotstrings by removing the *
(so that an ending charcter is required) ?
Make sure only the modified version of the script is running and see what results you get.
Posted 18 August 2012 - 08:47 PM
result after typing the hot and an ending character:
From the above, it looks like the B option is turned off ,but I also explicitly turned it on and it gave the same results.
Posted 18 August 2012 - 09:05 PM
Other hotkey programs?
What if you write a new script (close all others) with just this:
::btw::by the way
Posted 18 August 2012 - 10:59 PM
::btw::by the way
here is what I get when I type the triggering string and follow it with a line feed: btwby the w
I just don't get it. they have always worked great before.
Posted 18 August 2012 - 11:16 PM
What version of AHk are you using?
Do you compile the script of just run the *.ahk version?
clipboard = version is %A_AhkVersion% msgbox version is %A_AhkVersion%
Based in the effort and tests done, it seems like it is time to go back to the technician and ask "what did you do?"
Posted 19 August 2012 - 05:59 AM
If all else fails, you could try to use Clip() to simply paste texts instead of sending them (you will retain your current clipboard) <!-- m -->http://www.autohotke....html#clipboard<!-- m -->