| Author |
Message |
Forum: Scripts Topic: Not another autoclicker?!? |
| David |
|
Posted: December 15th, 2007, 1:30 am
|
|
Replies: 0 Views: 2573
|
| Nothing fancy here, just wanted to share something simple I wrote for my own use, to keep the callous on my index finger from getting any bigger. ; AutoMouseClick.ahk ; Automatically clicks (double-clicks w/Shift down) left mouse button ; every x seconds unless Ctrl down or mouse hasn't move... |
|
 |
Forum: Scripts Topic: Generating unique random integers |
| David |
|
Posted: November 23rd, 2006, 1:28 am
|
|
Replies: 86 Views: 19629
|
| In your second point, you are correct -- a large array is required to hold a large candidate pool although with RAM sizes today, this may or not be an issue. The uniqueness of r isn't an issue since even a constantly-repeating value of r will generate unique values from x(). |
|
 |
Forum: Scripts Topic: Generating unique random integers |
| David |
|
Posted: November 18th, 2006, 10:54 pm
|
|
Replies: 86 Views: 19629
|
| Great discussion of the sample-with-replacement problem. To sample without replacement, which eliminates the issue of duplicates: Fill an n-element array with candidates (e.g., x(i)=i for i=1..n) and set m equal to the number of pseudo-random numbers you need from the array (m<=n). In a loop, select... |
|
 |
Forum: Support Topic: Removing 320MPH shell integration |
| David |
|
Posted: August 10th, 2006, 3:01 am
|
|
Replies: 2 Views: 573
|
| I've deleted the .EXE, .AHK, and .INI files but "320MPH" remains in my right-click menus. How do I remove them? |
|
 |
Forum: Scripts Topic: Open non-clickable URL in Firefox |
| David |
|
Posted: May 6th, 2006, 3:28 pm
|
|
Replies: 4 Views: 3737
|
| Once in a while a Web page will display a URL in plain text. To open it you have to retype it or copy-and-paste to the address bar. With this hotkey, highlight the URL, press Win-O. and it opens in a new tab. (It's specifically for Firefox because '^t' opens a new tab and places the cursor in the ad... |
|
 |
Forum: Scripts Topic: Multi-Window Browser |
| David |
|
Posted: March 22nd, 2006, 3:32 pm
|
|
Replies: 2 Views: 1585
|
|
 |
Forum: Scripts Topic: Multi-Window Browser |
| David |
|
Posted: March 21st, 2006, 4:03 am
|
|
Replies: 2 Views: 1585
|
| A short program that creates and runs an HTM file displaying your favorite sites, with each site in a separate full-window iframe. Your sites are found in mwb.dat, one line per site, with each line containing a title, a comma (with no following space), and the URL. Lots of room for improvement but i... |
|
 |
Forum: Scripts Topic: Favorite Folders popup menu that you can change on the fly. |
| David |
|
Posted: November 28th, 2004, 6:30 pm
|
|
Replies: 4 Views: 10268
|
| sleepyy35, you'll need to remove the CR/LFs caused by the BBS's word wrap. For example, this command, displayed on three lines, should be on one line: Code: FileAppend, # You can hand edit this file if you follow these simple rules.`n ,
%f_FavoritesFile%
There are about 4-5 instances of this. |
|
 |
Forum: Support Topic: Loop until button pressed? |
| David |
|
Posted: November 28th, 2004, 6:21 pm
|
|
Replies: 1 Views: 625
|
| Although I've never tried it, there's a technique described in the FAQ that might apply: "How can a repeating action be stopped without exiting the script?". |
|
 |
Forum: Support Topic: WinMove |
| David |
|
Posted: October 8th, 2004, 11:31 pm
|
|
Replies: 4 Views: 1180
|
| This code should open four Explorer windows, each pointing to C:\, and tile them. What it does is open one window and move it around the screen. However, if each of the Run, explorer.exe statements points to a different drive (e.g., explorer.exe C:\, explorer.exe U:\, explorer.exe V:\, explorer.exe ... |
|
 |
Forum: Support Topic: Newbie question |
| David |
|
Posted: September 24th, 2004, 5:14 pm
|
|
Replies: 7 Views: 979
|
|
 |
Forum: Support Topic: Newbie question |
| David |
|
Posted: September 24th, 2004, 4:33 pm
|
|
Replies: 7 Views: 979
|
Maybe something like this (in pseudo-AHK code)?
1. Open Notepad
2. Paste (Ctrl-V)
3. Go to top (Ctrl-Home)
4. Shift-Down-Down (to select the first two lines)
5. Del
6. Select all (Ctrl-A)
7. Copy (Ctrl-C)
8. Close Notepad without saving (Alt-F, X, N) |
|
 |
Forum: Offtopic Topic: Gmail invitation |
| David |
|
Posted: September 10th, 2004, 2:43 am
|
|
Replies: 29 Views: 4621
|
| I have an extra Gmail invitation that anyone who wants it can have. |
|
 |
Forum: Scripts Topic: Progress bar example |
| David |
|
Posted: September 9th, 2004, 10:11 pm
|
|
Replies: 2 Views: 2759
|
| I hadn't seen many examples of the Progress command so I worked through a silly example in case I need to use Progress in the future. All this example does is display the names of all the files in the C:\windows\system32\ directory. Any and all suggestions for improvement are welcome. #+^z:: ; count... |
|
 |
Forum: Support Topic: SetKeyDelay+ |
| David |
|
Posted: September 6th, 2004, 9:12 pm
|
|
Replies: 1 Views: 664
|
| This hotkey displays the age of the current Web page. Can anyone give me a clue as to why this code stops working if the SetKeyDelay command is uncommented? +^d:: ;SetKeyDelay, -1 Send, !FOjavascript:alert('Page was last modified\n'{+}window.document.lastModified);{ENTER}... |
|
 |
| Sort by: |