TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: charleskk on March 02, 2005, 01:21:07 PM

Title: HELP with OSX v1.0 skin and fields/variables definitions
Post by: charleskk on March 02, 2005, 01:21:07 PM
Hi,

I'm using a skin now called "OSX  Complete skin v1.0", I want to mod it so that it fits abt 3/4 in the middle of my screen between two today plugins that i still want to use concurrently with Todayplus (i'm using 0.11).  i am using the O2 mini (some call it i-mate JAM, magician, etc), the screen is quite small.

i do not want to have the plug ins go beyond the screens because it will create the vertical scrollbars by the PPC by default.

The 1st plug is a today plugin that displays owner photos in slideshow format and some owner info.

2nd plug is today plus

3rd plug is PocketZenPhone

i think i managed to fix the today plug in in the middle without triggering the vertical scroll bars unless i enlarge some of the panels, (ie. news..)

Now, i  need to move the rows of "shortcuts" lower to the screen. I managed to figure out how to move it down, but then the problem is, if i click on the up / down arrow buttoins to switch between the rows of shortcuts, the new group of shortcuts' icons will overlap the old ones  which is what i am trying to avoid.

Anyway, I do not have proper "training" in programming/coding, most things are self taught, so most changes to the original skin was based on trial and errors. And i do not understand most of the meanings of the variables/fields/ or whatever u call it.

Is there a FAQ on the basics of "skin programming" that i can read up?


Anyway, here's the mod to the codes please help me check what's wrong?

//////////////////////////////////////////
//////// QUICK LAUNCHER
//////////////////////////////////////////

region,5,0,-1
defregion,5,0,0,240,22,1
offset,offset_-1,offset_-1
updateregions,4

offsetadd,0,3
region,4,0,-1

initvar,var11,1
initvar,var12,1

if,var,var8,,=,1

//// OLD code was shortcut,214,0,apps-1-11,s
shortcut,214,16,apps-1-11,s

//// OLD code was button,214,0,16,16,-1,0,%apps-1-11
button,214,16,16,16,-1,0,%apps-1-11

else

//// OLD code was imagebutton,213,3,down_arrow.png,t,-1,13,var11_-1
imagebutton,213,16,down_arrow.png,t,-1,13,var11_-1

//// OLD code was button,213,3,11,11,-1,13,var12_-10,5
button,213,16,11,11,-1,13,var12_-10,5

//// OLD code was  imagebutton,226,3,up_arrow.png,t,-1,13,var11_1
imagebutton,226,16,up_arrow.png,t,-1,13,var11_1

//// OLD code was button,226,3,11,11,-1,13,var12_10,5
button,226,16,11,11,-1,13,var12_10,5

endif

if,var,var11,,<,1
storevar,var11=%var8%
storevar,var12=%var8%1

addvar,var12,-10

else
endif

if,var,var11,,>,%var8%
storevar,var11=1
storevar,var12=1
else
endif

//// CHANGED all the xx,xx,0,xx,x to xx,xx,16,xx,xx..etc

shortcut,4,16,apps-1-%var12%,s
button,4,16,16,16,-1,0,%apps-1-%var12%
addvar,var12,1
shortcut,25,16,apps-1-%var12%,s
button,25,16,16,16,-1,0,%apps-1-%var12%
addvar,var12,1
shortcut,46,16,apps-1-%var12%,s
button,46,16,16,16,-1,0,%apps-1-%var12%
addvar,var12,1
shortcut,67,16,apps-1-%var12%,s
button,67,16,16,16,-1,0,%apps-1-%var12%
addvar,var12,1
shortcut,88,16,apps-1-%var12%,s
button,88,16,16,16,-1,0,%apps-1-%var12%
addvar,var12,1
shortcut,109,16,apps-1-%var12%,s
button,109,16,16,16,-1,0,%apps-1-%var12%
addvar,var12,1
shortcut,130,16,apps-1-%var12%,s
button,130,16,16,16,-1,0,%apps-1-%var12%
addvar,var12,1
shortcut,151,16,apps-1-%var12%,s
button,151,16,16,16,-1,0,%apps-1-%var12%
addvar,var12,1
shortcut,172,16,apps-1-%var12%,s
button,172,16,16,16,-1,0,%apps-1-%var12%
addvar,var12,1
shortcut,193,16,apps-1-%var12%,s
button,193,16,16,16,-1,0,%apps-1-%var12%


addvar,var12,-9


endregion,4,0



////OLD offsetadd,0,19
offsetadd,0,38
endregion,5,0

//////////////////////////////////////////
//////// END QUICK LAUNCHER
//////////////////////////////////////////
Title: could mods help me move this to Help Section?
Post by: charleskk on March 02, 2005, 01:26:18 PM
Hi Mods, i just realised i posted this in the wrong forum, this one is for hammerskin, i think my questions should be in "help and support" or  "General", could u kindly help me move this thread to the appropriate forum?

sorry for inconvenience..
thnx!
[Charles]
Title: Re: could mods help me move this to Help Section?
Post by: jhollin1138 on March 02, 2005, 02:07:00 PM
Quote from: charleskkHi Mods, i just realised i posted this in the wrong forum, this one is for hammerskin, i think my questions should be in "help and support" or  "General", could u kindly help me move this thread to the appropriate forum?

sorry for inconvenience..
thnx!
[Charles]
Yep, I moved your thread to "Help & Support."
Title: I found the answer
Post by: charleskk on March 02, 2005, 05:28:16 PM
Hi guys,

I finally found the answer, managed to do some more detailed searching and found some reading materials, so basically, i need to change my defregion to:

defregion,5,0,0,240,38,1

and now the icons updates perfectly!!

now only need to figure out how to give some of the shortcuts at the "quick launcher" a proper icon or a customed icons like "clauncher" that i used to use.

my next "assignment" is to be able to tweak the "News" page to display more than 3 lines of news along with the "up down arrows"
Title: Re: HELP with OSX v1.0 skin and fields/variables definitions
Post by: Broesel on March 03, 2005, 04:33:20 AM
Quote from: charleskk
Is there a FAQ on the basics of "skin programming" that i can read up?

Don't know, if you found the skinreferences yet ? They are here:

http://www.jhollin1138.com/forums/viewtopic.php?t=1454

And you can put questions to this skin in it's own thread:

http://www.jhollin1138.com/forums/viewtopic.php?t=1022

Maybe rbg08, the creator of the skin, will take a look at that. It is a
little complicated to get into the skintext from others.

Regards Broesel
Title: Re: I found the answer
Post by: rbg08 on March 03, 2005, 02:15:03 PM
Quote from: charleskknow only need to figure out how to give some of the shortcuts at the "quick launcher" a proper icon or a customed icons like "clauncher" that i used to use.

To use your own custom icon, place the image for the icon into the OSX folder under Images, then replace the "shortcut" command line for that shortcut with an "image" command line, keep the same coordinates and use the image's file name you included in the OSX folder.  Like this:

OLD: shortcut,4,0,apps-1-%var12%,s

NEW: image,4,0,[image name].png,t

Quotemy next "assignment" is to be able to tweak the "News" page to display more than 3 lines of news along with the "up down arrows"

Have fun making the modifications. :D   Let me know if you need any help.
Title: HELP with OSX v1.0 skin and fields/variables definitions
Post by: charleskk on March 03, 2005, 11:39:56 PM
Thanks guys for all the input.

Yes, it is really tough for a newbie to jump straight into skinning without prior knowledge of skin programming. The FAQ link helped a lot, but i still have some issues, and rbg08, thnx for coming in to write. Should i bring further questions to the original thread you started for your skin, or could i ask them here, or it doesnt matter actually because everybody here reads every single thread anyways .. heh..

let me know where to post my further Qs.

Thnx!!

Regards,
[Charles]
Title: HELP with OSX v1.0 skin and fields/variables definitions
Post by: rbg08 on March 04, 2005, 09:22:52 AM
You can feel free to continue posting here in this thread; no point in splitting an ongoing dialogue. :)
Title: HELP with OSX v1.0 skin and fields/variables definitions
Post by: charleskk on March 04, 2005, 11:03:20 AM
ok, here's what's happening,

As mentioned above, i'm trying to put the "OSX Complete" Today Plus plugin between 2 "normal" Today plug in, and i would like to fix it's height, so that i do not get things that goes off screen (vertically), thus the PPC will not bring out its "built-in" scroll bar, which will screw up the graphics on screen.

So, I modified the "OSX Complete" to have a fixed height,  enlarged the "main window" downwards, brought the row of quick launches lower, and also reduced the no. of Agenda / Tasks / Countdown lists to display 3 items only.

I've also added some custom icons (memory, battery, SD card, Storage) when looking at "System info"

I've also added TIME and also sunrise, sunset and their icons to the MAIN window.

I've also added other little things that will fill up the empty spaces on the Main window since it is enlarged slightly (which causes some screen refresh issues that i'm still not able to solve).

Here's the issues I encountered:

1. On main screen, i shifted the "clock" icon and the "Last updated" downards, but then i noticed that the "Last updated" and it's text keeps getting bolder and bolder if i just go to the MAIN screen and do not click on anything. Seems like the page keeps reloading and reloading, which causes this. But I can't seem to find the fix for it.

2. Next is, Weather, i added some additional info to it, like date under every icon, and on the "current weather", i added windspeed, wind direction, initially, i had screen refresh issues, ie. if i click on a day, and then click on next, the new text i added below the icons will overlap. I thought i fixed it, by change the last value in all the button commands from "0" to "-1".

it worked for a while, but somehow, i'm not sure if there is anything wrong with my mods, but the weather display doesnt seem right. sometimes the left most icon displays the current weather info correctly, but some times it shows "yesterday's weather.

initially, my date under every icon shows up properly and screen refreshes properly as mentioned above, but then suddenly, the info doesnt show anymore.  Even when i click on the left most' icon (to show today's weather), it doesnt show the page that used to show "windspeed" and "wind direction", but instead shows it as though its' "tomorrow"

