JohnOne Posted February 28, 2013 Share Posted February 28, 2013 (edited) I don't know if this is scite4autoit specific, or even just me specific, but it's becoming a bit of a pain for me. I have the feeling of deja vu writing this too. Scenario, I open a file with scite4autoit (right click .au3 file select edit. Once I have done that, I cannot rename the folder which that (or any files opened with scite) resides, not even after having closed the tab, and scite itself. Perhaps there is some sort of fancy coding to unlock a folder or something, but it just seems overkill. Nothing short of a reboot allows me to rename that folder once a file in it has been open in scite. I can rename the files, I can delete the files within the folder, but the folder stays locked and stubborn. Wonder if anyone else has this issue, and if it a larger scite issue. Edited February 28, 2013 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
wraithdu Posted February 28, 2013 Share Posted February 28, 2013 Nope, all works normally for me. Have you tried an app like Unlocker or Process Explorer to find out what exactly is locking the folder / file? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 28, 2013 Moderators Share Posted February 28, 2013 JohnOne, I can confirm the same behaviour on my Vista x32 SP2 machine. But it is not something I do too often, so I am not surprised that I have not noticed it before. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Exit Posted February 28, 2013 Share Posted February 28, 2013 My folder is locked too. Win7 x64 App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Developers Jos Posted February 28, 2013 Developers Share Posted February 28, 2013 What version of SciTE and OS are you using? 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...
Moderators Melba23 Posted February 28, 2013 Moderators Share Posted February 28, 2013 Jos, Latest beta SciTE and Vista x32 SP2. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
wraithdu Posted February 28, 2013 Share Posted February 28, 2013 Win 7 x64, SciTE 3.25. No issues for me. Folder is locked while the file is open of course, but as soon as it's closed I can rename the folder. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 28, 2013 Developers Share Posted February 28, 2013 (edited) It probably has something to do with the way the workdir is set when SciTE is shelled via the explorer OPEN option. Open another file in another directory and the issue is gone for the first opened file/directory I see the same issue as the OP on Win7 prof x64 with SciTE 3.2.5. Edited February 28, 2013 by Jos JohnOne 1 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...
JohnOne Posted February 28, 2013 Author Share Posted February 28, 2013 JohnOne,I can confirm the same behaviour on my Vista x32 SP2 machine. But it is not something I do too often, so I am not surprised that I have not noticed it before.M23I've not in the past, but I've taken to copying the contents of folder to new one, and renaming old, indicating the changes I made in script or any components for purposes of backup.I have a file in startup folder at the moment to remind me to rename folders when I restart computer AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
JohnOne Posted February 28, 2013 Author Share Posted February 28, 2013 It probably has something to do with the way the workdir is set when SciTE is shelled via the explorer OPEN option.Open another file in another directory and the issue is gone for the first opened file/directoryI see the same issue as the OP on Win7 prof x64 with SciTE 3.2.5.Confirmed, that'll do for me, cheers. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 28, 2013 Developers Share Posted February 28, 2013 (edited) Win 7 x64, SciTE 3.25. No issues for me. Folder is locked while the file is open of course, but as soon as it's closed I can rename the folder.Do you keep SciTE open and use one instance of SciTE? Edited February 28, 2013 by Jos 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...
wraithdu Posted February 28, 2013 Share Posted February 28, 2013 I use one instance of SciTE (multiple tabs), and I was closing it before attempting a rename. OP said he had to reboot. I see the problem if you close the script tab but leave SciTE open (working dir issue as you said). But closing SciTE frees everything up. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 28, 2013 Developers Share Posted February 28, 2013 Same here, either close SciTE or open another file from another directory is enough to free up the first directory. Jos 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...
Exit Posted February 28, 2013 Share Posted February 28, 2013 I killed all my "Autostart" tasks with path to the autoit folder and ... rename succesful. Rename was not possible due to an EXE was running from this folder. Nothing to do with SciTE. App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 28, 2013 Moderators Share Posted February 28, 2013 Jos, Same here too. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
BinaryBrother Posted March 11, 2013 Share Posted March 11, 2013 (edited) I find this happens when a script somehow becomes "detached" from Scite and is running independently. For example, when I press F1 it occasionally opens a second instance of my script [detached from Scite's script control Ex; Stop Execution] and if my script doesn't have a GUI, I don't notice this happening. So even after Scite is closed, the directories are locked because my script is still running hidden. Edited March 11, 2013 by BinaryBrother SIGNATURE_0X800007D NOT FOUND Link to comment Share on other sites More sharing options...
JohnOne Posted March 11, 2013 Author Share Posted March 11, 2013 What worked for me earlier in the thread only works occasionally, it's really weird. but the poor mans versioning has saved me from cracking up AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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