Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Action after opening a folder

24 Sep 2013   #11
ICIT2LOL

Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
 
 

Hmm Gladson if the OP would answer we might get to the bottom of what is trying to be done.

I personally cannot see what is wrong with clicking on Start > All programs and picking the one you want or just have it on the taskbar or the Desktop it isn't rocket science.


My System SpecsSystem Spec
.
24 Sep 2013   #12
SirDarknight

Windows 7 Ultimate 64 Bit
 
 

As gladson1976 said, maybe u got me and him, so now the question is : is it possible?
My System SpecsSystem Spec
24 Sep 2013   #13
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by SirDarknight View Post
Is it possible that when I'll open a folder a program or file will open automatically??

Example : I open Program Files and Windows Media Player starts automatically!
Sure - that is possible... but you might have to change some settings to make it reliable.

I'm going to assume that you are "opening" Program Files using Windows (file) Explorer. Can you live with the Windows Classic theme? Because in that theme, you can set Windows (file) Explorer to display the full path to the folder that was opened. In this case, C:\Program Files

If you use a tool like AutoIt, you can have a script that just waits around until it "sees" a window with that title. Once such a window appears, the script can launch Windows Media Player.Let me know if you want know more.

Edit: I might be able to make it work with other themes - I just use Classic for its speed.

(You might want to watch the video in the full screen mode and at 720p resolution.)
My System SpecsSystem Spec
.

25 Sep 2013   #14
SirDarknight

Windows 7 Ultimate 64 Bit
 
 

Quote   Quote: Originally Posted by UsernameIssues View Post
Quote   Quote: Originally Posted by SirDarknight View Post
Is it possible that when I'll open a folder a program or file will open automatically??

Example : I open Program Files and Windows Media Player starts automatically!
Sure - that is possible... but you might have to change some settings to make it reliable.

I'm going to assume that you are "opening" Program Files using Windows (file) Explorer. Can you live with the Windows Classic theme? Because in that theme, you can set Windows (file) Explorer to display the full path to the folder that was opened. In this case, C:\Program Files

If you use a tool like AutoIt, you can have a script that just waits around until it "sees" a window with that title. Once such a window appears, the script can launch Windows Media Player.Let me know if you want know more.

Edit: I might be able to make it work with other themes - I just use Classic for its speed.

(You might want to watch the video in the full screen mode and at 720p resolution.)
Thanks a lot to everyone and specially to UsernameIssues. Now I know what's the difference between a normal programmer like me and a pro programmer. I know Autoit,C#,Java but I still didn't find out how to do that.So thanks again to everyone.
My System SpecsSystem Spec
25 Sep 2013   #15
UsernameIssues

W7 Pro SP1 64bit
 
 

Your are too kind. A professional programmer would laugh at my code. I am but a hobbyist with no formal training. But I've seen enough professional coding to know what I typically leave out - namely, error checking and error handling.

The code for that post was just to show proof of concept. I would probably use it just as you see it with only a few small additions. But if I were to write it for others to use, I would need some error checking and error handling. As written, it can just hang in an infinite loop. I would know how/when to kill the script if it hung. Others should not have to do that.

Infinite loops are a usually bad thing when they have no error checking/handling - and the code above has two such loops. That said, if you keep the Opt line of code that enables AutoIt's tray icon mouse-over tool-tip debugging, then you will know when/where the script failed/hung and you can take action as needed/desired.

-enjoy
My System SpecsSystem Spec
Reply

 Action after opening a folder




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Opening a folder with different credentials
So, I'm an IT manager with administrative privileges in a domain. On one of our servers there's an IT folder that only those with said privileges can enter. This is all well and good. My question is: is there a way to use my credentials on another computer whose user is already in said domain? ...
Network & Sharing
PLEASE HELP - The action can't be completed because the folder....
hi guys, every single time I try to rename a folder the boring message "The action can't be completed because the folder or the file is in use" appears even if apparently neither the folder or a file in it is in use. What I have to do is: Task Manager > Explorer.exe > End Process > File > New...
General Discussion
problem opening a folder
when i double click to open a folder, a dialogue box appears showing "this file does not have a program associated with it for performing the action. please install a program or if one is already installed, create an association in the default program in the control panel" but the folders are...
General Discussion
The action can't be completed bec the folder/file is in use by another
When I try to delete a few videos on my desktop it will not allow me by saying that they are use by another program. The other program has been uninstalled a little while back so I am not sure how to fix. I've checked several places and it's not on my computer any longer. How do I get this...
General Discussion
Choosing the Default Action When Dragging a File to a Folder
When you drag a file to a folder with the mouse, if you are dragging with left button, in one computer it says, copy to "the destination folder", in another computer (one is Home Premium x64, the other is Ultimate x64) it says, again with the left button, move to "the destination Folder. Is it a...
General Discussion
opening a folder
when I open a folder while another program is running It opens behind the open program How do I get it to open on top of open program thanks
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:00.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App