Sign in to follow this  
Followers 0
MisterBates

SciTE not recognising .au3 - no syntax highlighting ...

11 posts in this topic

Anyone, I'm probably asking a question that's been asked before, but a quick search didn't return any results.

I developed a script on my main PC - no problem. I want to execute it (with a couple modifications) on my home PC, which is a multi-user PC with an admin and a few regular users. I installed AutiIt3 and SciTE as the admin user, but I need to run the script as one of the regular users, as it needs that users' environment to run.

The problem: When I run SciTE and open the script, SciTE is not recognising it as an AutoIt language script, is not giving me syntax highlighting, and most importantly, is not giving the compile/run options!

What's gone wrong?

Share this post


Link to post
Share on other sites



If you're going to run a script somewhere else, just compile it with F7 in SciTE and transport the .exe file. No AutoIt install is required at that point.

:whistle:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Anyone, I'm probably asking a question that's been asked before, but a quick search didn't return any results.

I developed a script on my main PC - no problem. I want to execute it (with a couple modifications) on my home PC, which is a multi-user PC with an admin and a few regular users. I installed AutiIt3 and SciTE as the admin user, but I need to run the script as one of the regular users, as it needs that users' environment to run.

The problem: When I run SciTE and open the script, SciTE is not recognising it as an AutoIt language script, is not giving me syntax highlighting, and most importantly, is not giving the compile/run options!

What's gone wrong?

Does the file have a name like ***.au3 ?

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

Does the file have a name like ***.au3 ?

Yes. Does the SciTE install add user-specific registry entries or folders?

@PsaltyDS - I want to do some testing with a modified version of the script before I "unleash" the full thing, as it trundles through Outlook Express pulling email addresses from messages ... better to test on one folder than the full 60-70 folders.

Share this post


Link to post
Share on other sites

Yes. Does the SciTE install add user-specific registry entries or folders?

@PsaltyDS - I want to do some testing with a modified version of the script before I "unleash" the full thing, as it trundles through Outlook Express pulling email addresses from messages ... better to test on one folder than the full 60-70 folders.

Ok, couple of questions:

1. Are you using the SciTE4AutoIt3 full installer or the Scite version that came with the AutoIt3 installer?

2. When Yes: does au3.properties and au3.keywords.properties exist in the SciTE directory ?

:whistle:


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

#6 ·  Posted (edited)

Ok, couple of questions:

1. Are you using the SciTE4AutoIt3 full installer or the Scite version that came with the AutoIt3 installer?

2. When Yes: does au3.properties and au3.keywords.properties exist in the SciTE directory ?

Thanks for the quick responses ...

1. Full installer

2. yes and yes

EDIT: Hmmmm. Looks like a permissions problem - Logged on as the limited user, I can list the files in the SciTE, but can't read or delete them. I'll investigate ... thanks so far

Edited by MisterBates

Share this post


Link to post
Share on other sites

Thanks for the quick responses ...

1. Full installer

2. yes and yes

Ok, ... and you do not get any extra option under tools when you have a file open called xyz.au3 ?

That is really odd....

Do you see under "Options" also au3.properties listed and when you clik it it opens correctly ?

Is SciTE installed in the default directory c:\program files\autoit3\scite ?

:whistle:


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

Ok, ... and you do not get any extra option under tools when you have a file open called xyz.au3 ?

That is really odd....

Do you see under "Options" also au3.properties listed and when you clik it it opens correctly ?

Is SciTE installed in the default directory c:\program files\autoit3\scite ?

:whistle:

Copy of EDIT to previous post:

Hmmmm. Looks like a permissions problem - Logged on as the limited user, I can list the files in the SciTE directory, but can't read or delete them. I'll investigate ... thanks so far

Share this post


Link to post
Share on other sites

2. When Yes: does au3.properties and au3.keywords.properties exist in the SciTE directory ?

JdeB: If SELECT Conversational.Prose LIKE Scripting.code THEN "Time for another bike tour..."

Ready for another break?

:whistle:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

JdeB: If SELECT Conversational.Prose LIKE Scripting.code THEN "Time for another bike tour..."

Ready for another break?

:whistle:

Anytime :lmao:


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

Copy of EDIT to previous post:

Hmmmm. Looks like a permissions problem - Logged on as the limited user, I can list the files in the SciTE directory, but can't read or delete them. I'll investigate ... thanks so far

Was a permissions problem for the specific user on the SciTE folder.

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