![]() ![]() Run, "%QAPpath%\QAPmessenger.exe" %Switch% "%selected%" QAPpath := "C:\Program Files\Quick Access Popup" If (!QAPpath) If no path is entered, use this default. Switch := "AddFileXpress" Skips dialogs and works tranparently. Switch := "AddFile" If it's a folder, QAP will use Folder settings. Selected := getSelected() calls function that is at the bottom ShowDialogs := 1 1 shows QAP dialogs, 0 skips them. QAPpath := "C:\PortableApps\quickaccesspopup" no slash at end of path # Next two lines are options for script # SetTitleMatchMode, 2 This line goes in the autoexecute header of the script. Other users should have the "Run, "C:\." part pointing to the correct location for their installation. Also, note that I have a portable version of Quick Access Popup in a custom location. They are only used by the Autohotkey script to "direct traffic" in the script. I also want to point out that the regexes in the above script aren't used by QAPmessenger. Run, "C:\PortableApps\quickaccesspopup\QAPmessenger.exe" %vAdd% "%Clipboard%"ĮDIT: Just now added quotes around %clipboard%. Run, "C:\PortableApps\quickaccesspopup\QAPmessenger.exe" %vAdd%Xpress "%Clipboard%" Xpress skips all dialogs. MsgBox % "vPath is:`t`t" vPath "`nvExt is:`t`t" vExt "`nvAdd is:`t`t" vAdd "`n`nClipboard is:`t" clipboard If (!vExt) This means that the above check passed, but there is not file at end of path. If (!vPath) This means the regex didn't find the pattern. Send, ^c ctrl+c (copy selected to clipboard) #SingleInstance force It it gets restarted, kill and usurp the old process in RAM. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |