giuliomoro@204: giuliomoro@204: giuliomoro@204: giuliomoro@204: giuliomoro@204: AMApplicationBuild giuliomoro@204: 419 giuliomoro@204: AMApplicationVersion giuliomoro@204: 2.6 giuliomoro@204: AMDocumentVersion giuliomoro@204: 2 giuliomoro@204: actions giuliomoro@204: giuliomoro@204: giuliomoro@204: action giuliomoro@204: giuliomoro@204: AMAccepts giuliomoro@204: giuliomoro@204: Container giuliomoro@204: List giuliomoro@204: Optional giuliomoro@204: giuliomoro@204: Types giuliomoro@204: giuliomoro@204: com.apple.applescript.object giuliomoro@204: giuliomoro@204: giuliomoro@204: AMActionVersion giuliomoro@204: 1.0.2 giuliomoro@204: AMApplication giuliomoro@204: giuliomoro@204: Automator giuliomoro@204: giuliomoro@204: AMParameterProperties giuliomoro@204: giuliomoro@204: source giuliomoro@204: giuliomoro@204: giuliomoro@204: AMProvides giuliomoro@204: giuliomoro@204: Container giuliomoro@204: List giuliomoro@204: Types giuliomoro@204: giuliomoro@204: com.apple.applescript.object giuliomoro@204: giuliomoro@204: giuliomoro@204: ActionBundlePath giuliomoro@204: /System/Library/Automator/Run AppleScript.action giuliomoro@204: ActionName giuliomoro@204: Run AppleScript giuliomoro@204: ActionParameters giuliomoro@204: giuliomoro@204: source giuliomoro@204: on run {input, parameters} giuliomoro@204: if input is equal to {} then giuliomoro@204: 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: else giuliomoro@204: tell application "Terminal" giuliomoro@204: activate giuliomoro@204: 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@204: end tell giuliomoro@204: -- tell application "Terminal" to quit giuliomoro@204: end if giuliomoro@204: -- return input giuliomoro@204: end run giuliomoro@204: giuliomoro@204: BundleIdentifier giuliomoro@204: com.apple.Automator.RunScript giuliomoro@204: CFBundleVersion giuliomoro@204: 1.0.2 giuliomoro@204: CanShowSelectedItemsWhenRun giuliomoro@204: giuliomoro@204: CanShowWhenRun giuliomoro@204: giuliomoro@204: Category giuliomoro@204: giuliomoro@204: AMCategoryUtilities giuliomoro@204: giuliomoro@204: Class Name giuliomoro@204: RunScriptAction giuliomoro@204: InputUUID giuliomoro@204: EF92A55A-EBA7-413C-BD41-79E5A684A273 giuliomoro@204: Keywords giuliomoro@204: giuliomoro@204: Run giuliomoro@204: giuliomoro@204: OutputUUID giuliomoro@204: 6D9DB3CD-C949-4256-847F-664D5EBC5EB9 giuliomoro@204: UUID giuliomoro@204: 3E1C4D48-C87F-4325-A94B-AAC1E334B30D giuliomoro@204: UnlocalizedApplications giuliomoro@204: giuliomoro@204: Automator giuliomoro@204: giuliomoro@204: arguments giuliomoro@204: giuliomoro@204: 0 giuliomoro@204: giuliomoro@204: default value giuliomoro@204: on run {input, parameters} giuliomoro@204: giuliomoro@204: (* Your script goes here *) giuliomoro@204: giuliomoro@204: return input giuliomoro@204: end run giuliomoro@204: name giuliomoro@204: source giuliomoro@204: required giuliomoro@204: 0 giuliomoro@204: type giuliomoro@204: 0 giuliomoro@204: uuid giuliomoro@204: 0 giuliomoro@204: giuliomoro@204: giuliomoro@204: conversionLabel giuliomoro@204: 0 giuliomoro@204: isViewVisible giuliomoro@204: giuliomoro@204: location giuliomoro@204: 411.500000:316.000000 giuliomoro@204: nibPath giuliomoro@204: /System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib giuliomoro@204: giuliomoro@204: isViewVisible giuliomoro@204: giuliomoro@204: giuliomoro@204: giuliomoro@204: connectors giuliomoro@204: giuliomoro@204: workflowMetaData giuliomoro@204: giuliomoro@204: workflowTypeIdentifier giuliomoro@204: com.apple.Automator.application giuliomoro@204: giuliomoro@204: giuliomoro@204: