Chapter 7
|
Get functions 101
Examples
Returns /C:/Documents and Settings/John Smith/Local Settings/Application Data/
for a user named John Smith in Windows.
Returns /MacintoshHD/Users/John Smith/Library/Preferences/ for a user named John
Smith in the Mac OS.
Get(PrinterName)
Format
Get(PrinterName)
Parameter
None
Data type returned
text
Description
In Windows, returns a string with each of these entries separated by a comma:
• the printer name
• the driver name
• the name of the printer port
In Mac OS, returns a string with these entries separated by the word on:
• the Queue name of the printer (if provided)
•the IP address of the printer
If any of this information isn’t available, <Unknown> is inserted in the result (except for
Queue name in the Mac OS).
Note See FileMaker Pro help for information about running scripts
in client/server and
peer-to-peer environments.
Examples
For Windows:
Returns HP LaserJet 4, WINSPOOL, LPT1.
For Mac OS:
Returns 24.109.265.43.
Commentaires sur ces manuels