• 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
who am I talking to?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

who am I talking to?


  • Subject: who am I talking to?
  • From: Michael Turner <email@hidden>
  • Date: Fri, 19 Oct 2001 13:14:33 -0400

I have script written in Smile. The script has some commands which are
outside any 'tell' block.

I expected the materials outside the tell block to be executed by Smile, and
they are. But the dictionary for smile (and Satimage addition) doesn't
include 'open' or 'close'.

The file in question has creator codes which are not Smile. (It is XPR3,
which is QuarkXPress).

Here is script bit:
----------
open thePath & elementString & "" as alias
set windowID to the result
set stringThing to text of windowID
RECompare stringThing pattern "\\\\\\\\"
if the result is true then
activate
display dialog "This element failed the final test."
return
else
--display dialog (stringThing & result) -- error check line
end if
close (windowID) without saving

----------
Who recieves "open" & "close"? And why?

Thanks everyone

/Michael Turner


  • Prev by Date: Re:Adding info to a Word doc
  • Next by Date: Deselecting items of the desktop
  • Previous by thread: Re: Converting an applescript from 68k app to PPC
  • Next by thread: Re: who am I talking to?
  • Index(es):
    • Date
    • Thread