document.wflow 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3. <plist version="1.0">
  4. <dict>
  5. <key>AMApplicationBuild</key>
  6. <string>419</string>
  7. <key>AMApplicationVersion</key>
  8. <string>2.6</string>
  9. <key>AMDocumentVersion</key>
  10. <string>2</string>
  11. <key>actions</key>
  12. <array>
  13. <dict>
  14. <key>action</key>
  15. <dict>
  16. <key>AMAccepts</key>
  17. <dict>
  18. <key>Container</key>
  19. <string>List</string>
  20. <key>Optional</key>
  21. <true/>
  22. <key>Types</key>
  23. <array>
  24. <string>com.apple.applescript.object</string>
  25. </array>
  26. </dict>
  27. <key>AMActionVersion</key>
  28. <string>1.0.2</string>
  29. <key>AMApplication</key>
  30. <array>
  31. <string>Automator</string>
  32. </array>
  33. <key>AMParameterProperties</key>
  34. <dict>
  35. <key>source</key>
  36. <dict/>
  37. </dict>
  38. <key>AMProvides</key>
  39. <dict>
  40. <key>Container</key>
  41. <string>List</string>
  42. <key>Types</key>
  43. <array>
  44. <string>com.apple.applescript.object</string>
  45. </array>
  46. </dict>
  47. <key>ActionBundlePath</key>
  48. <string>/System/Library/Automator/Run AppleScript.action</string>
  49. <key>ActionName</key>
  50. <string>AppleScript ausführen</string>
  51. <key>ActionParameters</key>
  52. <dict>
  53. <key>source</key>
  54. <string>on run {input}
  55. set thePath to POSIX path of input
  56. set cmd to "nvim " &amp; quoted form of thePath
  57. tell application "iTerm"
  58. activate
  59. set myterm to (make new terminal)
  60. tell myterm
  61. launch session "Default Session"
  62. tell the last session
  63. write text cmd
  64. end tell
  65. end tell
  66. end tell
  67. end run</string>
  68. </dict>
  69. <key>BundleIdentifier</key>
  70. <string>com.apple.Automator.RunScript</string>
  71. <key>CFBundleVersion</key>
  72. <string>1.0.2</string>
  73. <key>CanShowSelectedItemsWhenRun</key>
  74. <false/>
  75. <key>CanShowWhenRun</key>
  76. <true/>
  77. <key>Category</key>
  78. <array>
  79. <string>AMCategoryUtilities</string>
  80. </array>
  81. <key>Class Name</key>
  82. <string>RunScriptAction</string>
  83. <key>InputUUID</key>
  84. <string>2BE51EC7-D51B-41FC-9342-F351D511B54B</string>
  85. <key>Keywords</key>
  86. <array>
  87. <string>Ausführen</string>
  88. </array>
  89. <key>OutputUUID</key>
  90. <string>5E749FDE-6215-459F-BDCC-9B6ADD62E4B3</string>
  91. <key>UUID</key>
  92. <string>12DECC29-9D36-4B78-BE49-CA2766ADFC77</string>
  93. <key>UnlocalizedApplications</key>
  94. <array>
  95. <string>Automator</string>
  96. </array>
  97. <key>arguments</key>
  98. <dict>
  99. <key>0</key>
  100. <dict>
  101. <key>default value</key>
  102. <string>on run {input, parameters}
  103. (* Your script goes here *)
  104. return input
  105. end run</string>
  106. <key>name</key>
  107. <string>source</string>
  108. <key>required</key>
  109. <string>0</string>
  110. <key>type</key>
  111. <string>0</string>
  112. <key>uuid</key>
  113. <string>0</string>
  114. </dict>
  115. </dict>
  116. <key>conversionLabel</key>
  117. <integer>0</integer>
  118. <key>isViewVisible</key>
  119. <true/>
  120. <key>location</key>
  121. <string>309.000000:316.000000</string>
  122. <key>nibPath</key>
  123. <string>/System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib</string>
  124. </dict>
  125. <key>isViewVisible</key>
  126. <true/>
  127. </dict>
  128. </array>
  129. <key>connectors</key>
  130. <dict/>
  131. <key>workflowMetaData</key>
  132. <dict>
  133. <key>workflowTypeIdentifier</key>
  134. <string>com.apple.Automator.application</string>
  135. </dict>
  136. </dict>
  137. </plist>