PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   General Windows Mobile Discussions (http://forum.ppcgeeks.com/forumdisplay.php?f=17)
-   -   Mortscript (http://forum.ppcgeeks.com/showthread.php?t=34737)

jdume 08-12-2008 08:21 PM

Mortscript
 
I'm looking for someone who really knows Mortscript. I need a script for showing Album Art in Wisbar Advaced Desktop Theme. If anyone can help that would be great.

Thanks, Jdume.

schettj 08-13-2008 09:35 AM

Re: Mortscript
 
I can probably help. I did a little image copy dance in mortscript to get weather icons to reflect the weather in rltoday via a mortscript. The MOJO you want is, when you detect that the current song is changed*, use the COPY command to copy over the correct album art file to the specific path you're using in Wisebar to show the "current song" artwork. Then you call RedrawToday to force a refresh, which will do the right thing on the display side.

* generally, this is the tricky bit. You can have this mortscript sit in the background, sleeping. Every 10 seconds or so it loops, checking whatever it needs to check to find out the currently playing song, if any. Whatever it finds is compared to whatever it found last time it checked - if those two differ, then its time to update the image file and redraw... Then sleep for 10... that's the loop.


All times are GMT -4. The time now is 10:11 AM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0