Sign in to follow this  
Followers 0
loic

Problem when running AutoIt script

2 posts in this topic

Hi! I'am new on using AutoIt and my english is not fluent

I installed AutoIt using ZIP file because my PC is protected :D

I cannot modify registry

I cannot write in Program Files directory

So I copied files in C:\AutoIt directory and I modified line autoit3dir in au3.properties file.

I set this line to : "autoit3dir=C:\AutoIt\AutoIt v3"

I copied AutoIt v3 files in that directory

I copied AutoIt v3 beta files in a sub directory named "beta" (C:\AutoIt\AutoIt v3\beta)

I copied SCITE files in directory C:\AutoIt\SciTe

I wrote a script that open an Excel file and read it. My script is saved in a sub directory of "My Documents"

When I press CTRL-ALT-F5 the check syntax is OK

The problem is :

When I double-click on AutiIt3.exe file in the explorator, the program ask for script. I select my script and the script run OK :( , the excel file is read, the result is output in a MsgBox, I click OK button and then the excel file is close.

BUT when I press ALT-F5 in SciTe editor, the program, It run, the excel file is open but the MsgBox does not appear and the excel file is not close.

Why ?? :)

Share this post


Link to post
Share on other sites



Hi! I'am new on using AutoIt and my english is not fluent

I installed AutoIt using ZIP file because my PC is protected :oops:

I cannot modify registry

I cannot write in Program Files directory

So I copied files in C:\AutoIt directory and I modified line autoit3dir in au3.properties file.

I set this line to : "autoit3dir=C:\AutoIt\AutoIt v3"

I copied AutoIt v3 files in that directory

I copied AutoIt v3 beta files in a sub directory named "beta" (C:\AutoIt\AutoIt v3\beta)

I copied SCITE files in directory C:\AutoIt\SciTe

I wrote a script that open an Excel file and read it. My script is saved in a sub directory of "My Documents"

When I press CTRL-ALT-F5 the check syntax is OK

The problem is :

When I double-click on AutiIt3.exe file in the explorator, the program ask for script. I select my script and the script run OK :( , the excel file is read, the result is output in a MsgBox, I click OK button and then the excel file is close.

BUT when I press ALT-F5 in SciTe editor, the program, It run, the excel file is open but the MsgBox does not appear and the excel file is not close.

Why ?? :)

In SciTE do : Tools/Open AU3.properties

Check if line 7 is correct... should be:

autoit3dir=C:\AutoIt3

:D


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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
Sign in to follow this  
Followers 0