Jump to content

djan92

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by djan92

  1. Hello, I'm running into the same upload error: [2016-05-25 13:24:57][ERROR: action.script] 1112:1164: execution error: Evernote got an error: Operation would exceed monthly upload allowance. (1) Even though I have 99% (59.9 MB) remaining for the month (Free version). I only did 20~ logs with on average a few words long. Does anyone know why the upload limit would pass when the data size being passed is negligible? Thanks in advance for your help! Trying to to debug now...
  2. Okay I think I figured it out. In file, notify_functions.sh in the scripts folder of the EggTimer workflow, the $notification variable isn't set. I think this is because the plist info.plist file doesn't carry over to Alfred 3 perfectly. I just hard coded notification=NC at the top of the file, just below function definition. Here's my whole notify_functions.sh file: notify () { notification=NC #What is the chosen notification method? prefs=$(cat info.plist | tr -d '\n\t') #Load workflow's settings info if [[ "$prefs" = *'<key>output</key><integer>0</integer>'* ]]; then notification=default fi if [[ "$prefs" = *'<key>output</key><integer>1</integer>'* ]]; then notification=NC fi if [[ "$prefs" = *'<key>output</key><integer>2</integer>'* ]]; then notification=growl fi if [ $notification = default ]; then notpref=$(cat ../../preferences/notifications/prefs.plist | tr -d '\n\t') if [[ "$notpref" = *'<key>defaultoutput</key><integer>1</integer>'* ]]; then notification=growl else notification=NC fi fi if [ "$5" = alarm ]; then growl_icon="$PWD/resources/icon_alarm.png" nc_icon="$PWD/resources/icon_alarm.icns" dummy_app="EggTimer Alarm" else growl_icon="$PWD/icon.png" nc_icon="$PWD/resources/icon.icns" dummy_app="EggTimer" fi if [ $notification = growl ]; then osascript <<EOD set imgfd to open for access POSIX file "$growl_icon" set img to read imgfd as "TIFF" close access imgfd tell application id "com.Growl.GrowlHelperApp" notify with name "$1" title "$2" description "$3\n$4" application name "EggTimer for Alfred" sticky "true" image img end tell EOD fi if [ $notification = NC ]; then ./MountainNotifier/MountainNotifier "$dummy_app" "$2" "$3" "$4" "$nc_icon" fi } Hope that helps!
  3. Just upgraded to Alfred 3 I'm running into an issue - when the timer alert finishes, the banner notification does not show. It shows when the timer starts though. I've gone through and replaced all Alfred 2 and Alfred-2 with 3, using grep -rl "tell application \"Alfred-2\"" * | uniq Guess there's some other trip up with switching to Alfred 3 because it works well in Alfred 2. Thanks Carlos! This app is really awesome.
×
×
  • Create New...