• Welcome to TodayPlus Boards v2.
 

OSX Complete skin v0.9.8

Started by rbg08, November 07, 2003, 12:38:04 AM

Previous topic - Next topic

rbg08

Quote from: MorpheusGreat work, this is still by far my favourite skin.

Thanks!!  :D  That makes the hard work and time spent supporting my skins worth it.

Quote...the one thing I haven't worked out how to reimplement in this version is replacing the stocks page with a standard RSS feed can anyone please point me in the right direction?

Here's how: First, delete the following code in the RSS section of the skin file:

if,region,15,=,8

image,98,-24,tab_selected.bmp,t
changefont,tahoma,12,b
color,font,0_0_128
text,121,-22,Stocks,c

// GRAY TEXT WHEN REFRESHING
if,refresh,=,true
color,font,125_125_125
else
color,font,-1_4_-1
endif

// REFRESH DATA
button,23,0,189,12,0,7,,0
changefont,tahoma,11,bi
text,133,1,Last updated: ,r
changefont,tahoma,11,i
text,133,1,[updatetime],l,h:mm tt
changefont,tahoma,11,

RSS,title,18,14,81,12,%var5%,,,
RSS,title,18,26,81,12,%var6%,,,
RSS,title,18,38,81,12,%var7%,,,

load,rss,10

RSS,title,100,14,69,12,%var5%,,,
RSS,title,100,26,69,12,%var6%,,,
RSS,title,100,38,69,12,%var7%,,,

load,rss,11

RSS,title,170,14,69,12,%var5%,,,
RSS,title,170,26,69,12,%var6%,,,
RSS,title,170,38,69,12,%var7%,,,

else


and delete the following "endif" code (don't delete the offsetadd or endregion commands):

endif

offsetadd,0,54
endregion,16,0


QuoteAlso I have been thinking about how to get the SD card displayed and wondered about adding a page button which would flip between the Battery/memory display present now and the SD/CF card values (although currently only my SD slot is in use) is this possible?

It is possible, I may add something like this in a future version. :)
Dell Axim X5 Advanced - WM2003

mofunk

First off, thank you for this skin, I really like it! Now I have a question. In the spot where it says the time of the last update, is there a way to get that to show the current time? I update mine every morning so would rather see the current time there. Thank you!

Morpheus

Quote from: rbg08

Here's how: First, delete the following code in the RSS section of the skin file:

Snip ...


Thanks that did it.

QuoteAlso I have been thinking about how to get the SD card displayed and wondered about adding a page button which would flip between the Battery/memory display present now and the SD/CF card values (although currently only my SD slot is in use) is this possible?

It is possible, I may add something like this in a future version. :)[/quote]

That would be great, in the meantime I may delve back into the reference file and see if I can work it out, I'm a glutton for punishment when it comes to tweaking things  :D

Cheers,

Morpheus
IPAQ H2210, WM2003, SimpleTech 512MB SD Card, Proporta Aluminium Case

dhpss

rbj08: I have tried without much success to accomplish this:
Put the one-month calendar (as seen in Calendar skin) to OSX main page to replace the battery/memory portion.

The Calendar is shown in Calendar skin:
changefont,tahoma,11,b
calendarheader,153,0,12
changefont,tahoma,10,
calendar,0,0,153,9,12,8,l
changefont,tahoma,11,b

I could take off the batery/storage info off the OSX, but I could not see the one-month calendar...Could you please advise. As usual many thanks and appreciation!

JJ57

Hello RBG08!
I'm a french user of your fabulous Todayplus OSX 0.9.8 skin.
I work every day on it to translate it slowly in french and adapt it for my own work.
What I don't get to work correctly is the use of new french adapted rss feeds instead of them you use.
I did what you ask Morpheus to do , apparently the possibility is here but I've not a great success!!!
For example , I modify in the config File

rss,1,60,http://www.pocketpcthoughts.com/xml/,Pocket PC Thoughts,6
with
rss,1,60,http://xml.newsisfree.com/feeds/56/1656.xml,Le Monde,6

