Automatically change Explorer pane directory?

This forum is user-to-user based and not regularly monitored by IDM.
Please see the note at the top of this page on how to contact IDM.

Automatically change Explorer pane directory?

Postby blahbly » Mon May 14, 2007 5:55 am

When I right click open a file in UEStudio from Windows explorer it opens the file just fine, but the explorer pane always shows some random directory that I was working on a few days ago, that has nothing to do with the file itself.

How can I make the explorer window automatically navigate to the directory that the file I'm opening is in?
User avatar
blahbly
Newbie
 
Posts: 2
Joined: Wed Apr 18, 2007 11:00 pm

Re: Automatically change Explorer pane directory?

Postby Mofi » Mon May 14, 2007 6:46 am

Not possible. The File Tree View does never change automatically the path. And of course, that would be very tricky because you can open multiple files at once and the files can be even on different drives.

However, you can write a feature request email to IDM support and ask for an option that for example the path in explorer pane of the File Tree View is set after start of UltraEdit to the path of the last openend file, if at least 1 file is open after start of UE.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 3937
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Automatically change Explorer pane directory?

Postby blahbly » Tue May 15, 2007 3:17 am

Thanks for the feedback. As per your suggestion I sent a feature request to the IDM team via email.

There seems to be a command line option to run a script. I have no idea how much control the scripting language gives me, but when I have some time I'll see if I can write a javascript that gets run on startup to change the File Tree View directory based on the open file.
User avatar
blahbly
Newbie
 
Posts: 2
Joined: Wed Apr 18, 2007 11:00 pm

Re: Automatically change Explorer pane directory?

Postby Mofi » Tue May 15, 2007 6:44 am

There is no script command which can change something anywhere else than in the document windows. So the path in the File Tree View cannot be changed with a script, except you modify the entry in uedit32.ini before you start UltraEdit, for example with a visual basic script or with a batch file and a tool which can find and replace a text in a text file.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 3937
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Automatically change Explorer pane directory?

Postby reincarnate » Thu May 17, 2007 1:37 pm

Mofi wrote:Not possible. The File Tree View does never change automatically the path. And of course, that would be very tricky because you can open multiple files at once and the files can be even on different drives.

Only one file can be edited at a time. Only one file can be in focus. Only one file (can be set to show) its full path shows up in the title bar.

How can this be "very tricky"?
User avatar
reincarnate
Newbie
 
Posts: 1
Joined: Wed May 16, 2007 11:00 pm


Return to UEStudio General Discussion