Name
FontSync Extension
Syntax
(* 'tell app "FontSync"' targets the FontSync control panel. Make sure to specify "FontSync Extension" if you are using the extension's commands not the control panel's. They are different applications! *) tell app "FontSync Extension" set theProfile to (new file with prompt "Save the profile as: "¬ default name "FontSync profile") end tell
Dictionary commands
-
create font profile
alias
This command creates a FontSync profile of the computer’s active fonts and stores it in the file represented by the
alias
parameter. You can use the new file scripting addition (which returns analias
type) to prompt the user to create a new file for the profile. This example creates a FontSync profile in thealias
represented by thetheProfile
variable:create font profile (new file with prompt¬ "Pick the FontSync profile file location"¬ default name "FontSync profile" )
-
with creator class
This property specifies the four-character creator type for the FontSync profile file. The default type is “‘fns’.” If you try to set this property to other creator types such as “R*ch,” then you will raise a script error.
-
version integer
As of FontSync 1.0, you cannot use this parameter without raising an error.
-
- get reference to object
Use this command to get some FontSync Extension data such as:
tell app "FontSync Extension" to get version
-
match against
alias
Use this command to match the font information in one computer system with another computer’s font sets. The
alias ...
Get AppleScript in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.