topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday September 30, 2022, 4:34 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - JxFriday [ switch to compact view ]

Pages: [1]
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.

6
Finished Programs / Re: IDEA: Keyboard and/or Mouse Movement Simulator
« on: November 30, 2005, 11:33 PM »
Just pressing and holding the 'a' key in notepad did not replicate the issue.  Based on my hypothesis that the function of the shift key is what is being interfered with, I came up with a couple tests that do reliably replicate the issue 100% of the time.

Method #1 (simplest):
  • Open Notepad
  • Be sure Noise.exe is running
  • Hold down the shift key and hold any letter key - hold for at least 15 seconds - in 10 seconds or less your stream of capital letters will switch to lowercase.
  • Exit Noise.exe and repeat and you will notice that it does not happen.

Method #2 (slightly more complex):
  • Start with a big blocK of text in an editor of some sort (notepad, wordpad, etc.)
  • Be sure Noise.exe is running
  • Position your cursor at the beginning of the block of text
  • Hold down your shift key, and then (with the shift key still held), hold down your right arrow key (this will start highlighting the text).
  • Keep both keys held for at least 15 seconds.  In about 10 seconds or less you will notice that the highlighting stops and goes away as if you had released the shift key.
  • Exit Noise.exe and repeat and you will notice that it does not happen.

I note with some interest that the letters that are generated in the Noise! window are all capital letters.  Perhaps if they were lower case letters it would fix this?

For whatever benefit it may offer, this happens on two different systems I have tried it on - both of which are Windows XP Professional.  I have not tried to replicate the issue on any other operating system.

Hope this helps.

ThaNKs!

P.S.  Any inappropriate capitalization in the above post was due to the issue at hand, and was left in for purposes of illustration.

7
Finished Programs / Re: IDEA: Keyboard and/or Mouse Movement Simulator
« on: November 30, 2005, 11:01 AM »
I just donated to DonationCoder and Skrommel in appreciation for Noise.exe.  It's great.  It keeps my desired application from thinking the computer is idle perfectly!  I do have a minor problem in that if it is running while I'm actually using the computer, it causes some of my real keystrokes to be upper case here and there.  It would be great if the interval between simulated keystrokes could be changed to some other value.  Every 10 seconds is much faster than I need - for me, every 30 minutes would be fine.  If the delay were configurable then the occasional shifted character wouldn't be so bothersome.  I like to leave Noise running all the time so I don't forget to start it if I am away.  Thanks!!!

Pages: [1]