Rotlaus Software

Pages: 1 2 [3]
Print
Author Topic: Topbar changes  (Read 14100 times)
Stefaan Ellebaut

Posts: 91


View Profile WWW
« Reply #30 on: December 21, 2007, 05:51:50 PM »

Hey Pi3cH,

well I'va had numerous errors wen installing, trying Mortscript and S2R... so I'm getting a bit frustrated. Already 2 hard resets and many soft resets needed in 2 days because of it...
I make the .lnk files, but I don't get to see them on my Touch, it's like they're hidden or something.

So I'm thinking of leaving some stuff as it is. Just change the top and bottom bar color but leave eveything normak on that part...

Fonts is making me troubled also. I placed Focaldesign.ttf in Windows/font and all of a sudden my cube and comm manager used the icons font instead of the regular!

I also had a DS-digital font for my clock. I placed that font in my xml but it uses another? I think the font name is incorrect and it uses a standard digital font from WM6? The digit 1 is different in my added DS-Digital then I see on the screen. The problem is, the digit 1 shifts to the left, so the 88:88 is not in the same position as the real hour and minutes when it contains '1'... very annoying. Had to remove the date on the right of it because the clock always changes place when it is or isn't using '1' and was going over the date sometimes.

I would like that alarm clock icon somewhere on the right of the digital clock (were the date normally also is) as I would leave the topbar as it is right now.

Will take a look at SkinMobile5.

vjPhoneTools necassary? Isn't there a path to it? The standard HTC today plugin also goes to the last calls when you click the phone button underneath the clock, no?

Registry changing? Really? I presumed I would need another load of Mortscripts and stuff?

When I find the time, I'll place my png's online.
Logged
Stefaan Ellebaut

Posts: 91


View Profile WWW
« Reply #31 on: December 21, 2007, 06:22:18 PM »

Aaarrgg, never mind, I'll stay to the current skin!! Installed Mortscript again and had to hard reset AGAIN. I'm sick of it. Call me stupid, but only rlToday works without problems here. Only real problem on the skin is the appointments. HomeScreen and Next always show the same appointment so I never get the first 2, only two times the 1st one.
Logged
Stefaan Ellebaut

Posts: 91


View Profile WWW
« Reply #32 on: December 21, 2007, 09:30:36 PM »

Ok, after hard reset I installed PMC TodayShrink to get rid of the bottom bar, that gives me more space.
I also changed the font of the clock and it is now nicely working. I've set my date below, looks better now I think.
Installed Mortscript without problems to get your appointments thingy to work.


Problems/requests:

1) get an alarm icon when alarm is set, right of digital clock or next to date (something like: vr 21 dec, alarm: 5.15h)
EDIT; never mind, I can see it when S2U2 gets active, so no worries.

2) looks like the time is not correctly made with mortscript. 'Spar' Tomorrow is from 7.30 till 12.30 and is put in like that in the calendar, however my todayscreen shows from 10.00 until 15.00... Maybe something with the timezones that gets it incorrectly?
3) Spar has already passed but it remains on my todayscreen, I guess the msrc isn't loading or something? I have absolutely no idea how that stuff works... I installed Mortscript and pasted the msrc folder to my rltoday skin, that's all...
4) Changing 'tomorrow' into the 'morgen' (the Dutch equivalent)
5) I also have an appointment set on Sunday. But it doens't show at the todayscreen, only Spar tomorrow, how come?
6) Changing 3 main buttons at the bottom to highlight when touched, without using S2R because that makes mt Touch f***ed up everytime.

All files: http://www.focaldesign.be/HTC/

Screenshot: see attachment
Logged
Pedram
Global Moderator
Sr. Member
*****
Posts: 266



View Profile WWW
« Reply #33 on: December 22, 2007, 02:31:36 PM »

Yesterday I worked on skin and did benchmarking on my ppc.
I found some error and resource consuming part in codes so I optmized them.

1.
Run stop.mscr to stop topbar functionality.

