• 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
Using terms from syntax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using terms from syntax


  • Subject: Using terms from syntax
  • From: David LeBer <email@hidden>
  • Date: Thu, 22 Sep 2005 10:23:25 -0400

Short version: Where can I find documentation on the correct syntax for 'using terms from'

Little bit longer version:

I'm having problems getting my script to compile, for instance, this compiles:

using terms from application "Macintosh HD:System Folder:Control Panels:File Sharing"

This doesn't:

set startupDisk to path to startup disk as string
set filesharingPath to startupDisk & "System Folder:Control Panels:File Sharing"
using terms from application filesharingPath


And neither does this:

set startupDisk to path to startup disk as string
set filesharingPath to startupDisk & "System Folder:Control Panels:File Sharing"
set filesharing to application filesharingPath
using terms from filesharing


Excruciatingly long version:

I am working on a AppleScript Studio System Setup utility for an IT group.

They are using NetRestore to deploy a base system image and then loading additional stuff on top using Radmind. The upshot is that the Classic System Folder is not loaded as part of the base system image.

My utility sets a bunch of things up, configures some plists, etc, one of the final things I need to do is set the Classic machine name (for some legacy software) but because the Classic environment has never been run when my utility launches I get stopped by the Choose Application dialog looking for "File Sharing".

So I'd like to use 'using terms from' to explicitly specify it's location. But I need to have it dynamic, I don't know the name of the startup disk until run time.

Can anyone offer me a solution?

--
;david

--
David LeBer
"I am codeferous!"
Codeferous Software
site:   http://www.codeferous.com
blog: http://david.codeferous.com




_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Using terms from syntax
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: number
  • Next by Date: Re: Batch file naming - serialize in reverse
  • Previous by thread: Re: Applescript-users Digest, Vol 2, Issue 621
  • Next by thread: Re: Using terms from syntax
  • Index(es):
    • Date
    • Thread