BIGDOGquake3
Get It, BIG MAC! ::ha::
I downloaded this program called iTaf, and it lets me wake up to mp3's. It was all well and good but I wanted to get rid of it because I like Mp3 Alarm Clock better when I try to Eject/Trash the program it shows me an error (see attachment). When I opend it it told be it would hide the program in the backgroud and I need to enter this (somewher, I have no iadea what to do with it)
#!/bin/sh
itaf=`ps -axc | awk '/iTaf$/ {print $1}'`
if [ "$itaf" != "" ]; then
osascpt=`osascript -l AppleScript -e 'tell Application "SystemUIServer"' -e 'activate' -e 'display dialog "\tiTaf is running...\n\nDo you want quit iTaf daemon ?" buttons {"Yes", "No"} default button "No"' -e 'end tell'`
if [ "$osascpt" == "button returned:No" ]; then
#osascript -l AppleScript -e 'tell Application "SystemUIServer"' -e 'activate' -e 'display dialog "iTaf is going to continue to run." buttons {"Yes"} default button "OK"' -e 'end tell'
exit
fi
killall -c iTaf
osascript -l AppleScript -e 'tell Application "SystemUIServer"' -e 'activate' -e 'display dialog "\tiTaf daemon has been stopped." buttons {"OK"} default button "OK"' -e 'end tell'
exit
fi
osascript -l AppleScript -e 'tell Application "SystemUIServer"' -e 'activate' -e 'display dialog "\tNO active iTaf daemon..." buttons {"OK"} default button "OK"' -e 'end tell'
#!/bin/sh
itaf=`ps -axc | awk '/iTaf$/ {print $1}'`
if [ "$itaf" != "" ]; then
osascpt=`osascript -l AppleScript -e 'tell Application "SystemUIServer"' -e 'activate' -e 'display dialog "\tiTaf is running...\n\nDo you want quit iTaf daemon ?" buttons {"Yes", "No"} default button "No"' -e 'end tell'`
if [ "$osascpt" == "button returned:No" ]; then
#osascript -l AppleScript -e 'tell Application "SystemUIServer"' -e 'activate' -e 'display dialog "iTaf is going to continue to run." buttons {"Yes"} default button "OK"' -e 'end tell'
exit
fi
killall -c iTaf
osascript -l AppleScript -e 'tell Application "SystemUIServer"' -e 'activate' -e 'display dialog "\tiTaf daemon has been stopped." buttons {"OK"} default button "OK"' -e 'end tell'
exit
fi
osascript -l AppleScript -e 'tell Application "SystemUIServer"' -e 'activate' -e 'display dialog "\tNO active iTaf daemon..." buttons {"OK"} default button "OK"' -e 'end tell'