• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: FMPro to Contacts (AddressBook)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FMPro to Contacts (AddressBook)


  • Subject: Re: FMPro to Contacts (AddressBook)
  • From: Bruce Robertson <email@hidden>
  • Date: Mon, 11 Nov 2013 09:50:50 -0800

Enter the script into a field; not a file.

On Nov 11, 2013, at 1:05 AM, Bob Stern <email@hidden> wrote:

>> On Nov 8, 2013, at 1:33 PM, Bruce Robertson <email@hidden> wrote:
>>
>> NO escaping.
>> Set Variable [ $baseScript; "display dialog theUserName" ]
>
> Can you illustrate how your method reduces the need for escaping?  If the AppleScript command were "tell application "Finder" to ___", I believe you would have to escape the quotes before and after Finder just as in Jim Weisbin's example.
>
> If you can accept a multi-file solution, you can avoid escaping AppleScript by using FileMaker's Open URL script step to call an external AppleScript file, saved as an application.  Instead of the FileMaker substitutions you illustrate below, the AppleScript can read values of FileMaker fields.
>
>
>> Set a variable to a block of text that holds the applescript you want; with place holders in the text.
>> Use FileMaker substitutions instead; and then "perform calculated applescript" after the substitutions have been made.
>> Set Variable [ $myScript; substitute( $baseScript; "theUserName"; quote(get( userName)))]
>> Perform Applescript [ $myScript ]
>
>
> Bob Stern
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


References: 
 >RE: FMPro to Contacts (AddressBook) (From: Jim Weisbin <email@hidden>)
 >Re: FMPro to Contacts (AddressBook) (From: Bruce Robertson <email@hidden>)
 >Re: FMPro to Contacts (AddressBook) (From: Bob Stern <email@hidden>)

  • Prev by Date: Re: Universal Scripts Backup
  • Next by Date: Re: Need help sending emails via AppleScript (without a mail client)
  • Previous by thread: Re: FMPro to Contacts (AddressBook)
  • Next by thread: ListWillNotEmpty
  • Index(es):
    • Date
    • Thread