On 29-10-2010 at 09:45, [email protected] (Rémi Grumeau) wrote:

> First in line: Finder Let say that like any company, you have a > server with files on it. You can access it via w: Coworkers send
    > you a folder where you will find what you have to work on

Short answer:

You can hit shift-command-G in the Finder ('Go to Folder', it's in the
'Go' menu) and type in "Volumes/" and paste in your folder path, change
the "w:" into a "w/" and hit enter.

No need to hunt and peck. (The drive must be already mounted for this to work).


Longer answer, you could write an Applecript to reformat the path to
POSIX and open the link.

file:/// POSIX URL's work just fine on OSX.

If I command-click a path to a folder,
file:///Volumes/mounted-disk/folder/folder/folder/folder/ the folder
will open, regardless whether it's on a Mac or PC. (path needs to exist of course,
and the disk must be mounted).

command-click a path to a file,
file:///Volumes/mounted-disk/folder/folder/folder/folder/some_movie.mov
opens that movie in the associated application (in this case QuickTime
Player).

A litte tinkering you should be able to
create a Applescript that will allow you to select the text of the path you receive from your coworker, reformat it as a POSIX path, and have it
open.

<http://macosx.com/forums/mac-os-x-system-mac-software/303487-using-applescript-open-file.html> should point the way.

In my case, I select a valid POSIX path (so the reformatting is not in
this script) and choose this script from a dropdown menu:



_____________________________________________________

tell application "Mailsmith"
    set chosenFile to the selection as text
end tell


set filepath to chosenFile
try
    set command to "open " & quoted form of filepath
    do shell script command
end try

______________________________________________________




To create you own path to paste in and send to coworkers, use this
AppleScript (save as an application, and put it in the scripts folder in
your menubar):


______________________________________________________

tell application "Finder"
    set chosenFile to the selection as alias
    set the clipboard to POSIX path of the ¬
        chosenFile as text
end tell

_______________________________________________________




Hope this helps!

Rene.

/Volumes/Nucoda_Dropbox/CINE/


--
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to