Search found 120 matches

by jackdunning
24 Nov 2020, 08:04
Forum: Scripts and Functions
Topic: ComputorEdge AutoHotkey Scripts and Useful Utility Downloads
Replies: 26
Views: 12596

Temporary Single-key Hotkeys for Multipaste.ahk Script

I changed the MultiPaste.ahk script by adding single-digit Hotkeys only active when the MsgBox opens. Each key inserts the individual text parsed from a selected section. https://jacksautohotkeyblog.files.wordpress.com/2020/10/multipastehotkeys.png Hotkeys deactivate upon closing the window. Discuss...
by jackdunning
08 Oct 2020, 15:25
Forum: Scripts and Functions
Topic: ComputorEdge AutoHotkey Scripts and Useful Utility Downloads
Replies: 26
Views: 12596

Multi-Leg On-Screen Measurements

I've added a multi-leg capability to MouseMeasureMultiLine.ahk for capturing distances around the corner. Plus, insert calcualted leg distances in any document or edit field using temporary Hotkeys. https://jacksautohotkeyblog.files.wordpress.com/2020/09/mousemeasuremapmultiline.png For more informa...
by jackdunning
05 Sep 2020, 16:49
Forum: Scripts and Functions
Topic: ComputorEdge AutoHotkey Scripts and Useful Utility Downloads
Replies: 26
Views: 12596

On Screen Ruler Using GDIPlus Graphics

I've updated the MouseMeasure.ahk script to use GDIPlus Graphics. The graphics are much smoother. I discuss the GDIPlus functions ( Hellbent 's version ) in " How to Draw Lines with AutoHotkey Using Windows GDIPlus Graphics " https://jacksautohotkeyblog.files.wordpress.com/2020/08/mousemeasuremaplin...
by jackdunning
09 Aug 2020, 06:12
Forum: Scripts and Functions
Topic: ComputorEdge AutoHotkey Scripts and Useful Utility Downloads
Replies: 26
Views: 12596

Measuring Distances on Your Computer Screen—MouseMeasure Onscreen Ruler

I've added a new sample script for measuring distances on your computer screen: MouseMeasure.ahk . The MouseMeasure.ahk script uses the mouse to calculate a calibrated distance between two points on the computer monitor. To Calibrate Range: Locate mouse cursor at start point — CTRL+LButton and hold....
by jackdunning
04 Aug 2020, 10:41
Forum: Ask For Help
Topic: Making a ruler and other measuring device. Topic is solved
Replies: 13
Views: 5306

Re: Making a ruler and other measuring device. Topic is solved

I suspect that learning how to use Arrays is the secret to your solution. You can then save an unlimited number of data points, make the needed calculations, and use ControlSend (or one of the similar commands) to insert the calculated text statements directly into a document. That will allow you th...
by jackdunning
03 Aug 2020, 18:34
Forum: Ask For Help
Topic: Making a ruler and other measuring device. Topic is solved
Replies: 13
Views: 5306

Re: Making a ruler and other measuring device. Topic is solved

Hi Jack, This worked beautifully. I tried to modify the code so that I could get two positions and hopefully get the clipboard to output at the end. This measures 45 x 23 cm. Or this measures 44 x 33 x 22 cm. How would I go about adding more dimensions to make a final sentense. Two would be great b...
by jackdunning
01 Aug 2020, 17:36
Forum: Ask For Help
Topic: Making a ruler and other measuring device. Topic is solved
Replies: 13
Views: 5306

Re: Making a ruler and other measuring device. Topic is solved

I was intrigued by the problem so I decided to use colt's code to add calibration: ; core code provided by colt: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=78930&hilit=ruler Pixels := 96 NumUnits := 1 Units := Inches Gui, +ToolWindow Gui, Add, Text, , Use Control+LeftMouseClick, Hold, an...
by jackdunning
20 Jul 2020, 14:40
Forum: Scripts and Functions
Topic: ComputorEdge AutoHotkey Scripts and Useful Utility Downloads
Replies: 26
Views: 12596

Update for Ryan's RegEx Tester

Ryan's RegEx Tester sits near the top of my list of favorite AutoHotkey scripts. That's why I added it to this list of AutoHotkey scripts.

toralf has posted an updated version of RegEx Tester in this forum. I've added the link to the ComputorEdge AutoHotkey Scripts page.
by jackdunning
16 May 2020, 19:26
Forum: Scripts and Functions
Topic: ComputorEdge AutoHotkey Scripts and Useful Utility Downloads
Replies: 26
Views: 12596

Scrape Links from Web Page and Put Hotlinks into Tabbed GUI

I've added a new script ( WebLinkFindURL.ahk ) which combines a number of techniques to extract external text links from a Web page and insert them with a GUI Link control inside GUI Tab controls. The script uses the GetActiveBrowserURL() function by Antonio Bueno to capture the URL of the current (...
by jackdunning
29 Apr 2020, 15:09
Forum: Tutorials
Topic: Send Text to Tagged Edit Windows
Replies: 0
Views: 1139

Send Text to Tagged Edit Windows

