Search found 14 matches
- 28 Jul 2023, 11:36
- Forum: Ask for Help (v1)
- Topic: Handling Hyphens in Title Case Script
- Replies: 2
- Views: 263
Re: Handling Hyphens in Title Case Script
#Requires AutoHotkey v1.1.33 str := "the quick-brown fox ran up the hill" MsgBox % title(str) title(str) { Static exclude := "a,an,and,as,as long as,at,but,by,even if,for,from,if,if only,in,into,is," . "it,like,near,nor,now that,of,off,on,on top of,once,onto,or,out of,over," . "past,per,so,so that,...
- 27 Jul 2023, 20:38
- Forum: Scripts and Functions (v1)
- Topic: Adobe Acrobat Highlight Text Colors Hotkeys
- Replies: 2
- Views: 406
Re: Adobe Acrobat Highlight Text Colors Hotkeys
Glad you find it helpful
- 27 Jul 2023, 20:37
- Forum: Ask for Help (v1)
- Topic: Handling Hyphens in Title Case Script
- Replies: 2
- Views: 263
Handling Hyphens in Title Case Script
Hello all, I have a working title case script, but I cannot figure out how to get it to handle hyphens appropriately. So, right now, it will change "the quick-brown fox ran up the hill" to "The Quick-brown Fox Ran up the Hill" whereas I want it to change it to "The Quick-Brown Fox Ran up the Hill". ...
- 19 Jul 2023, 14:45
- Forum: Ask for Help (v1)
- Topic: Script to select down until line that starts with "# [["
- Replies: 8
- Views: 470
Re: Script to select down until line that starts with "# [["
I have come up with a working solution, though it is not very pretty. The program I am using includes a find fucntionality, so this script begins by using the find function to move down to the next instance of the stop character, and then uses my working search-up script to get back to the start. Th...
- 19 Jul 2023, 14:26
- Forum: Ask for Help (v1)
- Topic: Script to select down until line that starts with "# [["
- Replies: 8
- Views: 470
Re: Script to select down until line that starts with "# [["
What program? Does Window Spy show the control name and text? The program is Obsidian.md, here is the windowspy information: ahk_class Chrome_WidgetWin_1 ahk_exe Obsidian.exe ahk_pid 5540 Thank you for your help and patience, I'm trying to get out of new account purgatory so that I can respond to y...
- 19 Jul 2023, 14:22
- Forum: Scripts and Functions (v1)
- Topic: Script to Make Text Title Case with Windows Compatible Character Substitutions
- Replies: 0
- Views: 216
Script to Make Text Title Case with Windows Compatible Character Substitutions
Hello, I wrote the following script (drawing on many examples in this forum) for renaming downloaded books to title case and then substituting any special characters that are not compatible with Windows file system naming conventions with Unicode equivalents. So, e.g. it changes "book title: subtitl...
- 19 Jul 2023, 14:19
- Forum: Scripts and Functions (v1)
- Topic: Script to Resize and Move Active Window Relative to the Monitor It is On
- Replies: 0
- Views: 233
Script to Resize and Move Active Window Relative to the Monitor It is On
Hello all, I managed to cobble together the following script from some posts on this forum with ChatGPT's help! It resizes and moved the active window to a proportion relative to the monitor the window is on. In the code below, I have it resize to 70% of the width of the monitor and 65% of the heigh...
- 19 Jul 2023, 14:15
- Forum: Scripts and Functions (v1)
- Topic: Adobe Acrobat Highlight Text Colors Hotkeys
- Replies: 2
- Views: 406
Adobe Acrobat Highlight Text Colors Hotkeys
Hello all, I have created the following scripts to automate highlighting text different colors in acrobat. I use this with Dragon naturally speaking so I can highlight via voice, so some of the written hotkeys are unintuitive, but the scripts themselves should work! Note: Each color has two highligh...
- 19 Jul 2023, 14:11
- Forum: Scripts and Functions (v1)
- Topic: Wikilink Alias Script
- Replies: 0
- Views: 192
Wikilink Alias Script
Hello all, I often want to make aliases for my wikilinks while working in Obsidian.md. To facilitate this, I have createdthe following script with takes a chunk of text and replaces it with an alias to itself (which can then be modified to get the right link for the alias. E.g. "TEXT" would be repla...
- 19 Jul 2023, 14:09
- Forum: Scripts and Functions (v1)
- Topic: Upward Select Text Until Stop Character
- Replies: 0
- Views: 209
Upward Select Text Until Stop Character
Hello all, Sharing a script I wrote based on some scripts posted here that selects lines of text upwards from your cursor position until hitting a stop character (in my case "# [[") ;********** Upward / Downward Refactor AuthorLink Heading Search ********** F1:: ; Select up until reaching "# [[" Cli...
- 19 Jul 2023, 12:22
- Forum: Off-topic Discussion
- Topic: Thank you for the music
- Replies: 313
- Views: 229721
Re: Thank you for the music
Majesty Snowbird- Sufjan Stevens
https://www.youtube.com/watch?v=RxiWj4Af6II&ab_channel=shinytoygunrunner
https://www.youtube.com/watch?v=RxiWj4Af6II&ab_channel=shinytoygunrunner
- 19 Jul 2023, 12:13
- Forum: Ask for Help (v1)
- Topic: Script to select down until line that starts with "# [["
- Replies: 8
- Views: 470
Re: Script to select down until line that starts with "# [["
OK, but it might be easier to work with the entire text content. An AHK script could then parse it, remove part of it, etc., and copy the remainder to the clipboard for you. Thank you for the suggestion! I need the selected chunk to be delimited on the top by my cursor position and on the bottom by...
- 19 Jul 2023, 10:51
- Forum: Ask for Help (v1)
- Topic: Script to select down until line that starts with "# [["
- Replies: 8
- Views: 470
Re: Script to select down until line that starts with "# [["
Welcome to this AutoHotkey forum! Do you actually mean selecting live on screen, instead of just identifying a subset of the text? If so, why? Mike, Thanks for your quick response! I want to automatically select the text so that I can then feed it into a workflow that extracts the selection, copies...
- 18 Jul 2023, 14:52
- Forum: Ask for Help (v1)
- Topic: Script to select down until line that starts with "# [["
- Replies: 8
- Views: 470
Script to select down until line that starts with "# [["
Hello, I am trying to write a script that will select text downward until coming to a line that starts with "# [[" and then stop, keeping only the previous lines selected. So, for example, if my document had the following text and my cursor started at the top: AAA BBB ### CCC # [[ DDD I would want i...