"An error of type -619 has occured"
"An error of type -619 has occured"
- Subject: "An error of type -619 has occured"
- From: "kannan balu" <email@hidden>
- Date: Thu, 11 Oct 2001 17:07:36 +0530
Hi All,
I having a problem of retrieving the clipboard contents into the AS. An
Execution Error occurs during runtime. The error is "type -619".
Can any one help to solve this problem. Thanks
The Script is :
---------------------------------------------------------------------------
tell application "kk" to activate
-- I am using sigma addition
type text "c" holding down command
set the messageText to (the clipboard) as text
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
--------------------------------------------------------------------------Get
more from the Web. FREE MSN Explorer download :
http://explorer.msn.com