Nothing else than the Title (Le Monde is written instead of Pocket PC Thoughts)changes.One time I got a feed to work , but it hadn't no interest for me!
The only think I'd noted with this working feed was that it was rss version=2.0 and not version=0.91 like the other one.
What can I do?
A new time grat congratulations to RBG08 and his great work!

JJ57

I've changed the rss,1, to his old working adress , but now when I hit on the Pocket PC Thoughts title it greys on a few second but nothing changes!!! is there a time between two refreshes even if I change the rss feed adress in the config file???
Thank's a lot

arbitrajeu

Quote from: JJ57I've changed the rss,1, to his old working adress , but now when I hit on the Pocket PC Thoughts title it greys on a few second but nothing changes!!! is there a time between two refreshes even if I change the rss feed adress in the config file???
Yes, TodayPlus checks the timestamp on the files in the Program Files\TodayPlus\Buffer directory and if it has been updated in the last 60 minutes (as defined by the third parameter in the rss command) it doesn't update.  

If you want to force an update, delete the rss1.txt and rss1.txt.time files in that directory and refresh again.
[size=14]arbitrajeu[/size]
[size=12]todayplus moderator[/size]
[size=10]
iPAQ 3970, Windows Mobile 2003, 256MB SD, AgendaFusion 5[/size]

JJ57

Thank's a lot Arbitrajeu.
No idea where I could find rss french feed with rss version = 2.0 ?
Next the News Title there is a little cercle which can be slashed , what is it used for???
Is ther any danger to delete all files in the Buffer directory from time to time?

I wish you a good evenning and thank's you a lot.

arbitrajeu

Quote from: JJ57No idea where I could find rss french feed with rss version = 2.0 ?
I really don't think you need to find a 2.0 feed.  I'm pretty sure many of the feeds I've used, including BBC News, are v0.91 and these work fine.

Quote from: JJ57Next the News Title there is a little cercle which can be slashed , what is it used for???
When it's slashed, that tells TodayPlus you are offline, and therefore if you choose to look at the detail of the story it loads the offline html file it downloaded when you refreshed.  Note that not all html files are downloaded - that is controlled by the last parameter in the rss command.  See skin reference for more details.

Quote from: JJ57Is ther any danger to delete all files in the Buffer directory from time to time?
None at all.  Try to avoid doing it in the middle of an update though.  We are also trying to minimise the number of hits we make on MSNBC.com, so just deleting all the rss files would be preferable.
[size=14]arbitrajeu[/size]
[size=12]todayplus moderator[/size]
[size=10]
iPAQ 3970, Windows Mobile 2003, 256MB SD, AgendaFusion 5[/size]

Morpheus

I thought I might as well share this in case anyone else wanted to display thier SD/CF card space as per my previous post. The only problem so far is that if you don't have a CF card in the slot the bar shows about 50% and you get '?' displayed for the size. If you know how to fix this let me know.

In "config.txt" add the following lines:

storage,storagepath1,\SD Card\
storage,storagepath2,\CF Card\


In the "OSX Complete Skin.txt"  make the following changes:

Change the line
region,6,0,5
to

// Memory/battery main tab
region,6,0,5
imagebutton,76,2,right_arrow.bmp,t,6,4,1


Between the lines

changefont,tahoma,12,
endregion,6,0

and

offsetadd,-150,0
endregion,7,0


Insert the following code:

// CF/SD Card
region,6,1,60
imagebutton,76,2,left_arrow.bmp,t,6,4,0

changefont,tahoma,11,
storage,storagepath1,used,45,4,SD: , MB,c
button,0,0,90,27,6,4,102
button,0,0,90,27,0,4,500,0
storage,storagepath2,used,45,29,CF: , MB,c
button,0,26,90,28,6,4,103
button,0,26,90,28,0,4,500,0

