Jump to content

Help files run fine, but my .au3 files won't run


Go to solution Solved by RobertDangerBond,

Recommended Posts

This is a new installation on a new PC.  I have the latest AutoIt version 3.3.16.1 and SciTE 32-bit Version 4.4.6.

If I access help and open a file like "MsgBox.au3", after clicking past the windows warning "some content has been blocked for your safety" I hit F5 for "go" and the script runs fine--I see the message box pop up.

However, when I create my own simple NewPCTest.au3 file like this:

ConsoleWrite("Hello World." & @CRLF)
MsgBox(0, "Test", "Hello World.")

Nothing happens... here's the output from the console:

>"D:\Programs\AutoIt3\SciTE\..\AutoIt3.exe" "D:\Programs\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "G:\My Drive\RB\code_dev\NewPCTest.au3" /UserParams    
+>11:29:03 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 => D:\Programs\AutoIt3\SciTE   UserDir => C:\Users\rober\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\rober\AppData\Local\AutoIt v3\SciTE
>Running AU3Check (3.3.16.1)  from:D:\Programs\AutoIt3  input:G:\My Drive\RB\code_dev\NewPCTest.au3
+>11:29:03 AU3Check ended.rc:0
>Running:(3.3.16.1):D:\Programs\AutoIt3\autoit3.exe "G:\My Drive\RB\code_dev\NewPCTest.au3"    
+>Setting Hotkeys...--> Press Ctrl+Alt+Break to Restart or Ctrl+BREAK to Stop.
+>11:29:03 AutoIt3.exe ended.rc:0
+>11:29:03 AutoIt3Wrapper Finish

What's wrong with my installation?  Does it have something to do with windows security blocking execution?  If so, how do I fix that?

Thanks!

Link to comment
Share on other sites

I just tried saving my .au3 to a different drive and it is working.  There must be some problem with running the files out of my G: drive (Google Drive).  Strange, because this is always how I do it on other PCs.  Any thoughts on why I can't execute from that drive?

Edited by RobertDangerBond
Link to comment
Share on other sites

1 minute ago, Nine said:

Yes this a known "issue" with the cloud.  You need to move your scripts to local/network drive.

Thanks for the quick reply, but that's not a good solution for me.  I have several PC's that can all run my .au3 files from the Google drive without any issues. It's great because it doesn't matter which device I'm using to make code edits--changes propagate to the other devices w/o hassle.  Anyway, I'll just try troubleshooting further--maybe reinstalling Google drive and comparing to another PC.  I'll let you know if I can figure out why this one isn't working vs. the others.

Link to comment
Share on other sites

  • Developers

Check the settings of gdrive so there is a real local copy. I've checked this in the past and it was a setting in gdrive.

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.
  :)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   1 member

×
×
  • Create New...