Mime-Version: |
1.0 |
Content-Type: |
text/plain; charset="macintosh" ; format="flowed" |
Date: |
Wed, 28 Feb 2007 16:19:42 +0000 |
Reply-To: |
|
Subject: |
|
From: |
|
In-Reply-To: |
<p06240828c20b56e5d0e4@[10.0.0.1]> |
Content-Transfer-Encoding: |
8bit |
Sender: |
|
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
|
|
|