• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: File-open wierdness in OS X 10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: File-open wierdness in OS X 10.2 (From: Mr Tea <email@hidden>)

  • Prev by Date: Re: System version as number (on non-US systems)
  • Next by Date: Re: Choose file/folder unicode allergy
  • Previous by thread: Re: File-open wierdness in OS X 10.2
  • Next by thread: Re: File-open wierdness in OS X 10.2
  • Index(es):
    • Date
    • Thread