I think it might have something to do with the "-1" that i've changed in all the "button" command within "WEATHER"

Even before i changed the above fields, it seems to me like weather always displays wrongly at night. I suspect it has something to do with daylight savings? I'm in Singapore (GMT + 8 ), and we do not have daylight savings. I'm sure i've defined my region correctly in Today config.exe so not sure if this is a separate issue.

3. I would like to make "NEWS" display two more lines (either one or two more) since i've made the MAIN window bigger (by bringing the battery/memory/SD card bar lower) . But I cannot figure out how to add the one or two additional lines to news. I tried duplicating the last series of commands to display the news line, but then it shows up fine the first time, but if i scroll up and down with the NEWS' slider, the last line will be overlapped by other text infinitely.

i tried to enlongate the scroll bar by doubling the scroll bar png but somehow it doesnt work.

So i'm lost in this area to create one or two more additional News line.

4.  For Launcher to have my own customed icons for the shortcuts/links, i've changed the "shortcut,x.x.x.x" to "image, ...[my own pix].bmp,t", but then if i do it to the group that have name of the apps displayed, the names displayed is wrong. it shows the name of the previous app. My quick fix was to manually type the name in the [name] field. there should be a fix for this, please advice..

5. Now, i have the first group of shortcuts in my quicklaunch bar, the second and third groups that is defined in config.exe also appears fine when i go to the LAUNCHER tab. but i want to add more groups of shortcuts. i've defined them in config.exe already, but just cannot seem to bring it up when i click on the "next" button. is two groups of shortcuts the max for this skin?

i tried to duplicate the last group of shortcuts in the skin, but changed the  "region" to one number higher, and also the apps-x-x to one number higher, but it still doesn't showed up. i changed apps-x-x to two numbers higher, and same thing... no show...

thus need help here also!!

I'll attempt to attach the modified skin here for you guys to analysis. basically, i need A LOT of help to make this skin work for me

The un-modified skin works fine for me, except for the Weather display that goes hay-wire at night, but i just need to mod it to fit my screen.

Thanks in advance!!!
Title: HELP with OSX v1.0 skin and fields/variables definitions
Post by: charleskk on March 04, 2005, 11:56:38 AM
OK, if it is more clear, here's a few screen shots below and here's some description:


1.  I set the PPC's clock to "day time", at 00:19hrs


2.  notice after abt a min, the "Last updated:...." text (circled in red) gets bolder?? seems like it keeps overlapping itself over and over again


3.  now, if i click on the weather icon or ther weather tab, i will get to the weather page. this is how i modified it to look like. with dates at the bottom of each day's weather so i know i am in the "correct week"


