![]() You can quit the script from the Windows taskbar green H icon. It should put a green icon with a white H on the taskbar (might be hidden). In Windows Explorer, right click the file and choose Run Script.Mine is called nbsp.ahk, but you could use canvas_cleanup.ahk or whatever you want. Take the above code and save it into a file with a.Download and install AutoHotKey on a Windows machine.Here is a list of codes from the documentation if you would like something else. It was pretty much a hack job in creating it.īy default, it uses Ctrl Alt c (first line of code). Looking at the documentation, it seems that StringReplace shouldn't be used for new scripts, but rather than give you untried code, I am just giving what I have. Newclipboard := RegExReplace(newclipboard, "s)\s data-mathml="".*?""","") Newclipboard := RegExReplace(clipboard, "]*>") StringReplace clipboard, clipboard, %A_SPACE%-%A_SPACE%, %A_SPACE%–%A_SPACE%, 1 StringReplace clipboard, clipboard, %A_SPACE%, %A_SPACE%, 1 StringReplace clipboard, clipboard, %A_SPACE%, 1 StringReplace clipboard, clipboard,, %A_SPACE%, 1 ![]() StringReplace clipboard, clipboard, ’, ', 1 StringReplace clipboard, clipboard, %A_SPACE%%attrib%="%A_SPACE% ,%A_SPACE%%attrib%=", 1 StringReplace clipboard, clipboard, %A_SPACE%%attrib%="", 1 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. #NoEnv Recommended for performance and compatibility with future AutoHotkey releases. Is the code as-is except that I did comment out the line that does the custom formatting for my videos and their duration and length.
0 Comments
Leave a Reply. |