Search the web
Sign In
New User? Sign Up
radio-dev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
applescript   Message List  
Reply | Forward Message #6563 of 8443 |
I have a script in Radio written in appleScript rather than userTalk,
the script takes no parameters, and returns a string, e.g.

on Playing()
return ( displayString ("some string"))
end Playing

calling this from the quick script window as
itunesSoapHandlers.Playing()
returns true rather than the string, passing a dummy parameter in
returns the string, e.g.
itunesSoapHandlers.Playing(1)
shows "some string"

I see the same effect via the soap interface, i have to pass a dummy
parameter to get the real result.

This is probably just poor understanding of applescript / radio on my
part, but is there anyway to have it work without requiring the dummy
parameter ?

Tx
Simon
www.pocketsoap.com



Thu Jul 18, 2002 7:12 am

simonfell99
Online Now Online Now
Send Email Send Email

Forward
Message #6563 of 8443 |
Expand Messages Author Sort by Date

I have a script in Radio written in appleScript rather than userTalk, the script takes no parameters, and returns a string, e.g. on Playing() return (...
Simon Fell
simonfell99
Online Now Send Email
Jul 18, 2002
7:09 am

Simon I have an Applescript in a Radio tool I wrote that polls iTunes for the latest playing song. It writes out the iTunes playlist to my weblog. tell...
davidalandavies
Offline Send Email
Jul 18, 2002
8:23 pm

Simon I have an Applescript in a Radio tool I wrote that polls iTunes for the latest playing song. It writes out the iTunes playlist to my weblog. tell...
davidalandavies
Offline Send Email
Jul 18, 2002
9:51 pm

Ahhh, so you don't have On Played / end Played wrapped around it, if I take that out, it works as expected without the extra param. Thanks! Simon ...
Simon Fell
simonfell99
Online Now Send Email
Jul 20, 2002
4:29 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help