4.   now, if i click on the left most weather icon (which i assume will show "today's weather"), it shows up this page with my newly added "windspeed" and "wind direction" (is windspeed in km/h or mph or knots or other units??

BUT, i've set today to be SATURDAY 5th MARCH 2005, and this one is showing "yesterday" which is 4th March 2005 !!


5.  now, if i go back to weather and click on "Sat" , i think it is supposed to be "today" since i set today to saturday, but here, it appears saturday is "tomorrow" again

6.  now, i set the clock to SATURDAY 5th MARCH 2005, 22:22hrs (10:22pm), notice the weather icon for "today" now becomes a "daytime" icon?

which brings me to the question abt the sunrise and sunset, is it today's sunrise, sunset or tomorrows? or yestesterdays' ??


7.  now, if i click on the weather icon, notice the dates i created for all the days are gone!! ie. at "night", the dates don't appear!!


8.  and  if i click on the left most weather icon which should brings up "today"'s weather, well .. now it seems correct now... but ... the dates are not showing up in the previous page, which might make me wonder if this "sat" is today or next week? or last week ????!!
Title: HELP with OSX v1.0 skin and fields/variables definitions
Post by: rbg08 on March 04, 2005, 04:57:04 PM
A lot of the problems you are having can be fixed by changing the following code at the beginning of the skin file:
defregion,0,0,27,240,54,15
to:
defregion,0,0,27,240,70,15
It appears you added 16 to the height of the main window, so that region, 0, needs to be redefined with the new correct height.

The way the weather section works is a little complicated.  If TodayPlus has been updated in the past 4 hours, you will see current conditions displayed in the left-most spot with the time it was updated displayed beneath the weather icon.  If more than 4 hours have elapsed since TP was last updated, then you will see today's weather forcast in the left-most location.  This is also the same for the weather icon displayed on the main page.  You will see a daytime forcast on the main page, even if it is currently night, if there is no current conditions to display.  Sometimes TP will appear to be displaying the wrong date as today's date for weather.  This is a quirk that has something to do with the TodayPlus program itself, not the skin.  It may be due to the fact that weather.com's information is set to EST timezone and so it dosen't change today's weather date until it is midnight EST (just a guess).

Changing the News section will be rather complicated; but if you run into a wall let me know and I'll do my best to try to help you out. :)
Title: HELP with OSX v1.0 skin and fields/variables definitions
Post by: uk_skinner on March 04, 2005, 05:09:37 PM
charleskk:

 TodayPlus used the information from MSNBC whose source is from weather.com.  But the information on MSNBC ususally is 2 hours delayed.  TodayPlus also checked your last updated time (the time you update the weather information, not the one MSNBC update).  In the weather.com, there is no day forecast after 2:00PM local time.  So you can image with 2 hours delayed, the day forecast is not available at 4:00PM.

 So when you update the weather infomration in the morning, your 5-day forecast starts at Today.  If you update after 4:00PM (rougly) then it starts at tomorrow.

 The far left one brings up the current condition.  And the secondone should be "said" as the first day of the 5-day forecast.  In other words, if you it could be today or tomorrow as I mentioned previously.

 Also the updated time (MSNBC) is ET time not your local time.
Title: HELP with OSX v1.0 skin and fields/variables definitions
Post by: charleskk on March 05, 2005, 10:02:53 AM
Hi guys,

Once again, thnx for coming to the rescue   :D

1. yes, by adding "16" to that field in region 0, one of my issues was solved. The "Last updated:....." text doesnt get bolder by the minute

2. Regarding weather, i gather that i would need to synchronise the weather often to make it show the correct readings.

Only thing I don't understand is, how come at different time of the same day, my customised text [b[(date under each weather icon, and the windspeed and direction when i click on the leftmost weather icon in Weather tab)[/b] doesnt appear.

Need to find the correct place to insert the codes, so that it will display even if it was synchronised within the 4 hours or not.

3. I've attempted to make News display one more line (i think i would ultimately want to make it display 2 more, making it 5 news lines). I've yet to try it again, but maybe the clue might have something to do with the "defregion" for that region too, because i was getting overlapping text too. Only thing is, i might need help, on how to extend New's scrollbar and the up and down arrow buttons to work correctly too.

4. Do let me know what to do with the Launcher too. Coz, now, i can only display the shortcuts at the bottom of the main window, and then toggle between two groups of Launcher shortcuts in the Launcher tab only. I would like to make Launcher toggle between more groups. I attempted to modify the skin by duplicating the last group of codes and changing the "app-" number, but it doesnt bring up another group for me to toggle to..

Thanks once again!

Regards,
[Charles]
Title: still need help with modifying News and Launcher
Post by: charleskk on March 10, 2005, 09:51:09 AM
Hi mates,

I still need help with getting News to display 2 more lines and Launchers to display more or all groups that I've defined rather than just "APPS" and "GAMES"

Here's the codes that i attempted to mod, but doesnt work..

//////////////////////////////////////////
//////// RSS
//////////////////////////////////////////

region,0,100,-1
offset,offset_-1,offset_-1
updateregions,16

region,16,0,-1

if,region,17,1
imagebutton,200,1,online.png,t,17,4,0,0
else
imagebutton,200,1,offline.png,t,17,4,1,0
endif

initvar,var2,1

imagebutton,213,1,left_arrow.png,t,0,13,var2_-1
button,213,1,11,11,-1,6,var4=1
button,213,1,11,11,-1,6,var5=25

imagebutton,226,1,right_arrow.png,t,0,13,var2_1
button,226,1,11,11,-1,6,var4=1
button,226,1,11,11,-1,6,var5=25

if,var,var2,,>,%var16%
storevar,var2=1
else
endif

if,var,var2,,<,1
storevar,var2=%var16%
else
endif

image,228,25,scrollbar.png,t

button,226,25,11,3,0,6,var4=1
button,226,28,11,3,0,6,var4=4
button,226,31,11,3,0,6,var4=7
button,226,34,11,3,0,6,var4=10
button,226,37,11,3,0,6,var4=13

button,226,25,11,3,0,6,var5=25
button,226,28,11,3,0,6,var5=27
button,226,31,11,3,0,6,var5=29
button,226,34,11,3,0,6,var5=31
button,226,37,11,3,0,6,var5=33

imagebutton,226,14,up_arrow.png,t,0,13,var4_-3
button,226,14,11,11,-1,13,var5_-2
imagebutton,226,40,down_arrow.png,t,0,13,var4_3
button,226,40,11,11,-1,13,var5_2

if,var,var4,,>,15
storevar,var4=13
storevar,var5=33
else
endif

if,var,var4,,<,1
storevar,var4=1
storevar,var5=25
else
endif

image,228,%var5%,scroll.png,t

load,rss,%var2%

if,var,var2,,<,10

// PAGE NUMBER
changefont,tahoma,11,b
text,24,1,%var2%,r
text,24,1,/%var16%,l
changefont,tahoma,11,

else

// PAGE NUMBER
changefont,tahoma,11,b
text,24,1,%var2%,r
text,24,1,/%var16%,l
changefont,tahoma,11,

else

// PAGE NUMBER
changefont,tahoma,11,b
text,31,1,%var2%,r
text,31,1,/%var16%,l
changefont,tahoma,11,

endif



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

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

// REFRESH ON TITLE
button,51,0,148,12,0,7,,0
changefont,tahoma,11,b
text,120,1,[name],c
changefont,tahoma,11,

image,6,16,small_arrow_right.png,tr
RSS,title,18,14,207,12,%var4%,,,
button,15,14,210,12,16,4,100-highlight,-1
button,15,14,210,12,-1,6,var3=%var4%

addvar,var4,1

image,6,28,small_arrow_right.png,tr
RSS,title,18,26,207,12,%var4%,,,
button,15,26,210,12,16,4,100-highlight,-1
button,15,26,210,12,-1,6,var3=%var4%

addvar,var4,1

image,6,40,small_arrow_right.png,tr
RSS,title,18,38,207,12,%var4%,,,
button,15,38,210,12,16,4,100-highlight,-1
button,15,38,210,12,-1,6,var3=%var4%

////// NEW LINE?
addvar,var4,1

image,6,52,small_arrow_right.png,tr
RSS,title,18,50,207,12,%var4%,,,
button,15,50,210,12,16,4,100-highlight,-1
button,15,50,210,12,-1,6,var3=%var4%

addvar,var4,1

image,6,64,small_arrow_right.png,tr
RSS,title,18,62,207,12,%var4%,,,
button,15,62,210,12,16,4,100-highlight,-1
button,15,62,210,12,-1,6,var3=%var4%


///////
addvar,var4,-2

//endif

if,online,true

imagebutton,3,1,online.png,t,0,31,
imagebutton,3,14,link-online.png,t,-1,12,%var4%
addvar,var4,1
imagebutton,3,26,link-online.png,t,-1,12,%var4%
addvar,var4,1 imagebutton,3,38,link-online.png,t,-1,12,%var4%
////// NEW LINE?

addvar,var4,1
imagebutton,3,50,link-online.png,t,-1,12,%var4%
addvar,var4,1
imagebutton,3,62,link-online.png,t,-1,12,%var4%


//////
addvar,var4,-2

else

imagebutton,3,1,offline.png,t,0,30,
imagebutton,3,14,link-offline.png,t,-1,12,%var4%
addvar,var4,1
imagebutton,3,26,link-offline.png,t,-1,12,%var4%
addvar,var4,1
imagebutton,3,38,link-offline.png,t,-1,12,%var4%

////// NEW LINE?

addvar,var4,1
imagebutton,3,50,link-offline.png,t,-1,12,%var4%
addvar,var4,1
imagebutton,3,62,link-offline.png,t,-1,12,%var4%

//////
addvar,var4,-2


endif

offsetadd,0,54


endregion,16,0

region,16,100,-1
jumpregion,17,0

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

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

initvar,var13,1

load,rss,%var2%

changefont,tahoma,11,b
RSS,title,19,1,202,12,%var3%,,,c
changefont,tahoma,11,

if,var,var13,,=,1
imagebutton,3,1,down_arrow.png,t,-1,6,var13=2,-1
imagebutton,226,1,back.png,t,16,3,,0

//// OLD RSS,description,5,14,230,34,%var3%,     ,,
RSS,description,5,14,230,36,%var3%,     ,,

offsetadd,0,54

else
imagebutton,3,1,up_arrow.png,t,-1,6,var13=1,-1
imagebutton,226,1,back.png,t,16,3,,-1
//// OLD RSS,description,5,14,230,64,%var3%,     ,,
RSS,description,5,14,230,80,%var3%,     ,,

offsetadd,0,84


endif

endregion,16,100

color,font,-1_4_-1
endregion,0,100

//////////////////////////////////////////
//////// END RSS
//////////////////////////////////////////


//////////////////////////////////////////
//////// LAUNCHER
//////////////////////////////////////////

region,0,5,-1
offset,offset_-1,offset_-1

offsetadd,0,2

region,3,0,-1
image,188,-26,tab_selected.png,t
changefont,tahoma,12,b
color,font,0_0_128
text,210,-24,%apps-2%,c
color,font,-1_4_-1

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

shortcut,4,0,apps-2-1,s
button,4,0,16,16,-1,0,%apps-2-1
shortcut,24,0,apps-2-2,s
button,24,0,16,16,-1,0,%apps-2-2
shortcut,44,0,apps-2-3,s
button,44,0,16,16,-1,0,%apps-2-3
shortcut,64,0,apps-2-4,s
button,64,0,16,16,-1,0,%apps-2-4
shortcut,84,0,apps-2-5,s
button,84,0,16,16,-1,0,%apps-2-5
shortcut,104,0,apps-2-6,s
button,104,0,16,16,-1,0,%apps-2-6
shortcut,124,0,apps-2-7,s
button,124,0,16,16,-1,0,%apps-2-7
shortcut,144,0,apps-2-8,s
button,144,0,16,16,-1,0,%apps-2-8
shortcut,164,0,apps-2-9,s
button,164,0,16,16,-1,0,%apps-2-9
shortcut,184,0,apps-2-10,s
button,184,0,16,16,-1,0,%apps-2-10
shortcut,204,0,apps-2-11,s
button,204,0,16,16,-1,0,%apps-2-11

shortcut,4,18,apps-2-12,s
button,4,18,16,16,-1,0,%apps-2-12
shortcut,24,18,apps-2-13,s
button,24,18,16,16,-1,0,%apps-2-13
shortcut,44,18,apps-2-14,s
button,44,18,16,16,-1,0,%apps-2-14
shortcut,64,18,apps-2-15,s
button,64,18,16,16,-1,0,%apps-2-15
shortcut,84,18,apps-2-16,s
button,84,18,16,16,-1,0,%apps-2-16
shortcut,104,18,apps-2-17,s
button,104,18,16,16,-1,0,%apps-2-17
shortcut,124,18,apps-2-18,s
button,124,18,16,16,-1,0,%apps-2-18
shortcut,144,18,apps-2-19,s
button,144,18,16,16,-1,0,%apps-2-19
shortcut,164,18,apps-2-20,s
button,164,18,16,16,-1,0,%apps-2-20

//// OLD shortcut,184,18,apps-2-21,s
image, 184,18,bus_small3.bmp,t
button,184,18,16,16,-1,0,%apps-2-21

shortcut,204,18,apps-2-22,s
button,204,18,16,16,-1,0,%apps-2-22

shortcut,4,36,apps-2-23,s
button,4,36,16,16,-1,0,%apps-2-23
shortcut,24,36,apps-2-24,s
button,24,36,16,16,-1,0,%apps-2-24
shortcut,44,36,apps-2-25,s
button,44,36,16,16,-1,0,%apps-2-25
shortcut,64,36,apps-2-26,s
button,64,36,16,16,-1,0,%apps-2-26
shortcut,84,36,apps-2-27,s
button,84,36,16,16,-1,0,%apps-2-27
shortcut,104,36,apps-2-28,s
button,104,36,16,16,-1,0,%apps-2-28
shortcut,124,36,apps-2-29,s
button,124,36,16,16,-1,0,%apps-2-29
shortcut,144,36,apps-2-30,s
button,144,36,16,16,-1,0,%apps-2-30
shortcut,164,36,apps-2-31,s
button,164,36,16,16,-1,0,%apps-2-31
shortcut,184,36,apps-2-32,s
button,184,36,16,16,-1,0,%apps-2-32
shortcut,204,36,apps-2-33,s
button,204,36,16,16,-1,0,%apps-2-33

endregion,3,0

region,3,1,-1
image,188,-26,tab_selected.png,t
changefont,tahoma,12,b
color,font,0_0_128
text,210,-24,%apps-3%,c
color,font,-1_4_-1
changefont,tahoma,12,

// GO TO APPS
imagebutton,226,2,right_arrow.png,t,3,4,0,0

shortcut,5,0,apps-3-1,s
button,5,0,75,16,-1,0,%apps-3-1
text,23,1,[name],l

shortcut,5,18,apps-3-2,s
button,5,18,75,16,-1,0,%apps-3-2
text,23,19,[name],l

////////// OLD shortcut,5,36,apps-3-3,s
image,5,36,RubikCube_small.bmp,t
button,5,36,75,16,-1,0,%apps-3-3
text,23,37,TP config,l

shortcut,85,0,apps-3-4,s
button,85,0,75,16,-1,0,%apps-3-4
text,103,1,[name],l
shortcut,85,18,apps-3-5,s
button,85,18,75,16,-1,0,%apps-3-5
text,103,19,[name],l

////////// OLD shortcut,85,36,apps-3-6,s
image, 85,36,home_small.bmp,t
button,85,36,75,16,-1,0,%apps-3-6
text,103,37,Today,l

shortcut,165,0,apps-3-7,s
button,165,0,56,16,-1,0,%apps-3-7
text,183,1,[name],l
shortcut,165,18,apps-3-8,s
button,165,18,75,16,-1,0,%apps-3-8
text,183,19,[name],l
shortcut,165,36,apps-3-9,s
button,165,36,75,16,-1,0,%apps-3-9
text,183,37,[name],l

endregion,3,1

///////////////////////////////////////////////
//// ATTEMPT TO ADD ONE MORE
////  BUT FAILED

region,3,2,-1
image,188,-26,tab_selected.png,t
changefont,tahoma,12,b
color,font,0_0_128
text,210,-24,%apps-4%,c
color,font,-1_4_-1
changefont,tahoma,12,

// GO TO ANOTHER
imagebutton,226,2,right_arrow.png,t,3,4,-1,0

shortcut,5,0,apps-4-1,s
button,5,0,75,16,-1,0,%apps-4-1
text,23,1,[name],l
shortcut,5,18,apps-4-2,s
button,5,18,75,16,-1,0,%apps-4-2
text,23,19,[name],l
shortcut,5,36,apps-4-3,s
button,5,36,75,16,-1,0,%apps-4-3
text,23,37,[name],l
shortcut,85,0,apps-4-4,s
button,85,0,75,16,-1,0,%apps-4-4
text,103,1,[name],l
shortcut,85,18,apps-4-5,s
button,85,18,75,16,-1,0,%apps-4-5
text,103,19,[name],l
shortcut,85,36,apps-4-6,s
button,85,36,75,16,-1,0,%apps-4-6
text,103,37,[name],l
shortcut,165,0,apps-4-7,s
button,165,0,56,16,-1,0,%apps-4-7
text,183,1,[name],l
shortcut,165,18,apps-4-8,s
button,165,18,75,16,-1,0,%apps-4-8
text,183,19,[name],l
shortcut,165,36,apps-4-9,s
button,165,36,75,16,-1,0,%apps-4-9
text,183,37,[name],l

endregion,3,2

/////////// THE ABOVE STILL DOES NOT WORK
/////////////////////////////////////////////

offsetadd,0,52
endregion,0,5

//////////////////////////////////////////
//////// END LAUNCHER
//////////////////////////////////////////
Title: I can get Launcher to go to my other Groups already
Post by: charleskk on March 10, 2005, 02:31:41 PM
Hi again,

OK, after fiddling with the skin again, I manage to get Launcher to go to other Groups that I've defined in my config.exe

Now, only thing is, the News page, i could add two more lines to show when i click on the News tab, but then i still have problem with the scroll bars and buttons.

Any help or hint would be much appreciated!

Thnx!!!
Title: OK Maybe I've fixed the NEWS problems too
Post by: charleskk on March 10, 2005, 03:19:39 PM
Hi again,

Seems like I'm really writing to myself, but in case anybody here is following my issues, I think I've managed to fix my problem.

I think I manage to make the News tabs display 5 lines of news and also managed to fix the scrolling, if anyone interested, here's my MOD.

//////////////////////////////////////////
//////// RSS
//////////////////////////////////////////

region,0,100,-1
offset,offset_-1,offset_-1
updateregions,16

region,16,0,-1

if,region,17,1
imagebutton,200,1,online.png,t,17,4,0,0
else
imagebutton,200,1,offline.png,t,17,4,1,0
endif

initvar,var2,1

imagebutton,213,1,left_arrow.png,t,0,13,var2_-1
button,213,1,11,11,-1,6,var4=1
button,213,1,11,11,-1,6,var5=25

imagebutton,226,1,right_arrow.png,t,0,13,var2_1
button,226,1,11,11,-1,6,var4=1
button,226,1,11,11,-1,6,var5=25

if,var,var2,,>,%var16%
storevar,var2=1
else
endif

if,var,var2,,<,1
storevar,var2=%var16%
else
endif

image,228,25,scrollbar.png,t

//// NEWLY ADDED TO EXTEND VERTICAL SCROLL BAR
image,228,37,scrollbar.png,t
image,228,48,scrollbar.png,t
////

button,226,25,11,3,0,6,var4=1
button,226,28,11,3,0,6,var4=4
button,226,31,11,3,0,6,var4=7
button,226,34,11,3,0,6,var4=10
button,226,37,11,3,0,6,var4=13

//// TRIED ADDED THESE BUT DOESNT WORK
//// button,226,40,11,3,0,6,var4=16
//// button,226,43,11,3,0,6,var4=19
//// button,226,46,11,3,0,6,var4=22
//// button,226,49,11,3,0,6,var4=25
//// button,226,52,11,3,0,6,var4=28
//// button,226,55,11,3,0,6,var4=31
//// button,226,58,11,3,0,6,var4=34
//// button,226,61,11,3,0,6,var4=37
////


button,226,25,11,3,0,6,var5=25
button,226,28,11,3,0,6,var5=27
button,226,31,11,3,0,6,var5=29
button,226,34,11,3,0,6,var5=31
button,226,37,11,3,0,6,var5=33

//// TRIED ADDED THESE BUT DOESNT WORK
//// button,226,40,11,3,0,6,var5=35
//// button,226,43,11,3,0,6,var5=37
//// button,226,46,11,3,0,6,var5=39
//// button,226,49,11,3,0,6,var5=41
//// button,226,52,11,3,0,6,var5=43
//// button,226,55,11,3,0,6,var5=45
//// button,226,58,11,3,0,6,var5=47
//// button,226,61,11,3,0,6,var5=49
////

imagebutton,226,14,up_arrow.png,t,0,13,var4_-3
button,226,14,11,11,-1,13,var5_-2

//// OLD imagebutton,226,40,down_arrow.png,t,0,13,var4_3
//// OLD button,226,40,11,11,-1,13,var5_2
imagebutton,226,62,down_arrow.png,t,0,13,var4_3
button,226,62,11,11,-1,13,var5_2

////OLD if,var,var4,,>,15
////OLD storevar,var4=13
//// OLD storevar,var5=33
if,var,var4,,>,15
storevar,var4=13
storevar,var5=33

else
endif


//// OLD if,var,var4,,<,1
//// OLD storevar,var4=1
//// OLD storevar,var5=25

if,var,var4,,<,1
storevar,var4=1
storevar,var5=25

else
endif

image,228,%var5%,scroll.png,t

load,rss,%var2%

if,var,var2,,<,10

// PAGE NUMBER
changefont,tahoma,11,b
text,24,1,%var2%,r
text,24,1,/%var16%,l
changefont,tahoma,11,



else

// PAGE NUMBER
changefont,tahoma,11,b
text,31,1,%var2%,r
text,31,1,/%var16%,l
changefont,tahoma,11,

endif



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

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

// REFRESH ON TITLE
button,51,0,148,12,0,7,,0
changefont,tahoma,11,b
text,120,1,[name],c
changefont,tahoma,11,

image,6,16,small_arrow_right.png,tr
RSS,title,18,14,207,12,%var4%,,,
button,15,14,210,12,16,4,100-highlight,-1
button,15,14,210,12,-1,6,var3=%var4%

addvar,var4,1

image,6,28,small_arrow_right.png,tr
RSS,title,18,26,207,12,%var4%,,,
button,15,26,210,12,16,4,100-highlight,-1
button,15,26,210,12,-1,6,var3=%var4%

addvar,var4,1

image,6,40,small_arrow_right.png,tr
RSS,title,18,38,207,12,%var4%,,,
button,15,38,210,12,16,4,100-highlight,-1
button,15,38,210,12,-1,6,var3=%var4%

////// NEW LINES
addvar,var4,1

image,6,52,small_arrow_right.png,tr
RSS,title,18,50,207,12,%var4%,,,
button,15,50,210,12,16,4,100-highlight,-1
button,15,50,210,12,-1,6,var3=%var4%

addvar,var4,1

image,6,64,small_arrow_right.png,tr
RSS,title,18,62,207,12,%var4%,,,
button,15,62,210,12,16,4,100-highlight,-1
button,15,62,210,12,-1,6,var3=%var4%
///////

addvar,var4,-5

//endif

if,online,true

imagebutton,3,1,online.png,t,0,31,
imagebutton,3,14,link-online.png,t,-1,12,%var4%
addvar,var4,1
imagebutton,3,26,link-online.png,t,-1,12,%var4%
addvar,var4,1
imagebutton,3,38,link-online.png,t,-1,12,%var4%

////// NEW LINE?
addvar,var4,1
imagebutton,3,50,link-online.png,t,-1,12,%var4%
addvar,var4,1
imagebutton,3,62,link-online.png,t,-1,12,%var4%
//////

addvar,var4,-5

else

imagebutton,3,1,offline.png,t,0,30,
imagebutton,3,14,link-offline.png,t,-1,12,%var4%
addvar,var4,1
imagebutton,3,26,link-offline.png,t,-1,12,%var4%
addvar,var4,1
imagebutton,3,38,link-offline.png,t,-1,12,%var4%

////// NEW LINE?
addvar,var4,1
imagebutton,3,50,link-offline.png,t,-1,12,%var4%
addvar,var4,1
imagebutton,3,62,link-offline.png,t,-1,12,%var4%
//////

addvar,var4,-5


endif

offsetadd,0,54


endregion,16,0

region,16,100,-1
jumpregion,17,0

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

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

initvar,var13,1

load,rss,%var2%

changefont,tahoma,11,b
RSS,title,19,1,202,12,%var3%,,,c
changefont,tahoma,11,

if,var,var13,,=,1
imagebutton,3,1,down_arrow.png,t,-1,6,var13=2,-1
imagebutton,226,1,back.png,t,16,3,,0

//// OLD RSS,description,5,14,230,34,%var3%,     ,,
//// OLD2 RSS,description,5,14,230,36,%var3%,     ,,
RSS,description,5,14,230,55,%var3%,     ,,

offsetadd,0,54

else
imagebutton,3,1,up_arrow.png,t,-1,6,var13=1,-1
imagebutton,226,1,back.png,t,16,3,,-1
//// OLD RSS,description,5,14,230,64,%var3%,     ,,
RSS,description,5,14,230,80,%var3%,     ,,


offsetadd,0,84


endif

endregion,16,100

color,font,-1_4_-1
endregion,0,100

//////////////////////////////////////////
//////// END RSS
//////////////////////////////////////////
Title: HELP with OSX v1.0 skin and fields/variables definitions
Post by: Broesel on March 10, 2005, 03:25:06 PM
Quote from: charleskk
Seems like I'm really writing to myself, but in case anybody here is following my issues, I think I've managed to fix my problem.

Sorry, but it would be better, if you attach the skintext you use, so that
somebody can download and test, because reading all the codelines in the
thread is very difficult and no chance to test anything.

Regards Broesel
Title: HELP with OSX v1.0 skin and fields/variables definitions
Post by: charleskk on March 10, 2005, 03:45:16 PM
Quote from: Broesel

Sorry, but it would be better, if you attach the skintext you use, so that
somebody can download and test, because reading all the codelines in the
thread is very difficult and no chance to test anything.

Regards Broesel

I guess this explains why I did not get any help recently.

I'll attach the txt again if i encounter more issues in the future. Thanks for the tip. For now, the skin is modded to do what i wanted it to do for me :)

Regards,
[Charles]