draw,roundrect,12,16,66,9,-1_6_-1,h
storage,storagepath1,bar,14,18,62,5,gradient_red-green gradient.png
draw,roundrect,12,41,66,9,-1_6_-1,h
storage,storagepath2,bar,14,43,62,5,gradient_green-red gradient.png
endregion,6,1

//// BATTERY DETAILS
region,6,100,5

imagebutton,76,2,back.bmp,t,6,3,
button,76,2,11,11,0,4,500,0
changefont,tahoma,12,b
text,43,3,Battery,c
draw,roundrect,0,18,87,9,-1_6_-1,h
battery,bar,2,20,83,5,gradient_red-green gradient.png
changefont,tahoma,12,
battery,remaining,43,29,, %,c
uptime,43,41,battery,duration,Uptime: ,,c

endregion,6,100

//// MEMORY DETAILS
region,6,101,5

imagebutton,76,2,back.bmp,t,6,3,
button,76,2,11,11,0,4,500,0
changefont,tahoma,12,b
text,43,3,Memory,c
draw,roundrect,0,18,87,9,-1_6_-1,h
memory,barused,2,20,83,5,gradient_green-red gradient.png
text,0,29,Program:,l
text,0,41,Storage:,l
changefont,tahoma,12,
memory,programused,87,29,, MB,r
memory,storageused,87,41,, MB,r

endregion,6,101

//// SD CARD DETAILS
region,6,102,5

imagebutton,76,2,back.bmp,t,6,3,
button,76,2,11,11,0,4,500,0
changefont,tahoma,12,b
text,43,3,SD Card,c
draw,roundrect,0,18,87,9,-1_6_-1,h
storage,storagepath1,bar,2,20,83,5,gradient_green-red gradient.png
text,0,29,Free:,l
text,0,41,Total:,l
changefont,tahoma,12,
storage,storagepath1,free,87,29,, MB,r
storage,storagepath1,total,87,41,, MB,r

endregion,6,102

//// CF CARD DETAILS
region,6,103,5

imagebutton,76,2,back.bmp,t,6,3,
button,76,2,11,11,0,4,500,0
changefont,tahoma,12,b
text,43,3,CF Card,c
draw,roundrect,0,18,87,9,-1_6_-1,h
storage,storagepath2,bar,2,20,83,5,gradient_green-red gradient.png
text,0,29,Free:,l
text,0,41,Total:,l
changefont,tahoma,12,
storage,storagepath2,free,87,29,, MB,r
storage,storagepath2,total,87,41,, MB,r

endregion,6,103


You can now use the arrow to the top left of the battery meter to switch to the SD/CF card page and clicking on either of these will provide more details as per the meters on the main screen.  Clicking on the arrow in the SD/CF Card screen returns you to the Battery/Memory display.

Enjoy,

Morpheus
IPAQ H2210, WM2003, SimpleTech 512MB SD Card, Proporta Aluminium Case

arbitrajeu

Quote from: MorpheusThe only problem so far is that if you don't have a CF card in the slot the bar shows about 50% and you get '?' displayed for the size. If you know how to fix this let me know.
If you use the if,storage,... command you can check for this.  For example:

if,storage,storagepath2
 // display the CF information
else
 // no CF in slot so display some standard text
endif
[size=14]arbitrajeu[/size]
[size=12]todayplus moderator[/size]
[size=10]
iPAQ 3970, Windows Mobile 2003, 256MB SD, AgendaFusion 5[/size]

jday7757

I'd been going back and forth as to whether to really use TodayPlus, and then I installed this skin and now it has a permanent spot on my 2215.  I do have a question though.  On the Launcher tab, for the "games" the name of the game is listed next to the icon.  However, on the "apps" there are only icons (yes, in the config file, the name is there).  Can someone help me get the names and the icons on the apps?  Thanks.
Jim

Morpheus

Thanks arbitrajeu,
I'll give that a go.

jday, as it happens that is one of the changes I made whilst tweaking the skin to personal preferences. What you need is to insert the following in place of the code already there:

// GO TO GAMES
imagebutton,226,2,right_arrow.bmp,t,3,4,1,0

shortcut,5,0,apps1,s
button,5,0,75,16,-1,0,%apps1
text,23,1,[name],l
shortcut,5,18,apps2,s
button,5,18,75,16,-1,0,%apps2
text,23,19,[name],l
shortcut,5,36,apps3,s
button,5,36,75,16,-1,0,%apps3
text,23,37,[name],l
shortcut,85,0,apps4,s
button,85,0,75,16,-1,0,%apps4
text,103,1,[name],l
shortcut,85,18,apps5,s
button,85,18,75,16,-1,0,%apps5
text,103,19,[name],l
shortcut,85,36,apps6,s
button,85,36,75,16,-1,0,%apps6
text,103,37,[name],l
shortcut,165,0,apps7,s
button,165,0,56,16,-1,0,%apps7
text,183,1,[name],l
shortcut,165,18,apps8,s
button,165,18,75,16,-1,0,%apps8
text,183,19,[name],l
shortcut,165,36,apps9,s
button,165,36,75,16,-1,0,%apps9
text,183,37,[name],l

endregion,3,0


This does limit you to nine apps, if you want more you will need to add an additional page to the launcher.

HTH,

Morpheus
IPAQ H2210, WM2003, SimpleTech 512MB SD Card, Proporta Aluminium Case

Morpheus

Hi arbitrajeu,

Well just gave that a try and it caused my IPAQ to lock up. The only way to unlock it was to do a soft reset and then replace the configuration file with one that didn't contain the if, storage checks before TodayPlus loaded (the password screen).

Below is the section of code I modified from my previous post, the syntax seems correct based on the last posted reference file:


// CF/SD Card
region,6,1,60
imagebutton,76,2,left_arrow.bmp,t,6,4,0

if,storage,storagepath1
 // SD memory card is present
 changefont,tahoma,11,
 storage,storagepath1,used,45,4,SD: , MB,c
 button,0,0,90,27,6,4,102
 button,0,0,90,27,0,4,500,0
else
 text,45,4,SD: Empty,c
endif

if,storage,storagepath2
 // CF memory card is present
 storage,storagepath2,used,45,29,CF: , MB,c
 button,0,26,90,28,6,4,103
 button,0,26,90,28,0,4,500,0
else
 text,45,29,CF: Empty,c
endif

if,storage,storagepath1
 // Display SD meter
 draw,roundrect,12,16,66,9,-1_6_-1,h
 storage,storagepath1,bar,14,18,62,5,gradient_red-green gradient.png
endif

if,storage,storagepath2
 // Display CF meter
 draw,roundrect,12,41,66,9,-1_6_-1,h
 storage,storagepath2,bar,14,43,62,5,gradient_green-red gradient.png
endif

endregion,6,1


Have I found a bug, is it a peculiarity of the H2210 or is there something wrong with the code?

Morpheus
IPAQ H2210, WM2003, SimpleTech 512MB SD Card, Proporta Aluminium Case

srs

these two
if,storage,storagepath1
 // Display SD meter
 draw,roundrect,12,16,66,9,-1_6_-1,h
 storage,storagepath1,bar,14,18,62,5,gradient_red-green gradient.png
endif

if,storage,storagepath2
 // Display CF meter
 draw,roundrect,12,41,66,9,-1_6_-1,h
 storage,storagepath2,bar,14,43,62,5,gradient_green-red gradient.png
endif


need else statements (all if statements need an else and an endif) so:

if,storage,storagepath1
 // Display SD meter
 draw,roundrect,12,16,66,9,-1_6_-1,h
 storage,storagepath1,bar,14,18,62,5,gradient_red-green gradient.png
else
endif

if,storage,storagepath2
 // Display CF meter
 draw,roundrect,12,41,66,9,-1_6_-1,h
 storage,storagepath2,bar,14,43,62,5,gradient_green-red gradient.png
else
endif


make sure there are no trailing spaces also