Growl And Radio Shark ???

The Growl forums have moved to Google Groups, this forum is read only.
cocoino
Harmless
Posts: 1
Joined: Sat May 14, 2005 5:54 am

Growl And Radio Shark ???

Postby cocoino » Sat May 14, 2005 5:59 am

Hello, im new to growl and i want to use it with my radio shark, need help to get it work...thanks.

User avatar
Diggory
Growl Team
Posts: 129
Joined: Sat Dec 04, 2004 12:17 pm
Location: London

Postby Diggory » Sat May 14, 2005 12:11 pm

The RadioShark app doesn't actually support Growl.

I have got some scripts that I use to control RS that also put up Growl notifications:

e.g.

Code: Select all


tell application "GrowlHelperApp"
   set myAllNotesList to {"radio1Note", "radio4Note", "XFMNote"}
   register as application "AppleScript Radio Remote" all notifications myAllNotesList default notifications {"radio1Note"} icon of application "RadioSHARK"
   
   notify with name "radio1Note" title "Radio 1" description "Switching to Radio 1" application name "AppleScript Radio Remote"
end tell


tell application "radioSHARK" to activate
tell application "System Events"
   tell process "radioSHARK"
      tell window "radioshark"
         tell pop up button 1
            click
            --            get every UI element
            tell menu "otherViews"
               get every UI element
               --               click menu item "100.0 (Kiss)"
               --               click menu item "98.8 (Radio 1)"
               click menu item "98.8 (Radio 1)"
            end tell
         end tell
      end tell
   end tell
end tell




The trouble is that you have to hard-code the name and frequency of the preset you want to tune to in the script.

I believe that Griffin are releasing an AppleScript enabled version of the RadioShark app soon though, so that will make things easier.


Return to “Growl”

Who is online

Users browsing this forum: No registered users