• 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: Running an applescript from a Filemaker Advanced file (Addressing Problems)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running an applescript from a Filemaker Advanced file (Addressing Problems)


  • Subject: Re: Running an applescript from a Filemaker Advanced file (Addressing Problems)
  • From: Peter Baxter <email@hidden>
  • Date: Fri, 8 Dec 2006 16:51:19 +1100

Thanks Malcolm,

I have used that script setup before. The problem I have is that I would like the script to work on any Mac OS computer that accesses the served file.

I am trying to achieve this:
1. Filemaker server runs a database with an internal printing script on a remote computer.
2. A staff member calls that script which will print PDF files from the data in the database, and the script identifies which mac on the network has called for the print run and saves the PDF files to the folder on the local computer.


When I try to identify the network address of the local computer that I am working on using applescript to set the target address for the PDF's, AS corrects the address to the local one.

On 07/12/2006, at 11:08 AM, Malcolm Fitzgerald wrote:


On 07/12/2006, at 5:22 AM, Peter Baxter wrote:

I am working with a printing system that creates a series of PDF files from a variety of layouts in Filemaker Pro. The script I wrote works perfectly when installed locally on a computer, however I wish to use this script when the file is served by Filemaker Pro Advanced.
The address needs to be changed as the computer accessing the script is not the local computer and I keep getting it wrong. Can anyone help me correctly address the script to refer to any computer that accesses the script via Filemaker Server Advanced?

Look at standard Additions osax, you'll want to specify "user domain":

path to : Returns full path name to the folder or application specified
[from system domain/local domain/network domain/user domain/ Classic domain] -- where to look for the indicated folder
[as type class] -- the type to return: alias or string (default is alias)
[folder creation boolean] -- Create the folder if it doesn’t exist? (default is true)
Result : alias -- the path name to the folder or application specified



malcolm

_______________________________________________ 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/mailman//archives/applescript-users

This email sent to email@hidden
References: 
 >Running an applescript from a Filemaker Advanced file (Addressing Problems) (From: Peter Baxter <email@hidden>)

  • Prev by Date: Re: Re: Running an applescript from a Filemaker Advanced file(Addressing Problems)
  • Next by Date: Coercing document list to alias list
  • Previous by thread: Re: Running an applescript from a Filemaker Advanced file (Addressing Problems)
  • Next by thread: Re: Mac or UNIX file (Malcolm Fitzgerald)
  • Index(es):
    • Date
    • Thread