FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

Display of iTunes Lyrics

 
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows
View previous topic :: View next topic  
Author Message
sehested
Newbie


Joined: 27 Dec 2005
Posts: 2
Location: Denmark

PostPosted: Tue Dec 27, 2005 7:03 pm    Post subject: Display of iTunes Lyrics Reply with quote

I have been modifying the scripts that came with Salling Clicker to Danish and to support more of the new features in iTunes.

I'm familiar with the iTunes COM interface that I 'm using quite often in perl. Although this was my first "project" in JavaScript I find it easy to add additional commands and modify existing ones.

Salling CLicker is an excellent piece of software. :D

I would also like to be able to [b]display the lyrics [/b]of a song on the phone and are trying to do so using the [b]CreateMessageBox[/b].

However only the first 10-15 lines of the lyrics are displayed on the phone.

Is this a limitation of my Sony Ericsson [b]T630[/b] or is it a limitation of the [b]MessageBox[/b]?

I could use [b]ListScreen[/b] with its automatic >>> and <<< instead, but would consider it misuse and I don't like to have the lyrics in bold either.

So is there a way to have the phone display the complete lyrics - up to hundred lines - in a scrolled window?
Back to top
View user's profile Send private message
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Tue Dec 27, 2005 7:45 pm    Post subject: Reply with quote

Hi,

Unfortunately, this is a limitation of the T630. Phones and devices that run the Salling client software (Symbian, Palm, Java/MIDP, Windows) can show more text in the scrolling text boxes (typically in excess of 2kb worth).

You could experiment with the ok and cancel callbacks, making OK move forward in the lyrics.

Best.
--
Jonas
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sehested
Newbie


Joined: 27 Dec 2005
Posts: 2
Location: Denmark

PostPosted: Wed Dec 28, 2005 2:34 am    Post subject: Reply with quote

[quote="salling"]Hi,
You could experiment with the ok and cancel callbacks, making OK move forward in the lyrics.
[/quote]
Thanks for the quick answer. That worked! :lol:

I now divide the lyrics into a number of sections consiting of a number of lines. Max size for a section is 140 characters.

Pressing OK will display to the next section. Pressing Cancel will display the previous.

Only problem remaining is that the MessageBox remembers the position of the scroll bar from the previous section.

Is there a way to tell [b]MessageBox [/b]what the [b]initial position of the scroll bar [/b]should be?
Back to top
View user's profile Send private message
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Wed Dec 28, 2005 4:13 pm    Post subject: Reply with quote

Unfortunately, the phone doesn't allow the scrollbar to be controlled.

You could chunk up the lyrics in smaller bits, I guess, to make scrolling back up less of a pain. :-(

Best.
--
Jonas
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jimmydu3
Newbie


Joined: 10 Nov 2005
Posts: 3

PostPosted: Sun Jan 08, 2006 5:06 am    Post subject: Reply with quote

I'd love to test out this lyrics plugin. I have a treo, so scrolling down to see more text should work for me. Thanks, James
Back to top
View user's profile Send private message
dirtygreek
Newbie


Joined: 26 Jan 2006
Posts: 4

PostPosted: Thu Jan 26, 2006 7:07 pm    Post subject: Reply with quote

same here. I'd like to try this.
Back to top
View user's profile Send private message
Eric Walter
Newbie


Joined: 22 Feb 2006
Posts: 3

PostPosted: Tue Mar 07, 2006 5:38 pm    Post subject: Reply with quote

I'd like to try it too. ;-)
Back to top
View user's profile Send private message
Edelbright
Newbie


Joined: 06 Mar 2006
Posts: 12

PostPosted: Wed Mar 08, 2006 3:14 pm    Post subject: Reply with quote

I would like to try that plugin too. Could someone upload it, please???
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group