Re: File-open wierdness in OS X 10.2
Re: File-open wierdness in OS X 10.2
- Subject: Re: File-open wierdness in OS X 10.2
- From: Emmanuel <email@hidden>
- Date: Mon, 16 Sep 2002 22:43:04 +0200
On Monday, September 16, 2002, at 09:56 PM, Mr Tea wrote:
This from John Fowler - dated 14-9-02 04.52 pm:
I have a problem with applescripting bbedit to open files.
This formulation
on openthething(thething)
tell application "BBEdit 6.5"
open file thething
end tell
end openthething
works when called by
set athing to demofolder & filename
openthething(athing)
but not when called by
tell application "Finder"
set demofiles to (list folder demofolder)
end tell
set filename2 to item 10 of demofiles
set athing to demofolder & filename2
openthething(athing)
I get "file 'so and so' doesn't understand the _open_ message" with
the
latter
The difference in behavior is really astonishing. The only thing I can
think of is setting "filename2" to "contents of filename2".
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.