giuliomoro@203: giuliomoro@203: giuliomoro@203: giuliomoro@203: giuliomoro@203: AMApplicationBuild giuliomoro@203: 419 giuliomoro@203: AMApplicationVersion giuliomoro@203: 2.6 giuliomoro@203: AMDocumentVersion giuliomoro@203: 2 giuliomoro@203: actions giuliomoro@203: giuliomoro@203: giuliomoro@203: action giuliomoro@203: giuliomoro@203: AMAccepts giuliomoro@203: giuliomoro@203: Container giuliomoro@203: List giuliomoro@203: Optional giuliomoro@203: giuliomoro@203: Types giuliomoro@203: giuliomoro@203: com.apple.applescript.object giuliomoro@203: giuliomoro@203: giuliomoro@203: AMActionVersion giuliomoro@203: 1.0.2 giuliomoro@203: AMApplication giuliomoro@203: giuliomoro@203: Automator giuliomoro@203: giuliomoro@203: AMParameterProperties giuliomoro@203: giuliomoro@203: source giuliomoro@203: giuliomoro@203: giuliomoro@203: AMProvides giuliomoro@203: giuliomoro@203: Container giuliomoro@203: List giuliomoro@203: Types giuliomoro@203: giuliomoro@203: com.apple.applescript.object giuliomoro@203: giuliomoro@203: giuliomoro@203: ActionBundlePath giuliomoro@203: /System/Library/Automator/Run AppleScript.action giuliomoro@203: ActionName giuliomoro@203: Run AppleScript giuliomoro@203: ActionParameters giuliomoro@203: giuliomoro@203: source giuliomoro@203: on run {input, parameters} giuliomoro@203: if input is equal to {} then giuliomoro@203: display alert "Please drag a folder containing your PD patch, with all externals and auxiliary files onto this window to compile it with Heavy." giuliomoro@203: else giuliomoro@203: tell application "Terminal" giuliomoro@203: activate giuliomoro@203: 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 " & quoted form of (POSIX path of input) & "'; if [ $? -eq 130 ] ; then osascript -e 'tell application \"Terminal\" to close (every window whose name contains \"Building Heavy-Pd-Bela\")'; fi" giuliomoro@203: end tell giuliomoro@203: -- tell application "Terminal" to quit giuliomoro@203: end if giuliomoro@203: -- return input giuliomoro@203: end run giuliomoro@203: giuliomoro@203: BundleIdentifier giuliomoro@203: com.apple.Automator.RunScript giuliomoro@203: CFBundleVersion giuliomoro@203: 1.0.2 giuliomoro@203: CanShowSelectedItemsWhenRun giuliomoro@203: giuliomoro@203: CanShowWhenRun giuliomoro@203: giuliomoro@203: Category giuliomoro@203: giuliomoro@203: AMCategoryUtilities giuliomoro@203: giuliomoro@203: Class Name giuliomoro@203: RunScriptAction giuliomoro@203: InputUUID giuliomoro@203: EF92A55A-EBA7-413C-BD41-79E5A684A273 giuliomoro@203: Keywords giuliomoro@203: giuliomoro@203: Run giuliomoro@203: giuliomoro@203: OutputUUID giuliomoro@203: 6D9DB3CD-C949-4256-847F-664D5EBC5EB9 giuliomoro@203: UUID giuliomoro@203: 3E1C4D48-C87F-4325-A94B-AAC1E334B30D giuliomoro@203: UnlocalizedApplications giuliomoro@203: giuliomoro@203: Automator giuliomoro@203: giuliomoro@203: arguments giuliomoro@203: giuliomoro@203: 0 giuliomoro@203: giuliomoro@203: default value giuliomoro@203: on run {input, parameters} giuliomoro@203: giuliomoro@203: (* Your script goes here *) giuliomoro@203: giuliomoro@203: return input giuliomoro@203: end run giuliomoro@203: name giuliomoro@203: source giuliomoro@203: required giuliomoro@203: 0 giuliomoro@203: type giuliomoro@203: 0 giuliomoro@203: uuid giuliomoro@203: 0 giuliomoro@203: giuliomoro@203: giuliomoro@203: conversionLabel giuliomoro@203: 0 giuliomoro@203: isViewVisible giuliomoro@203: giuliomoro@203: location giuliomoro@203: 411.500000:316.000000 giuliomoro@203: nibPath giuliomoro@203: /System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib giuliomoro@203: giuliomoro@203: isViewVisible giuliomoro@203: giuliomoro@203: giuliomoro@203: giuliomoro@203: connectors giuliomoro@203: giuliomoro@203: workflowMetaData giuliomoro@203: giuliomoro@203: workflowTypeIdentifier giuliomoro@203: com.apple.Automator.application giuliomoro@203: giuliomoro@203: giuliomoro@203: