Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7761 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.