home *** CD-ROM | disk | FTP | other *** search
/ MacFormat UK 128 / MF_UK_128_1.iso / mac / Shareware⁄Freeware (OS X) / Internet / Transmit 2.3 / Transmit.app / Contents / Resources / Transmit.scriptSuite < prev    next >
Encoding:
Text File  |  2003-02-13  |  4.7 KB  |  228 lines

  1. {
  2.     "Name" = "Transmit";
  3.     "AppleEventCode" = "TrAn";
  4.     
  5.     "Classes" = {
  6.         "TransmitApp" = {
  7.             "Superclass" = "NSCoreSuite.NSApplication";
  8.             "AppleEventCode" = "capp";
  9.             "ToManyRelationships" = {
  10.                 "orderedDocuments" = {
  11.                     "Type" = "FTPDocument";
  12.                     "AppleEventCode" = "docu";
  13.                 };
  14.             };
  15.             
  16.             "Attributes" = {
  17.                 "suppressAppleScriptAlerts" = {
  18.                     "Type" = "NSNumber<Bool>";
  19.                     "AppleEventCode" = "ASAl";
  20.                     "ReadOnly" = "No";
  21.                 };
  22.             };
  23.         };
  24.         
  25.         "FTPDocument" = {
  26.             "Superclass" = "NSCoreSuite.NSDocument";
  27.             "AppleEventCode" = "docu";
  28.  
  29.             "SupportedCommands" = {
  30.                 "Transmit.Connect" = "connectTo:";
  31.                 "Transmit.DeleteFile" = "deleteScript:";
  32.                 "Transmit.Disconnect" = "disconnect:";
  33.                 "Transmit.Download" = "downloadScript:";
  34.                 "Transmit.SetTheirStuff" = "setTheirStuffPath:";
  35.                 "Transmit.SetYourStuff" = "setYourStuffPath:";
  36.                 "Transmit.Upload" = "uploadScript:";
  37.                 "Transmit.Synchronize" = "synchronizeScript:";
  38.             };
  39.  
  40.             "Attributes" = {
  41.                 "yourStuffPath" = {
  42.                     "Type" = "NSString";
  43.                     "AppleEventCode" = "ysPT";
  44.                     "ReadOnly" = "Yes";
  45.                 };
  46.                 "theirStuffPath" = {
  47.                     "Type" = "NSString";
  48.                     "AppleEventCode" = "tsPT";
  49.                     "ReadOnly" = "Yes";
  50.                 };
  51.             };
  52.         };
  53.     };
  54.     
  55.     
  56.     "Commands" = {
  57.         
  58.         "GetURL" = 
  59.         {
  60.             "CommandClass" = "TransmitScriptCommand";
  61.             "AppleEventCode" = "GURL";
  62.             "AppleEventClassCode" = "GURL";
  63.         };
  64.         
  65.         "OpenURL" = 
  66.         {
  67.             "CommandClass" = "TransmitScriptCommand";
  68.             "AppleEventCode" = "OURL";
  69.             "AppleEventClassCode" = "WWW!";
  70.         };
  71.         
  72.         "Connect" = {
  73.             "AppleEventCode" = "cONT"; 
  74.             "Arguments" = {
  75.                 "Server" = {
  76.                     "AppleEventCode" = "sRVR";
  77.                     "Optional" = "No";
  78.                     "Type" = "NSString";
  79.                 };
  80.                 "UserName" = {
  81.                     "AppleEventCode" = "uNAM";
  82.                     "Optional" = "Yes";
  83.                     "Type" = "NSString";
  84.                 };
  85.                 "Password" = {
  86.                     "AppleEventCode" = "uPAS";
  87.                     "Optional" = "Yes";
  88.                     "Type" = "NSString";
  89.                 };
  90.                 "InitialPath" = {
  91.                     "AppleEventCode" = "iPAT";
  92.                     "Optional" = "Yes";
  93.                     "Type" = "NSString";
  94.                 };
  95.                 "Port" = {
  96.                     "AppleEventCode" = "pORT";
  97.                     "Optional" = "Yes";
  98.                     "Type" = "NSString";
  99.                 };
  100.                 "ConnectionTypes" = {
  101.                     "AppleEventCode" = "cTYP";
  102.                     "Optional" = "Yes";
  103.                     "Type" = "NSNumber<ConnectionTypes>";
  104.                 };
  105.             }; 
  106.             "CommandClass" = "NSScriptCommand";
  107.             "ResultAppleEventCode" = "bool";
  108.             "Type" = "NSNumber<Bool>";
  109.         }; 
  110.     
  111.         "Disconnect" = {
  112.             "AppleEventCode" = "dCNT";
  113.             "CommandClass" = "NSScriptCommand";
  114.             "Type" = "";
  115.         };
  116.     
  117.         "Download" = {
  118.             "AppleEventCode" = "dOWN";
  119.             "Arguments" = {
  120.                 "File" = {
  121.                     "AppleEventCode" = "dFLE";
  122.                     "Type" = "NSString";
  123.                 };
  124.             };
  125.             "CommandClass" = "NSScriptCommand";
  126.             "ResultAppleEventCode" = "bool";
  127.             "Type" = "NSNumber<Bool>";
  128.         };
  129.  
  130.         "Upload" = {
  131.             "AppleEventCode" = "uPLD"; 
  132.             "Arguments" = {
  133.                 "File" = {
  134.                     "AppleEventCode" = "uFLE";
  135.                     "Type" = "NSString";
  136.                 };
  137.             };
  138.             "CommandClass" = "NSScriptCommand";
  139.             "ResultAppleEventCode" = "bool";
  140.             "Type" = "NSNumber<Bool>";
  141.         };
  142.  
  143.         "DeleteFile" = {
  144.             "AppleEventCode" = "DELT";
  145.             "Arguments" = {
  146.                 "File" = {
  147.                     "AppleEventCode" = "DEFL";
  148.                     "Type" = "NSString";
  149.                 };
  150.             };
  151.             "CommandClass" = "NSScriptCommand";
  152.             "ResultAppleEventCode" = "bool";
  153.             "Type" = "NSNumber<Bool>";
  154.         };
  155.  
  156.         "SetTheirStuff" = {
  157.             "AppleEventCode" = "sTSP"; 
  158.             "Arguments" = {
  159.                 "Path" = {
  160.                     "AppleEventCode" = "tPTH";
  161.                     "Type" = "NSString";
  162.                 };
  163.             };
  164.             "CommandClass" = "NSScriptCommand";
  165.             "ResultAppleEventCode" = "bool";
  166.             "Type" = "NSNumber<Bool>";
  167.         };
  168.  
  169.         "SetYourStuff" = {
  170.             "AppleEventCode" = "sYSP"; 
  171.             "Arguments" = {
  172.                 "Path" = {
  173.                     "AppleEventCode" = "yPTH";
  174.                     "Type" = "NSString";
  175.                 };
  176.             };
  177.             "CommandClass" = "NSScriptCommand";
  178.             "ResultAppleEventCode" = "bool";
  179.             "Type" = "NSNumber<Bool>";
  180.         };
  181.     
  182.         "Synchronize" = {
  183.             "AppleEventCode" = "snCZ"; 
  184.             "Arguments" = {
  185.                 "SyncMethods" = {
  186.                     "AppleEventCode" = "cZMT";
  187.                     "Type" = "NSNumber<SyncMethods>";
  188.                 };
  189.                 "SyncDirections" = {
  190.                     "AppleEventCode" = "cZDR";
  191.                     "Type" = "NSNumber<SyncDirections>";
  192.                 };
  193.             }; 
  194.             "CommandClass" = "NSScriptCommand";
  195.             "ResultAppleEventCode" = "bool";
  196.             "Type" = "NSNumber<Bool>";
  197.         }; 
  198.     };
  199.             
  200.     
  201.     "Enumerations" = 
  202.     {
  203.         "ConnectionTypes" = {
  204.             "AppleEventCode" = "cTYP"; 
  205.             "Enumerators" = {
  206.                 "FTP " = "FTP "; 
  207.                 "SFTP" = "SFTP";
  208.             };
  209.         };
  210.         
  211.         "SyncDirections" = {
  212.             "AppleEventCode" = "syDR"; 
  213.             "Enumerators" = {
  214.                 "DownloadDir" = "sDWN";
  215.                 "UploadDir" = "sUPL";
  216.             };
  217.         };
  218.         
  219.         "SyncMethods"= {
  220.             "AppleEventCode" = "syMT"; 
  221.             "Enumerators" = {
  222.                 "Mirror" = "sMIR";
  223.                 "Update" = "sUPD";
  224.             };
  225.         };
  226.     };
  227. }
  228.