On Mar 28, 2013, at 7:11 AM, Bill Steele 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?
Hi Bill,
The most likely suspect is AppleScript's text item delimiters. An aborted script run may have left them set to "#". For normal text concatenation they need to be set to "".
Stan C.