Sign in to follow this  
Followers 0
Mercury049

Quick Scite Question

9 posts in this topic

Quick question here. I develop from several different machines on a network. I would like to tell each Scite installation to look at one location for Include files. Since I'm adding/editing those includes all the time, it would be nice to have one central location for all of them to look at. Does anyone know if there's a way to do this currently or any ideas that might help?

Share this post


Link to post
Share on other sites



Thats not a scite question :D

There is a special registry value that can be created at "HKEY_CURRENT_USER\Software\AutoIt v3\AutoIt" called "Include". It should be a REG_SZ (string) value. The contents of this value are a semi-colon delimited list of directories that should be searched for files when resolving #include's in addition to the standard locations.

Share this post


Link to post
Share on other sites

Thats not a scite question :D

Right before you posted that I found the SciTE config for AutoIt3 which will let me alter that directory. For those looking here for an answer, just hit CTRL+1 inside SciTE to get there. Thanks for help!

Share this post


Link to post
Share on other sites

Wow... I never knew it was in scite config!

I presume it just edits those registry keys.

Share this post


Link to post
Share on other sites

Wow... I never knew it was in scite config!

I presume it just edits those registry keys.

My guess is that you're right, but it's still not working either way. Even though I've set it to reflect the directory I want it to pull from, it's still a no go. I'm going to tinker with it a bit.

Share this post


Link to post
Share on other sites

It is indeed setting the registry entry that AutoIt3 and AUt2Exe looks at as defined in the helpfile.

Jos


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

It is indeed setting the registry entry that AutoIt3 and AUt2Exe looks at as defined in the helpfile.

Jos

Strangely though, it's not working. I've got a network drive mapped (may be the problem since it's network) and I put it in there, yet it won't see the include files. I'm going to keep working with it.

Share this post


Link to post
Share on other sites

Strangely though, it's not working. I've got a network drive mapped (may be the problem since it's network) and I put it in there, yet it won't see the include files. I'm going to keep working with it.

Is the compile running with the same credentials is is the drive available?

Have you tried UNC?

Will do some quick tests myself to see if it works.

Jos


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

Tested on Win7 x64:

These are my results when running a test from SciTE with an Include file on a Share:

Mapped drive worked only when I ran SciTE in normal mode (Not Admin).

UNC worked in both cases.

Jos


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