MACSCRPT Archives

February 2007

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0
Content-Type:
text/plain; charset="macintosh" ; format="flowed"
Date:
Wed, 28 Feb 2007 16:19:42 +0000
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
John Delacour <[log in to unmask]>
In-Reply-To:
<p06240828c20b56e5d0e4@[10.0.0.1]>
Content-Transfer-Encoding:
8bit
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Parts/Attachments:
text/plain (30 lines)
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

ATOM RSS1 RSS2