annotate resources/MacOS/BelaPdBuild.app/Contents/document.wflow @ 204:f6a3b9265e6f

Better better hello-midi. Updated icon and text description for BelaPdBuild.app
author Giulio Moro <giuliomoro@yahoo.it>
date Sat, 06 Feb 2016 05:24:43 +0000
parents b5d59cf94c64
children
rev   line source
giuliomoro@204 1 <?xml version="1.0" encoding="UTF-8"?>
giuliomoro@204 2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
giuliomoro@204 3 <plist version="1.0">
giuliomoro@204 4 <dict>
giuliomoro@204 5 <key>AMApplicationBuild</key>
giuliomoro@204 6 <string>419</string>
giuliomoro@204 7 <key>AMApplicationVersion</key>
giuliomoro@204 8 <string>2.6</string>
giuliomoro@204 9 <key>AMDocumentVersion</key>
giuliomoro@204 10 <string>2</string>
giuliomoro@204 11 <key>actions</key>
giuliomoro@204 12 <array>
giuliomoro@204 13 <dict>
giuliomoro@204 14 <key>action</key>
giuliomoro@204 15 <dict>
giuliomoro@204 16 <key>AMAccepts</key>
giuliomoro@204 17 <dict>
giuliomoro@204 18 <key>Container</key>
giuliomoro@204 19 <string>List</string>
giuliomoro@204 20 <key>Optional</key>
giuliomoro@204 21 <true/>
giuliomoro@204 22 <key>Types</key>
giuliomoro@204 23 <array>
giuliomoro@204 24 <string>com.apple.applescript.object</string>
giuliomoro@204 25 </array>
giuliomoro@204 26 </dict>
giuliomoro@204 27 <key>AMActionVersion</key>
giuliomoro@204 28 <string>1.0.2</string>
giuliomoro@204 29 <key>AMApplication</key>
giuliomoro@204 30 <array>
giuliomoro@204 31 <string>Automator</string>
giuliomoro@204 32 </array>
giuliomoro@204 33 <key>AMParameterProperties</key>
giuliomoro@204 34 <dict>
giuliomoro@204 35 <key>source</key>
giuliomoro@204 36 <dict/>
giuliomoro@204 37 </dict>
giuliomoro@204 38 <key>AMProvides</key>
giuliomoro@204 39 <dict>
giuliomoro@204 40 <key>Container</key>
giuliomoro@204 41 <string>List</string>
giuliomoro@204 42 <key>Types</key>
giuliomoro@204 43 <array>
giuliomoro@204 44 <string>com.apple.applescript.object</string>
giuliomoro@204 45 </array>
giuliomoro@204 46 </dict>
giuliomoro@204 47 <key>ActionBundlePath</key>
giuliomoro@204 48 <string>/System/Library/Automator/Run AppleScript.action</string>
giuliomoro@204 49 <key>ActionName</key>
giuliomoro@204 50 <string>Run AppleScript</string>
giuliomoro@204 51 <key>ActionParameters</key>
giuliomoro@204 52 <dict>
giuliomoro@204 53 <key>source</key>
giuliomoro@204 54 <string>on run {input, parameters}
giuliomoro@204 55 if input is equal to {} then
giuliomoro@204 56 display alert "Please drag a folder containing your PD patch, with all externals and auxiliary files onto the program icon to compile it with Heavy."
giuliomoro@204 57 else
giuliomoro@204 58 tell application "Terminal"
giuliomoro@204 59 activate
giuliomoro@204 60 do script "echo -n -e \"\\033]0;Building Heavy-Pd-Bela\\007\"; export BBB_ADDRESS=\"root@192.168.7.2\"; export BBB_SCRIPTS_PATH=\"$HOME/BeagleRT/scripts/\"; export SCRIPT_NAME=\"build_pd.sh\"; bash -c 'cd \"$BBB_SCRIPTS_PATH\"; ./\"$SCRIPT_NAME\" --watch --force --screen -i " &amp; quoted form of (POSIX path of input) &amp; "'; if [ $? -eq 130 ] ; then osascript -e 'tell application \"Terminal\" to close (every window whose name contains \"Building Heavy-Pd-Bela\")'; fi"
giuliomoro@204 61 end tell
giuliomoro@204 62 -- tell application "Terminal" to quit
giuliomoro@204 63 end if
giuliomoro@204 64 -- return input
giuliomoro@204 65 end run</string>
giuliomoro@204 66 </dict>
giuliomoro@204 67 <key>BundleIdentifier</key>
giuliomoro@204 68 <string>com.apple.Automator.RunScript</string>
giuliomoro@204 69 <key>CFBundleVersion</key>
giuliomoro@204 70 <string>1.0.2</string>
giuliomoro@204 71 <key>CanShowSelectedItemsWhenRun</key>
giuliomoro@204 72 <false/>
giuliomoro@204 73 <key>CanShowWhenRun</key>
giuliomoro@204 74 <true/>
giuliomoro@204 75 <key>Category</key>
giuliomoro@204 76 <array>
giuliomoro@204 77 <string>AMCategoryUtilities</string>
giuliomoro@204 78 </array>
giuliomoro@204 79 <key>Class Name</key>
giuliomoro@204 80 <string>RunScriptAction</string>
giuliomoro@204 81 <key>InputUUID</key>
giuliomoro@204 82 <string>EF92A55A-EBA7-413C-BD41-79E5A684A273</string>
giuliomoro@204 83 <key>Keywords</key>
giuliomoro@204 84 <array>
giuliomoro@204 85 <string>Run</string>
giuliomoro@204 86 </array>
giuliomoro@204 87 <key>OutputUUID</key>
giuliomoro@204 88 <string>6D9DB3CD-C949-4256-847F-664D5EBC5EB9</string>
giuliomoro@204 89 <key>UUID</key>
giuliomoro@204 90 <string>3E1C4D48-C87F-4325-A94B-AAC1E334B30D</string>
giuliomoro@204 91 <key>UnlocalizedApplications</key>
giuliomoro@204 92 <array>
giuliomoro@204 93 <string>Automator</string>
giuliomoro@204 94 </array>
giuliomoro@204 95 <key>arguments</key>
giuliomoro@204 96 <dict>
giuliomoro@204 97 <key>0</key>
giuliomoro@204 98 <dict>
giuliomoro@204 99 <key>default value</key>
giuliomoro@204 100 <string>on run {input, parameters}
giuliomoro@204 101
giuliomoro@204 102 (* Your script goes here *)
giuliomoro@204 103
giuliomoro@204 104 return input
giuliomoro@204 105 end run</string>
giuliomoro@204 106 <key>name</key>
giuliomoro@204 107 <string>source</string>
giuliomoro@204 108 <key>required</key>
giuliomoro@204 109 <string>0</string>
giuliomoro@204 110 <key>type</key>
giuliomoro@204 111 <string>0</string>
giuliomoro@204 112 <key>uuid</key>
giuliomoro@204 113 <string>0</string>
giuliomoro@204 114 </dict>
giuliomoro@204 115 </dict>
giuliomoro@204 116 <key>conversionLabel</key>
giuliomoro@204 117 <integer>0</integer>
giuliomoro@204 118 <key>isViewVisible</key>
giuliomoro@204 119 <true/>
giuliomoro@204 120 <key>location</key>
giuliomoro@204 121 <string>411.500000:316.000000</string>
giuliomoro@204 122 <key>nibPath</key>
giuliomoro@204 123 <string>/System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib</string>
giuliomoro@204 124 </dict>
giuliomoro@204 125 <key>isViewVisible</key>
giuliomoro@204 126 <true/>
giuliomoro@204 127 </dict>
giuliomoro@204 128 </array>
giuliomoro@204 129 <key>connectors</key>
giuliomoro@204 130 <dict/>
giuliomoro@204 131 <key>workflowMetaData</key>
giuliomoro@204 132 <dict>
giuliomoro@204 133 <key>workflowTypeIdentifier</key>
giuliomoro@204 134 <string>com.apple.Automator.application</string>
giuliomoro@204 135 </dict>
giuliomoro@204 136 </dict>
giuliomoro@204 137 </plist>