MACSCRPT Archives

March 2013

MACSCRPT@LISTSERV.DARTMOUTH.EDU

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

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

Print Reply
Subject:
From:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 28 Mar 2013 15:07:33 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
On Mar 28, 2013, at 10:11 AM, Bill Steele <[log in to unmask]>
 wrote:

> Applescript just doesn't like me these days. 
> 
> set dPath to path to desktop as string
> set newFiepath to dPath & "foo.txt" as string
> -->"MacHD/Users/Bill/desktop/foo.txt"
> 
> But now I insert this into a Filemaker script (FM11 0v4) and it produces
> 
> -->"MacHD/Users/Bill/desktop/#foo.txt"
> 
> Where did the pound sign come from?
> 
> Bill Steele
> [log in to unmask]

It Works for me.  You might want to check for hidden characters in the script.  Unicode nulls slide in occasionally.

Filemaker 11.04
Mac OS 10.8.3

-Mark
Sometimes nothing is something.

ATOM RSS1 RSS2