Sign in to follow this  
Followers 0
gadzail

Open file in Explorer from AutoitScite

8 posts in this topic

Is it possible from AutoIt-Scite editor open the dir in explorer where the au3 file is located?

Or, at least, copy the file path in the clipboard?

Share this post


Link to post
Share on other sites



I got ticked off at explorer because the /select,<object> parameter wasn't working. I don't know why. Anyway, extract these files to your Scite Folder. Probably "C:\Program Files\AutoIt\Scite\". Once you do that, close scite if it isn't already closed, then open it up. Open a au3 script and in the middle of the Tools menu you should see a option called "Open Script's Folder". Click it and the script's folder should open.

SciTE.zip


"So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire

Share this post


Link to post
Share on other sites

Do you mean like...

Run('explorer.exe ' & @ScriptDir)

?

exactly.

Is there a function like this in Autoit-Scite editor?

It is useful when I want add files in the script folder (like ini files, icon/image files, etc.).

Share this post


Link to post
Share on other sites

I got ticked off at explorer because the /select,<object> parameter wasn't working. I don't know why. Anyway, extract these files to your Scite Folder. Probably "C:\Program Files\AutoIt\Scite\". Once you do that, close scite if it isn't already closed, then open it up. Open a au3 script and in the middle of the Tools menu you should see a option called "Open Script's Folder". Click it and the script's folder should open.

SciTE.zip

It works.

Many thanks Kandie Man.

Share this post


Link to post
Share on other sites

Glad i could help. Make sure you keep that as you may need to re-extract it to the scite directory when you install a new version.


"So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

There is an other simple solution !!

Save your last script in SciTE and close SciTE.

Don't close the script in SciTE !!

Open it again and it will remember where you left off.

No tools needing to be added. Simple be effectieve.

Regards

ptrex

Edited by ptrex

Share this post


Link to post
Share on other sites

There is an other simple solution !!

Save your last script in SciTE and close SciTE.

Don't close the script in SciTE !!

Open it again and it will remember where you left off.

No tools needing to be added. Simple be effectieve.

Regards

ptrex

??

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