MisterBates Posted July 20, 2007 Share Posted July 20, 2007 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? [u]MisterBates[/u]_____________________________________________________Suspend/Resume Windows ScreensaverWatchWindows - Window watcher/loggerUDF: Click systray menu/submenu itemsUDF: Outlook Express Folder/Message handling (+ example code)HowTo: Multiple icons in one compiled script Link to comment Share on other sites More sharing options...
PsaltyDS Posted July 20, 2007 Share Posted July 20, 2007 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. 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 Link to comment Share on other sites More sharing options...
Developers Jos Posted July 20, 2007 Developers Share Posted July 20, 2007 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 ? 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 More sharing options...
MisterBates Posted July 20, 2007 Author Share Posted July 20, 2007 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. [u]MisterBates[/u]_____________________________________________________Suspend/Resume Windows ScreensaverWatchWindows - Window watcher/loggerUDF: Click systray menu/submenu itemsUDF: Outlook Express Folder/Message handling (+ example code)HowTo: Multiple icons in one compiled script Link to comment Share on other sites More sharing options...
Developers Jos Posted July 20, 2007 Developers Share Posted July 20, 2007 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 ? 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 More sharing options...
MisterBates Posted July 20, 2007 Author Share Posted July 20, 2007 (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 installer2. yes and yesEDIT: 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 July 20, 2007 by MisterBates [u]MisterBates[/u]_____________________________________________________Suspend/Resume Windows ScreensaverWatchWindows - Window watcher/loggerUDF: Click systray menu/submenu itemsUDF: Outlook Express Folder/Message handling (+ example code)HowTo: Multiple icons in one compiled script Link to comment Share on other sites More sharing options...
Developers Jos Posted July 20, 2007 Developers Share Posted July 20, 2007 Thanks for the quick responses ...1. Full installer2. yes and yesOk, ... 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 ? 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 More sharing options...
MisterBates Posted July 20, 2007 Author Share Posted July 20, 2007 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 ?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 [u]MisterBates[/u]_____________________________________________________Suspend/Resume Windows ScreensaverWatchWindows - Window watcher/loggerUDF: Click systray menu/submenu itemsUDF: Outlook Express Folder/Message handling (+ example code)HowTo: Multiple icons in one compiled script Link to comment Share on other sites More sharing options...
PsaltyDS Posted July 20, 2007 Share Posted July 20, 2007 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? 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 Link to comment Share on other sites More sharing options...
Developers Jos Posted July 20, 2007 Developers Share Posted July 20, 2007 JdeB: If SELECT Conversational.Prose LIKE Scripting.code THEN "Time for another bike tour..."Ready for another break? Anytime 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 More sharing options...
MisterBates Posted July 25, 2007 Author Share Posted July 25, 2007 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 farWas a permissions problem for the specific user on the SciTE folder. [u]MisterBates[/u]_____________________________________________________Suspend/Resume Windows ScreensaverWatchWindows - Window watcher/loggerUDF: Click systray menu/submenu itemsUDF: Outlook Express Folder/Message handling (+ example code)HowTo: Multiple icons in one compiled script Link to comment Share on other sites More sharing options...
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