Re: FMPro to Contacts (AddressBook)
Re: FMPro to Contacts (AddressBook)
- Subject: Re: FMPro to Contacts (AddressBook)
- From: Bruce Robertson <email@hidden>
- Date: Fri, 08 Nov 2013 12:55:57 -0800
On Nov 8, 2013, at 12:42 PM, Stockly, Ed wrote:
> On 11/8/13 12:36 p.m., "Bruce Robertson" <email@hidden> wrote:
>
>> Yes, you can specify an import source path.
>
> Cool. In the version I was using, when I needed to import several files into
> the same database with a single command, I would scripted renaming each
> import file and replace the file set up in the FileMaker script.
>
>> What do you mean by "return values"?
>
> Inside a script. When appleScript sends as command to an application it gets
> a return value. (Text, number, boolean, etc.) which you can then use as a
> conditional. Calling a fileMaker script from appleScript doesn't give me a
> value I can use in my script. It just executes. Has that changed?
FileMaker scripts can return results to OTHER FileMaker scripts with the "Exit Script []" statement.
The calling script reads this result using the get function Get( scriptResult )
But they can't natively return results to an applescript that called them.
You could, instead, within the FileMaker script, set a standard FileMaker field or better yet, a global FileMaker field; and read that from your applescript.
Bruce
_______________________________________________
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