Initially, I thought that I would post this in the Scripts and Functions forum, but decided that this window tagging script acts more as a technique than a standalone script. While I offer a couple of uses for setting up target windows (collecting reference text and quick testing AutoHotkey code), o...
by jackdunning
21 Apr 2020, 15:16
Forum: Scripts and Functions
Topic: ComputorEdge AutoHotkey Scripts and Useful Utility Downloads
Replies: 26
Views: 12596

Auto-Dup Delete, Swap Words, Repeat Word/Phrase and Word Cap RegExHotstrings

I've expanded the examples for the RegExHotstringsApp.ahk script to include examples for word swapping, auto-dup word delete, repeat word/phrase and word cap RegEx Hotstrings. Each of these examples makes good use of the Regular Expressions (RegEx) capability of the RegExHotstrings() function. https...
by jackdunning
28 Mar 2020, 14:10
Forum: Scripts and Functions
Topic: ComputorEdge AutoHotkey Scripts and Useful Utility Downloads
Replies: 26
Views: 12596

The Classic Eval() Function for Doing Math and On-the-fly Evaluation of AutoHotkey Expressions and Functions

I've added the classic Eval() function (Pulover's version) to this list of AutoHotkey Scripts and Useful Utilities . The Eval() function evaluates one or more AutoHotkey string expressions on-the-fly. Rather than returning a result by writing complex parsing and pasting routines, simply enter the ex...
by jackdunning
18 Mar 2020, 09:52
Forum: Scripts and Functions
Topic: ComputorEdge AutoHotkey Scripts and Useful Utility Downloads
Replies: 26
Views: 12596

Dynamic RegEx Hotstrings Function

I've added a RegExHotstringApp.ahk script which includes both the RegExHotstrings() function as well as examples of how to use it. It uses a function originally called Hotstrings() (started by polyethene , Feb 4, 2007, and found on the old archived AutoHotkey forum—not to be confused with recently-n...
by jackdunning
09 Mar 2020, 14:07
Forum: Scripts and Functions
Topic: ComputorEdge AutoHotkey Scripts and Useful Utility Downloads
Replies: 26
Views: 12596

Auto-Capitalize Sentences with AutoSentenceCap.ahk Hotstrings

In response to one of my blog readers, I wrote a short script creating sentence-capitalizing Hotstrings. The AutoSentenceCap.ahk script : Switches any lowercase letter occurring after a period, question mark, or exclamation point with an intervening space into uppercase. Capitalizes the first letter...
by jackdunning
07 Mar 2020, 16:07
Forum: Tutorials
Topic: Beginner's Guide to Writing AutoHotkey User-Defined Functions
Replies: 2
Views: 3794

Beginner's Guide to Writing AutoHotkey User-Defined Functions

User-defined functions are one of the most important tools in AutoHotkey, yet beginners with no programming experience can have difficulty with the concepts. Functions save time by storing repetitive code in modules for use in numerous situations. A number of years ago, I wrote a blog in response to...
by jackdunning
06 Mar 2020, 16:19
Forum: Ask For Help
Topic: Spelling in a GUI edit field - on Swedish words
Replies: 4
Views: 481

Re: Spelling in a GUI edit field - on Swedish words

I checked the link and it works for me. However, I wouldn't know anything about spelling correction in Swedish. My page only discusses words commonly misspelled in English. It's comprised of a set of thousands of Hotstrings.
by jackdunning
02 Mar 2020, 13:55
Forum: Scripts and Functions
Topic: ComputorEdge AutoHotkey Scripts and Useful Utility Downloads
Replies: 26
Views: 12596

Menu of Open Windows for Easy Activation

Added a new demonstration script called WindowListMenu.ahk which scans the open windows and builds an activation menu from that list. It includes the process ids in the menu items to ensure unique menu item names. Otherwise, similar menu items (e.g. multiple blank Notepad windows) would only open th...
by jackdunning
01 Mar 2020, 09:01
Forum: Scripts and Functions
Topic: MousePrecise.ahk for Pixel-Level Cursor Control
Replies: 5
Views: 2232

Use Center Keypad Key for Cropping Icons

I decided to do something with the keypad center button. Why waste it? I added a 16-pixel jump from top-left to bottom-right to the center keypad button (5) for cropping square images in the same increments as icons (16x16, 32x32, 48x48, etc). Use Shift+NumPad5 to reverse direction. https://jacksaut...
by jackdunning
26 Feb 2020, 16:35
Forum: Scripts and Functions
Topic: QuickLinks (Menu by folder)
Replies: 10
Views: 4029

Windows Trick for Adding Embedded Folder/Shortcut Icons to QuickLinks Menus

I've dropped the IfInString command in favor of the Switch command for adding icons to the menu items. It uses the embedded folder/shortcut icons, when available, and eventually defaults to a single option. You can find the code at " Windows Trick for Adding Embedded Folder Icons to QuickLinks Menus...
by jackdunning
26 Feb 2020, 15:43
Forum: Scripts and Functions
Topic: Selection List Menu for Activating Currently Open Windows
Replies: 2
Views: 718

Re: Selection List Menu for Activating Currently Open Windows

Good idea! Not everyone uses the same Unicode level. I switched the script to using the pipe ( | ) since the script already strips out extras.

Go to advanced search