Subject: | |
From: | |
Reply To: | |
Date: | Wed, 28 Feb 2007 16:19:42 +0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 4:10 pm +0000 28/2/07, John Delacour wrote:
>The same error will occur in any application, not just the Finder.
>This will run commented but not uncommented with any app name:
>
> --tell application "Preview"
> set _date to "22-Feb-2007"
> date (_date as string)
> --end tell
>
>Uncommented, the event 'core getd' will be sent
...as follows:
Process("Finder").SendAE "core,getd,'----':obj {form:name,
want:type(ldt ), seld:Ò22-Feb-2007Ó...
On the other hand there is no problem with this:
tell application "Finder"
set _date to "22-Feb-2007"
run script "date (\"" & _date & "\")"
end tell
Process("Finder").SendAE "syso,dsct,'----':Òdate ("22-Feb-2007")Ó...
JD
|
|
|