Re: Scripting "Print Center" in X
Re: Scripting "Print Center" in X
- Subject: Re: Scripting "Print Center" in X
- From: Pier Kuipers <email@hidden>
- Date: Mon, 29 Apr 2002 12:26:04 +0100
Mattias,
If the same goes for OS X as for 9.1, you'll have to include a
"continue quit" statement:
tell application "Print Center"
activate
set current printer to printer 1
quit
continue quit
end tell
Hope it works...
Pier
At 13:07 +0200 29/04/02, Mattias Jonsson wrote:
In OS X, 10.1.4, AS 1.8:
I'm pleased to see that I easily can change the default printer with
Applescript.
However, I can't tell Print Center to quit with applescript.
What in the dictionary did I miss, or, is this a "feature"?
--START
tell application "Print Center"
activate
set current printer to printer 1
--This quit doesn't work, why?
quit
end tell
--END
Any ideas?
TIA
/Mattias Jonsson
Framkom AB
Tel: +46(0)8-453 57 02
Fax: +46(0)8-453 58 58
Mob: +46(0)70-777 28 68
http://www.framkom.se
mailto:email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
--
Pier Kuipers
Visual ID
* the Media Asset Management solution *
2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Mobile +353 87 294 3063
Fax +353 1 478 1366
ISDN +353 1 602 0754
http://www.visualid.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.