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