• 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: "An error of type -619 has occured" SOLVED THANKS ALL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "An error of type -619 has occured" SOLVED THANKS ALL


  • Subject: Re: "An error of type -619 has occured" SOLVED THANKS ALL
  • From: "kannan balu" <email@hidden>
  • Date: Fri, 12 Oct 2001 11:04:49 +0530

Hi ALL,

Now my script works without any error. Thanks for those who helped me to solve
this problem. I also thank particularly Bill Briggs & Nigel Garvey for giving
their valuable suggestions.

The Corrected Script is :


---------------------------------------------------------------------------
tell application "kk"
activate
-- I am using sigma addition
type text "c" holding down command

set the messageText to the clipboard as string
end tell

set fileTarget to "Macintosh HD:newfile" as text

writeData(messageText,fileTarget)

try
set theFileReference to open for access file fileTarget with write
permission
set eof theFileReference to 0
write messageText to theFileReference
close access theFileReference
on error errMsg number errNum
try
close access theFileReference
end try
error errMsg number errNum
end try
end writeData

--------------------------------------------------------------------------
-Kannan

----- Original Message -----

  • Prev by Date: Re: Scripting Terminal
  • Next by Date: Re: applescript-users digest, Vol 2 #1188 - 10 msgs
  • Previous by thread: Re: Scripting Terminal
  • Next by thread: Re: applescript-users digest, Vol 2 #1188 - 10 msgs
  • Index(es):
    • Date
    • Thread