• 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
File-open wierdness in OS X 10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: File-open wierdness in OS X 10.2
      • From: Paul Skinner <email@hidden>
    • Re: File-open wierdness in OS X 10.2
      • From: Mr Tea <email@hidden>
  • Prev by Date: No-sleep
  • Next by Date: Getting styled text out of FileMaker
  • Previous by thread: No-sleep
  • Next by thread: Re: File-open wierdness in OS X 10.2
  • Index(es):
    • Date
    • Thread