SetWorkingDir %A_ScriptDir% Ensures a consistent starting directory. SendMode Input Recommended for new scripts due to its superior speed and reliability. #Warn Enable warnings to assist with detecting common errors. Script 1 - main one, for notes: #NoEnv Recommended for performance and compatibility with future AutoHotkey releases. NotesPath = C:\notes\obsidian_vaults\DirtyNotes\IwasabadboySanta …line to reflect your own vault’s inbox folder. NotesPath = I:\00_Cloud_Storage\Dropbox\Notes\Obsidian\Duckland\!Inbox Remove the “Tools” part if you won’t save the script in a Tools subdirectory, and change its name if you don’t go for “clean_characters3.ahk”. RunWait %A_ScriptDir%\Tools\clean_characters3.ahk The line with the path to the secondary “clean_characters3.ahk” script is: If you save both in the same directory, make sure to edit the main script to reflect that. The way I’m using it, this secondary script is in a “Tools” subdirectory. You should copy both, save the first, main script with whatever name you wish, and then save the second one as “clean_characters3.ahk”. So, I’ve tapped into a secondary script I’m using that cleans text from any “weird” characters. Since this is also saving notes, it has to respect filesystem restrictions. I couldn’t find the old file, so, I’ve written a new script that performs the same function, more or less. Since thousands of people (har-har) asked for this, and it would also be useful for me, I’ve sat down and re-implemented it from scratch. OK, the above sucked and was a sub-par version of what I was using.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |