File-open wierdness in OS X 10.2
File-open wierdness in OS X 10.2
- Subject: File-open wierdness in OS X 10.2
- From: John Fowler <email@hidden>
- Date: Sat, 14 Sep 2002 10:52:43 -0500
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
I had this working but after upgrading to OS X 10.2 it quit working. I
am running BBedit 6.5.3.
I have verified that identical strings are submitted to the handler (by
looking at them with a "display dialog")
I also verified this by getting "true" from the proposition (filename
is equal to filename2)
What is going on here? There must be something I'm missing. Any help
would be appreciated.
John Fowler
_______________________________________________
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.