AppleScript to open a file using the NSObject method - (BOOL)application: openFile:
AppleScript to open a file using the NSObject method - (BOOL)application: openFile:
- Subject: AppleScript to open a file using the NSObject method - (BOOL)application: openFile:
- From: Stephen J McIntosh <email@hidden>
- Date: Tue, 7 Dec 2004 20:37:07 +1100
Hi All
I have the following script which is sent to my test application
tell application "ImageBuddy"
open file "/Users/stephenmcintosh/Pictures/100_0590.JPG"
end tell
which is set up to receive it with a delegate method in my controller class using:
- (BOOL)application: openFile:
The parameter passed to openfile appears to be in the the form of old Classic pathname format or HFS format
/:Users:stephenmcintosh:Pictures:100_0590.JPG
Question is why
"/Users/stephenmcintosh/Pictures/100_0590.JPG" being converted to
/:Users:stephenmcintosh:Pictures:100_0590.JPG and
what would be the best way to stop this conversion.
Thanks in advance
Stephen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden