Ok, in my project, when the user is viewing a list box of names, clicking shows a small jpg of the picture, and double clicking opens a full sized version. I also have a button which opens the directory of the selected file (showing it in windows, in a new window). Now I know that the "open" command used on a directory path will open a new window and show the directory contents, and the "explore" command will open a new window with the windows explorer sidebar shown. But What I want to do is auto-select the file which was selected in the autoplay menu. That way the user can then know exactally where it is quickly and easily, and they can then act upon the file immediately, either copying it, emailing it, etc... Is there any sort of "select" command, or any way of doing this?
Announcement
Collapse
No announcement yet.
Selecting a file in explorer window
Collapse
X
-
Re: Selecting a file in explorer window
Why don't you put a single text object at the top of the screen labelled "path to file" and just assign the file path to that text box on double click. That way when they double click they get the full sized jpp as well as the file path without a pop-up. You could also add a "copy to clipboard" button. That's how I'd do it...
Corey Milner
Creative Director, Indigo Rose Software
-
Re: Selecting a file in explorer window
No, that's what I'm doing on the double click--opening the jpg. The thing I may not have mentioned is that there's around 100 jpg files all residing in the same directory (other project pages have similar setups with other file types like pdf). What I want to do is show the file in windows so the use can copy that file to their HD, or email it to a customer, or whatever they need/want to do with it. I am opening the directory now, but with around 100 jpgs in it, the user has to scroll through the list looking for the one they want--which is silly. I just want it to hilight the correct one (much as typing the first few letters of a file name will auto-select the best matching file.)
Comment
-
Re: Selecting a file in explorer window
In that case why not just add "copy to clipboard" and "email picture" buttons? There's no need to even show them the file nor the file path in this case...
Corey Milner
Creative Director, Indigo Rose Software
Comment
-
Re: Selecting a file in explorer window
I looked into creating an email button, but I determined that there was no way to click a link that opened up an email program and attached a file--besides most people here use the standard groupwise, but some use yahoo or something silly like that...Maybe I was wrong, but there seemed to be no way to attach files automatically...
Comment
-
Re: Selecting a file in explorer window
One thing that you could do is use an action to copy the jpg file into a specific, unique location, say "%TempDir%\Images\%ImageName%". Then do the Open action on that folder. That way it is the only file in the folder. Then on your application exit event, make actions to nuke out the temporary folders and files.
Just a thought...
Comment
Comment