Messages - JxFriday [ switch to compact view ]

Pages: [1] 2next
1
Finished Programs / Re: IDEA: Keyboard and/or Mouse Movement Simulator
« on: December 01, 2005, 09:26 AM »
Nice, it only tries to stuff a character once a minute, and when the stuffing routine is called, if the computer has been idle for less than a minute, no stuffing occurs.  I was thinking the same thing during my earlier troubleshooting (no sense stuffing if they are active and no problem with whatever you stuff if they aren't) but didn't know enough about AHK to do it.

As I mentioned above, with the random char range set to 97,122 the application I desire to keep active still goes to sleep, but if I change the range back to 65,90 it works fine.  I have not a clue why this would be, but I took your version 1.2 and tried it, and my application still went idle.  Then I made the single change of the random char range to 65,90 and now it works perfect.

If you decide to change the range to 65,90 and post a new version, I noticed that when you compiled 1.2 you didn't include your spiffy exclamation mark logo so the green H logo is used.  I extracted the logo out of the previous version and recompiled my own 1.2a with the new char range and the logo.

I think we might just be 100% good-to-go with this.

Thanks again for a great program!

2
Finished Programs / Re: IDEA: Keyboard and/or Mouse Movement Simulator
« on: December 01, 2005, 04:18 AM »
Just a follow up on the change of the char range - it doesn't seem to keep my intended application from going idle if I use the 97,122 range, so I went back to the original range -- kept the {Blind} of course -- and now it seems completely happy.

Thanks again!

3
Finished Programs / Re: IDEA: Keyboard and/or Mouse Movement Simulator
« on: December 01, 2005, 02:09 AM »
Do you want your donation returned?

Absolutely not!  Noise! is a great program.  You did the hard work - I just fixed a teenie little bug.  I wouldn't have had a clue where to even start!

By the way, I changed the random character range to:

Random,char,97,122

so that if I'm holding the shift key, Noise does upper case characters, and if not it does lower case.  With the {Blind} it really doesn't matter, but for whatever reason, it makes the programmer in me happy.

Thanks again!!!

4
Finished Programs / Re: IDEA: Keyboard and/or Mouse Movement Simulator
« on: December 01, 2005, 01:55 AM »
Nope, not a bug.  I just fixed it. 

Change this line:

ControlSend,Edit1,%char%,Noise!

to read like this:

ControlSend,Edit1,{Blind}%char%,Noise!

From the documentation:

When {Blind} is the first item in a Send or ControlSend, the program avoids releasing Alt/Control/Shift/Win if they started out in the down position. For example, the hotkey +s::Send {Blind}abc would send ABC rather than abc because the user is holding down the Shift key.

{Blind} also causes SetStoreCapslockMode to be ignored; that is, the state of Capslock is not changed. Finally, {Blind} omits the following behaviors: 1) prevention of Start Menu appearance during LWin/RWin keystrokes by "disguising" them with a Control keystroke; 2) prevention of menu bar activation during Alt keystrokes by "disguising" them with a Control keystroke.

Blind-mode is used internally when remapping a key. For example, a::b would produce b when you type a, uppercase B when you type A, and Control-B when you type Control-A.

{Blind} is not supported by SendRaw and ControlSendRaw.

Now it works flawlessly.  Thanks for the great program!

5
Finished Programs / Re: IDEA: Keyboard and/or Mouse Movement Simulator
« on: December 01, 2005, 12:05 AM »
I feel stupid - I didn't notice that you actually post the AHK source code on your page along with a link to download the AHK compiler.  I downloaded both and played with the code a little.

First I tried changing the random character ASCII range from 65-90 to 97-122 (a-z instead of A-Z).  This did not fix it.  Then I tried changing it to 32-32 (the space character which is shift-independent), but the problem still happens.

Changing the time between the characters was easy - I changed the SetTimer,MAKENOISE,9999 to SetTimer,MAKENOISE,60000 and that changed the interval to 1 minute.  I don't know what the maximum is, but I'll try 2700000 which should be 45 minutes.

I'll keep hacking on this, but it seems like it is an issue with how AHK stuffs keystrokes.  If I can find a W2K box to test on I'll see if this is limited to Windows XP or if it happens on other operating systems.

Pages: [1] 2next
Go to full version