Search found 5 matches
- May 30th, 2012, 3:59 pm
- Forum: Post-Processing Scripts
- Topic: sending notifications with iMessage via osascript
- Replies: 3
- Views: 4240
Re: sending notifications with iMessage via osascript
This works: osascript -e 'on run argv' -e 'tell application "iChat"' -e 'set theMessage to item 1 of argv' -e 'send theMessage to buddy "me@mymail.com" of service 1' -e 'end tell' -e 'end run' "Your Show has finished downloading: ""$3" I double quoted the mess...
- May 29th, 2012, 6:00 pm
- Forum: Post-Processing Scripts
- Topic: sending notifications with iMessage via osascript
- Replies: 3
- Views: 4240
Re: sending notifications with iMessage via osascript
Thanks Sander, I just got to work. I'll try your suggestions when I get home. Escaping the quotes seems like it might work to me. Youre right Ive been slacking on learning python though. I need to set some time aside for that
- May 29th, 2012, 4:22 pm
- Forum: Post-Processing Scripts
- Topic: sending notifications with iMessage via osascript
- Replies: 3
- Views: 4240
sending notifications with iMessage via osascript
I am trying to send imessage notifications from a Sab post-processing script. I've tried a few things so far: This script works from the command line #!/bin/bash #sends message via Messages to BUDDY #BUDDY=me@mymail.com osascript -e 'on run argv' -e 'tell application "iChat"' -e 'set theMe...
- July 26th, 2011, 10:48 am
- Forum: Post-Processing Scripts
- Topic: [BASH] How to create your own postprocessingscript
- Replies: 30
- Views: 87515
Re: [BASH] How to create your own postprocessingscript
Thanks for your reply ls $1/../proc this didn't work, I ended up doing this : final=$(echo "$1" | sed 's-temp.*-proc-') and find "$1" \( -name "*.avi" -or -name "*.mkv" -or -name "*.mp4" -or -name "*.mov" -or -name "*.mpeg" -or -n...
- July 25th, 2011, 9:24 pm
- Forum: Post-Processing Scripts
- Topic: [BASH] How to create your own postprocessingscript
- Replies: 30
- Views: 87515
Re: [BASH] How to create your own postprocessingscript
I am trying to write a script that will move certain files from ($1), the destination folder, to another folder specified relative to $1. This is what I have tried: find "$1" \( -name "*.avi" -or -name "*.mkv" -or -name "*.mp4" -or -name "*.mov" -or ...