JeffAllenNJ Posted November 27, 2023 Posted November 27, 2023 When running TEST.au3: ConsoleWrite(@CRLF) ConsoleWrite(@CRLF) ConsoleWrite(@CRLF) ConsoleWrite(@CRLF) ConsoleWrite(@CRLF) ConsoleWrite(@CRLF) I get: >"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "G:\My Drive\Documents\AutoIT\test.au3" /UserParams +>07:52:40 Starting AutoIt3Wrapper (21.316.1639.1) from:SciTE.exe (4.4.6.0) Keyboard:00000409 OS:WIN_11/2009 CPU:X64 OS:X64 Environment(Language:0409) CodePage:0 utf8.auto.check:4 +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\me\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\me\AppData\Local\AutoIt v3\SciTE >Running AU3Check (3.3.16.1) from:C:\Program Files (x86)\AutoIt3 input:G:\My Drive\Documents\AutoIT\test.au3 +>07:52:40 AU3Check ended.rc:0 >Running:(3.3.16.1):C:\Program Files (x86)\AutoIt3\autoit3.exe "G:\My Drive\Documents\AutoIT\test.au3" +>Setting Hotkeys...--> Press Ctrl+Alt+Break to Restart or Ctrl+BREAK to Stop. +>07:52:41 AutoIt3.exe ended.rc:0 +>07:52:41 AutoIt3Wrapper Finished. >Exit code: 0 Time: 1.259 Why aren't my scripts actually running?
JeffAllenNJ Posted November 27, 2023 Author Posted November 27, 2023 This has something to do with Google Drive (G:\My Drive\...). I modified test.au3 to contain the line Local $sAnswer = InputBox("Question", "Where were you born?", "Planet Earth", "", -1, -1, 0, 0). When I run it from G:\My Drive\..., I get nothing. When I save it in C:\me\Documents\, it runs fine. From CMD, when I try "C:\Program Files (x86)\AutoIt3\autoit3.exe" "G:\My Drive\test.au3", I get nothing. The command seems to succeed but I do not get the prompt. From CMD, when I try "C:\Program Files (x86)\AutoIt3\autoit3.exe" "C:\me\Documents\test.au3", It works. I get the prompt.
JeffAllenNJ Posted November 27, 2023 Author Posted November 27, 2023 So, I guess my question boils down to trying to understand why every app on my PC can see files on G:\My Drive\... ... except for AutoIT3.exe!
Developers Solution Jos Posted November 27, 2023 Developers Solution Posted November 27, 2023 (edited) There is no real local copy unless you change the setting to do so (i believe I looked at this a while ago, but do not remember the details). See this old topic to check if that is similar: Edited November 27, 2023 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now