ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE. Software > Post New Requests Here

close folders


I'm new here so excuse this if it has appeared already.
When I open a folder and execute a file the containing folder remains open. Is there a simple script to close the folder when I launch a file?
Thanks!  :)

:) Try RunToClose!

RunToClose - DoubleClicking a file in Explorer closes Explorer afterwards.

You'll find the downloads and more info at 1 Hour Software by Skrommel.


Skrommel's on fire again  :huh: :huh: :huh:  :Thmbsup: :Thmbsup: :Thmbsup:

Is there a simple script to close the folder when I launch a file?
-ajlewis (January 07, 2009, 10:21 AM)
--- End quote ---
This is simple.  Hold down the Left Control key and Right Click on an object.  The object opens and the parent window closes.  The folder always closes but sometimes the file doesn't open (it's a timing thing), which can be irritating.  But it is simple  ;D

--- ---;CloseParent.ahk
;In an Explorer Window, hold down Left-Control and RightClick on a
;folder,shortcut,or file.  The folder/shortcut/file will open/run
;and the Explorer Window will close.
;If you LeftControl-RightClick anyplace other than an object,
;eg a window background, the window will close, very handy
;sometimes the timing doesn't work, hence the sleeps


LControl & RButton::
sleep, 100
sleep, 200
Winclose,ahk_id %ParentWin%


[0] Message Index

Go to full version