Search found 5 matches

by Spydor
01 Feb 2024, 08:55
Forum: Scripts and Functions (v2)
Topic: Easy OCR
Replies: 93
Views: 19386

Re: Easy OCR

Descolada , thank you! That was the piece I was missing, didn't realize the "class OCR" in the Snippers OCR extension was the library. I had your OCR.ahk in the lib folder, but hadn't included it, wasn't sure what it was supposed to replace. I gutted the extension, just left the following, working ...
by Spydor
31 Jan 2024, 19:59
Forum: Scripts and Functions (v2)
Topic: Easy OCR
Replies: 93
Views: 19386

Re: Easy OCR

Forgive my ignorance, fairly new to AHK, trying to follow the solution above. I'm running Snipper (Version 2024 01 09) and have an Include for "Snipper - Extension - OCR" (Version: 2023 05 05) in the lib folder. When I OCR a clip, it's all concatenated on one line. I changed the OCR2Clipboard method...
by Spydor
24 Jan 2024, 09:03
Forum: Ask for Help (v2)
Topic: Robocopy space in pathnames
Replies: 5
Views: 335

Re: Robocopy space in pathnames

This still didn't work, the "cmd /k" seems to be the issue MsgBox('cmd /k "' A_WinDir '\System32\Robocopy.exe" "' source '" "' target '" ' options) RunWait('cmd /k "' A_WinDir '\System32\Robocopy.exe" "' source '" "' target '" ' options) MessageBox: cmd /k "C:\WINDOWS\System32\Robocopy.exe" "D:\Virt...
by Spydor
23 Jan 2024, 15:26
Forum: Ask for Help (v2)
Topic: Robocopy space in pathnames
Replies: 5
Views: 335

Re: Robocopy space in pathnames

That's part of the problem, not sure where the "literal string" needs to start, what need to be in the single quotes. I've tried every variation I can think of...except the correct. I have string: "cmd /k" variable A_WinDir string: "\System32\Robocopy.exe " variable: source string: " " variable: tar...
by Spydor
23 Jan 2024, 12:41
Forum: Ask for Help (v2)
Topic: Robocopy space in pathnames
Replies: 5
Views: 335

Robocopy space in pathnames

New to AHK, I'm converting a vbscript to AHK. Script gets source/target directory from ini file, backups run in a loop. I have it working, except if there's a space in the directory names. I've found examples in this forum using cmd /k and A_WinDir, both worked, again, as long as no spaces. INI File...

Go to advanced search