Chris Williams Posted August 26, 2003 Posted August 26, 2003 I'm relieved that Print Center is so AppleSciptable! One thing, I cant get is the list of printers in the list. Strike that, I can get the list, but when I put it into Filemaker is comes out all in one line. How do I get the list with a rtn after each printer?
Chris Williams Posted August 26, 2003 Author Posted August 26, 2003 I'm going to go ahead and answer my own question. The trick is using a repeating field. In this case, I have a FM Field "Printer List" with a round number of 10 repetitions. And this was the code I used in this case. tell application "Print Center" set printerlist to (name of printers as list) end tell tell application "FileMaker Pro" set the cell "Printer List" of record 1 of database 1 to (printerlist as list) end tell
Chris Williams Posted August 26, 2003 Author Posted August 26, 2003 tell application "Print Center" set printerlist to (name of printers as list) end tell tell application "FileMaker Pro" set the cell "Printer List" of record 1 of database 1 to (printerlist as list) end tell
Recommended Posts
This topic is 7761 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now