February 6, 200817 yr I used to use the following AppleScript to change printers in FileMaker: tell application "FileMaker Pro" to set printerChoice to cell "gPrinterReceipt" of table "Preferences" try tell application "Printer Setup Utility" to set current printer to printer (printerChoice as string) on error display dialog "Sorry, the printer, '" & printerChoice & "' was not found." buttons {"dang"} default button 1 tell application "FileMaker Pro" to set cell "gBlnAppleScriptError" of table "Preferences" to "1" end try But now the Printer Setup Utility is gone, and its functions included in System Preferences. Can this be scripted? If so, can my code be modified to handle both cases?
March 6, 200817 yr though there's not an application by that name, you can still tell application "Printer Setup Utility" and if you Open Dictionary ... in Script Editor, you'll see you can indeed view a the dictionary
March 10, 200817 yr Author though there's not an application by that name, you can still tell application "Printer Setup Utility" and if you Open Dictionary ... in Script Editor, you'll see you can indeed view a the dictionary Wow, it works perfectly. I feel silly. I swear it wasn't there when Leopard first came out.
Create an account or sign in to comment