home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connectio…eloper Series 2005 March / Dev.CD Mar 05.iso / Utilities / Printer Setup Utility.app / Contents / Resources / PrintCenter.scriptSuite < prev    next >
Encoding:
Text File  |  2003-12-09  |  3.1 KB  |  116 lines

  1. {
  2.     Name = "PrintCenter";
  3.     AppleEventCode = "pctr";
  4.     
  5.     Classes = {
  6.         NSApplication = {
  7.             AppleEventCode = "capp";
  8.             Superclass = "NSCoreSuite.NSApplication";
  9.             Attributes = {
  10.                 name = {
  11.                     AppleEventCode = "pnam";
  12.                     Type = "NSString";
  13.                     ReadOnly = "YES";
  14.                 };
  15.                 currentPrinter = {
  16.                     AppleEventCode = "cprn";
  17.                     Type = "Printer";
  18.                     ReadOnly = "NO";
  19.                 };
  20.             };
  21.             ToManyRelationships = {
  22.                 printers = {
  23.                     AppleEventCode = "prnt";
  24.                     Type = "Printer";
  25.                     ReadOnly = "YES";
  26.                 };
  27.             };
  28.         };
  29.         Printer = {
  30.             Superclass = "NSCoreSuite.AbstractObject";
  31.             AppleEventCode = "prnt";
  32.             Attributes = {
  33.                 name = {
  34.                     AppleEventCode = "pnam";
  35.                     Type = "NSString";
  36.                     ReadOnly = "YES";
  37.                 };
  38.                 status = {
  39.                     AppleEventCode = "stad";
  40.                     Type = "NSString";
  41.                     ReadOnly = "YES";
  42.                 };
  43.                 aeStatus = {
  44.                     AppleEventCode = "stat";
  45.                     Type = "NSNumber<PrinterStatus>";
  46.                     ReadOnly = "YES";
  47.                 };
  48.                 kind = {
  49.                     AppleEventCode = "kind";
  50.                     Type = "NSString";
  51.                     ReadOnly = "YES";
  52.                 };
  53.             };
  54.             ToManyRelationships = {
  55.                 jobs = {
  56.                     AppleEventCode = "pjob";
  57.                     Type = "Job";
  58.                     ReadOnly = "YES";
  59.                 };
  60.             };
  61.         };
  62.         Job = {
  63.             Superclass = "NSCoreSuite.AbstractObject";
  64.             AppleEventCode = "pjob";
  65.             Attributes = {
  66.                 name = {
  67.                     AppleEventCode = "pnam";
  68.                     Type = "NSString";
  69.                     ReadOnly = "YES";
  70.                 };
  71.                 aeStatus = {
  72.                     AppleEventCode = "stat";
  73.                     Type = "NSNumber<JobStatus>";
  74.                     ReadOnly = "YES";
  75.                 };
  76.                 aePriority = {
  77.                     AppleEventCode = "prio";
  78.                     Type = "NSNumber<Priority>";
  79.                     ReadOnly = "YES";
  80.                 };
  81.             };
  82.         };
  83.     };
  84.     Enumerations = {
  85.         PrinterStatus = {
  86.             AppleEventCode = "stap";
  87.             Enumerators = {
  88.                 Printing = "prng";
  89.                 Idle = "idle";
  90.                 Stopped = "stop";
  91.                 Error = "erro";
  92.             };
  93.         };
  94.         JobStatus = {
  95.             AppleEventCode = "staj";
  96.             Enumerators = {
  97.                 Printing = "prng";
  98.                 Waiting = "wait";
  99.                 HoldUntil = "unti";
  100.                 Hold = "hold";
  101.                 Aborted = "abor";
  102.                 Finished = "fini";
  103.                 Error = "erro";
  104.             };
  105.         };
  106.         Priority = {
  107.             AppleEventCode = "prio";
  108.             Enumerators = {
  109.                 Low = "low ";
  110.                 Normal = "norm";
  111.                 Urgent = "urge";
  112.             };
  113.         };
  114.     };
  115. }
  116.