Open your skin.xml file and change refresh time from 100 to 5000. This will save many cpu usage
Code:
Open tobar.mscr and put following code at end of file in order to have alarm:
Code:
SUB SetAlarm
    Alarm = RegRead("HKCU", "\System\State\Shell\Alarms", "Next")
    IF(PreAlarm ne Alarm)
        PreAlarm = Alarm
        IF (Alarm ne "")
          RegWriteString("HKCU", "\Software\Pi3cH\Topbar\", "Alarm", "W")
        ELSE
          RegWriteString("HKCU", "\Software\Pi3cH\Topbar\", "Alarm", "A")
        EndIF
    EndIF
ENDSUB
and put following line onther the "IF(ActiveWindow() eq "Desktop")"
Code:
Call("SetAlarm")
Open you skin xml file and put below code in order to view alarm icon on rltoday.
Code:


   

2.
Open Appointment-Home and Appointment-Next mscr file and set Offset to zero. I mean Offset=0 this will fix your time problem.

Remember if you do not want to remove tobar many part of code could be disabled.

3. will fix after doing previous step.

4. open Appointment-Home and Appointment-Next search for tomorrow and rename it to morgen

5. Only today and tomorrow appointment are shown on today screen. For other days you can use bulit-in calander plugin.

6. working on it.

7. Use Pie3 Font digital numbers. Or rename dsdigital font to DS-Digital. font file name must be the same as font title. You can find font title after opening font in your desktop computer.

I will be away for another 2 days Wink
Logged

------------------------
rlToday Developer Resource Kit v0.5
 I-teq XBOND, WM5, 5.1.195, V1.12.80
Stefaan Ellebaut

Posts: 91


View Profile WWW
« Reply #34 on: December 22, 2007, 04:29:24 PM »

Thx for the reply!

Changed the refresh rate, never thought of that.

I can't find a good icon and the Pi3 fonts on this website don't have that icon. So I altered it a bit, I get a digital text 'alarm' on the right... Will do until I find a good icon.

I've set the offset to 0 but it's stil an hour ahead. Made offset=--60*60 to work.
Another problem here. In Belgium we don't use AM/PM but we count till 24. Now it says 18.30PM-19.30PM instead of just 18.30-19.30, what do I change here?

I'm having an appointment set today and tomorrow, only the one of today is showing, strange... When I look at your code you are looking in HKCU\System\State\Appointments\Next. When I look at that, via PHM Registry, it always says the same as \HomeScreen... is that normal?
Logged
Pedram
Global Moderator
Sr. Member
*****
Posts: 266



View Profile WWW
« Reply #35 on: December 28, 2007, 02:36:38 PM »

Quote from: Focaldesign
Thx for the reply!

Changed the refresh rate, never thought of that.

I can't find a good icon and the Pi3 fonts on this website don't have that icon. So I altered it a bit, I get a digital text 'alarm' on the right... Will do until I find a good icon.

I've set the offset to 0 but it's stil an hour ahead. Made offset=--60*60 to work.
Another problem here. In Belgium we don't use AM/PM but we count till 24. Now it says 18.30PM-19.30PM instead of just 18.30-19.30, what do I change here?
open Appointment-Home.mscr and Appointment-Next.mscr and change below two lines:
Code:
sTimeFmt = "H:i A"
eTimeFmt = "H:i A"
to
Code:
sTimeFmt = "h:i"
eTimeFmt = "h:i"
("h" should be changed to lower case)

Quote
I'm having an appointment set today and tomorrow, only the one of today is showing, strange... When I look at your code you are looking in HKCU\System\State\Appointments\Next. When I look at that, via PHM Registry, it always says the same as \HomeScreen... is that normal?
It is usual thing for Windows Mobile.

I have another idea for saving cpu usage, we can stop tobar.mscr to run always. on the other hand we can set OnClick action for background image. as soon as we click on background image topbar.mscr would run and today screen would be updated. Or we can set topbar.mscr to run automatically once when press power key. what is ur idea?
Logged

------------------------
rlToday Developer Resource Kit v0.5
 I-teq XBOND, WM5, 5.1.195, V1.12.80
Stefaan Ellebaut

Posts: 91


View Profile WWW
« Reply #36 on: December 28, 2007, 03:15:31 PM »

Thx for the time issue, I keep forgetting to look at that stuff on top of the codes.. Smiley

That sucks about the appointments... So I can only see the appointment of today and tomorrow, never just the 2 upcoming, even if it is later then 2 days?

Looks like a good idea on the cpu-usage. Onclick maybe a bit odd, me having to tab the screen just to get a correct screen Smiley
Is it much work to make it run when I press the power button to get my screen? And what if I'm checking mail and stuff and I return to the homescreen, I doesn't update then I presume?

Any luck on the image change of my 3 main buttons when tapping?
Logged
Pedram
Global Moderator
Sr. Member
*****
Posts: 266



View Profile WWW
« Reply #37 on: January 01, 2008, 12:10:44 PM »

And here is my gift for you for 2008 :-)
I found a software which released just some hours ago, it looks what you want:



http://www.pointui.com/Home.aspx

HAPPY NEW YEAR!
Logged

------------------------
rlToday Developer Resource Kit v0.5
 I-teq XBOND, WM5, 5.1.195, V1.12.80
Stefaan Ellebaut

Posts: 91


View Profile WWW
« Reply #38 on: January 01, 2008, 10:18:51 PM »

Thx and a happy newyear to you too!!!
I've seen that software on a YouTube movie some days ago. Looks very nice but at this moment not customizable...
Logged
ultravox

Posts: 25


View Profile
« Reply #39 on: January 13, 2008, 05:25:35 PM »

Quote from: Pi3cH
(
1. For alarm, I added new function in tobar.mscr. if you set new alarm you will see a hear beside digital clock. I will change this heart character to alarm chatacter as soon as download your new font. by clicking on hear time and alarm setting in control panel will open.
Hi.

1st let me say something already posted several times: what a great software!!!

I've been playing around wit skins and scripts in order to get mt 1st skin ready.

The alarm feature that you talk about would be a very nice improvement.
I'm using this font: http://rotlaus-software.de/forum/viewtopic.php?pid=2811#p2811 because it's a mix of previous fonts. An alarm add-on would be nice.

I'm also hiding top( 2pxs) and bottom bar.  OK and start still possible.

Well, no more talking. I'll try to finish the 1st beta; gprs status is missing.

Cheers.
Logged
Pedram
Global Moderator
Sr. Member
*****
Posts: 266



View Profile WWW
« Reply #40 on: January 14, 2008, 12:02:44 PM »

thnx for sharring.

what is your tool for modifying fonts? I am really seeking for good one.
Logged

------------------------
rlToday Developer Resource Kit v0.5
 I-teq XBOND, WM5, 5.1.195, V1.12.80
ultravox

Posts: 25


View Profile
« Reply #41 on: January 15, 2008, 08:37:10 AM »

Quote from: Pi3cH
thnx for sharring.

what is your tool for modifying fonts? I am really seeking for good one.
Hi. I just shared the link, the work is not mine. Maybe you should contact the author of the thread.

Cheers
Logged
ultravox

Posts: 25


View Profile
« Reply #42 on: January 28, 2008, 10:01:52 PM »

Quote from: Pi3cH
I have another idea for saving cpu usage, we can stop tobar.mscr to run always. on the other hand we can set OnClick action for background image. as soon as we click on background image topbar.mscr would run and today screen would be updated. Or we can set topbar.mscr to run automatically once when press power key. what is ur idea?
How can we associate the power button to the topbar.mscr? I need it, because the lock software sometimes stops the script ( when the phone is off for a long time).

Is it possible to set a delay to read the SD free space? when the phone starts, the script is faster then the Sd to wake up.

Cheers
Logged
Pedram
Global Moderator
Sr. Member
*****
Posts: 266



View Profile WWW
« Reply #43 on: January 29, 2008, 01:04:06 PM »

Quote from: ultravox
Quote from: Pi3cH
I have another idea for saving cpu usage, we can stop tobar.mscr to run always. on the other hand we can set OnClick action for background image. as soon as we click on background image topbar.mscr would run and today screen would be updated. Or we can set topbar.mscr to run automatically once when press power key. what is ur idea?
How can we associate the power button to the topbar.mscr? I need it, because the lock software sometimes stops the script ( when the phone is off for a long time).

Is it possible to set a delay to read the SD free space? when the phone starts, the script is faster then the Sd to wake up.

Cheers
Plz seek in MortScript Manual, There is function like RunOnPoweron, RunPowerOn, ... for running your script anytime power butten pressed.

for setting delays, simply use sleep function.
Logged

------------------------
rlToday Developer Resource Kit v0.5
 I-teq XBOND, WM5, 5.1.195, V1.12.80
Pages: 1 2 [3]
Print
Jump to: