PDA

View Full Version : ProfileTimer - App for controlling ring & other hardware functions


dt_matthews
24th January 2009, 06:16 PM
pt is no longer supported, thanks, dan.

dody
24th January 2009, 06:52 PM
Any screen shots !!?

band27
24th January 2009, 07:10 PM
Haven't tried it yet. Sounds like a nifty program.;)

dt_matthews
24th January 2009, 10:40 PM
Any screen shots !!?

here dude ;-)

http://rapidshare.com/files/188907011/profileTimer.png

pitchbend
26th January 2009, 02:22 AM
hey i'd really like to use this app but it doesnt start on my blackstone :(.

dody
26th January 2009, 05:56 AM
here dude ;-)

http://rapidshare.com/files/188907011/profileTimer.png

Thanks ! it is great

ttherapon
26th January 2009, 10:17 PM
l tried so many apps for automatic changing of profiles with no success! This is the only one that works with weekly profile management!wll done! Only two suggestions-issues: a.make a tool to change the .hml file faster and easy b.sometimes when changing profile there is a notification error don't know why!

Kraize
27th January 2009, 01:54 AM
I tried CommManagerPro and woah! That was a complicated app! It had too many functions for me to figure out what to do and normally I'm the tech whiz. I think the dev tried to do too many things with one app >.> It ended up bad. It will take time to set that up. This is an easy to setup app that is fine for my needs :) Now I just need to find the one that supported tower ids.

cejay
27th January 2009, 07:54 PM
I have edited the config.xml file and have it in my profile timer folder..
I can launch profile timer and see the schedule, but how do I keep the program running?
I see schedule.exe and have clicked it, and it turn my vibrate on, etc.
So I assume that the scheduler.exe file has to be in the startup
folder in order for the profiletimer program to start up
and run after reset? To manually start it, it looks like you just
need to run the scheduler.exe.
Am i correct about where put the scheduler.exe to run the program
and start the sched?
cj

(also, in the config.xml, what happens if you want a schedule
to go from 7am-12pm (ringer off), then 12pm-5 (ringer on)
do you have to input 7:01-12:00, then start the next one at 12:01-17:00?
or can you put in 12:00-17:00 (didnt know if the program would
accept the overlap from 12:00 or if it needed 12:01.
I assume that if you dont put anything in for 12:00-17:00 then the
program will run the Default setup and turn the ringer on , etc..
does that mean from 12:00-12:01 it would default to the default
of the phone as setup in config.xml?

dt_matthews
27th January 2009, 10:00 PM
I have edited the config.xml file and have it in my profile timer folder..
I can launch profile timer and see the schedule, but how do I keep the program running?
I see schedule.exe and have clicked it, and it turn my vibrate on, etc.
So I assume that the scheduler.exe file has to be in the startup
folder in order for the profiletimer program to start up
and run after reset? To manually start it, it looks like you just
need to run the scheduler.exe.
Am i correct about where put the scheduler.exe to run the program
and start the sched?
cj

(also, in the config.xml, what happens if you want a schedule
to go from 7am-12pm (ringer off), then 12pm-5 (ringer on)
do you have to input 7:01-12:00, then start the next one at 12:01-17:00?
or can you put in 12:00-17:00 (didnt know if the program would
accept the overlap from 12:00 or if it needed 12:01.
I assume that if you dont put anything in for 12:00-17:00 then the
program will run the Default setup and turn the ringer on , etc..
does that mean from 12:00-12:01 it would default to the default
of the phone as setup in config.xml?

Some more notes to clarify;

1. Extract ALL the files to the SAME folder on your device
2. Edit the config.xml to your timing requirements
3. Run ProfileTimer.exe
4. *DONT* run scheduler.exe diretcly (main app calls it as a console app)
5. If you want it to run after Soft-reset put a shortcut in Startup folder
6. The icons are (left to right):
a. Ringer on - Green shield
b. Vibrate - Amber shield
c. Red - silent
d. Sunglasses dude - light off
7. The program - like most other WM apps runs in the bacground (just hit your normal ok button to 'minimise' it
8. If you want to actually shut the app there is a Kill PT menu item
9. Volume setting is WIP, it should set ringer volume but I am still playign with this!

With regards to schedules with overlapping days, to be hones give it a go - as per my original post, I havent actually tried that. if it doesnt work, just split the schedule in to its seperate days so to speak.

hth
and sorry for slow reply, notification thread setting was wrong!

dt_matthews
27th January 2009, 10:02 PM
l tried so many apps for automatic changing of profiles with no success! This is the only one that works with weekly profile management!wll done! Only two suggestions-issues: a.make a tool to change the .hml file faster and easy b.sometimes when changing profile there is a notification error don't know why!

'Notification error' - could you give me any more detail - the View Log menu item should give you a bit more info so if you could post that...

dt_matthews
27th January 2009, 10:03 PM
hey i'd really like to use this app but it doesnt start on my blackstone :(.
what happens, happy to try and help - if you read my recent post with the bullet points that *might* get you running ! let me know if i can help ;-0

TheMorpheus
28th January 2009, 09:32 AM
This is what I was looking for, but I have some problems:
the profile changes to vibrate but it dosen't go back to normal!!
Here the config file:
<dayProfile day="Wednesday">
<session activate="09:00" deactivate="09:02" vibrate="on" ring="off" volume="0" />
</dayProfile>

The default settings are:
<default vibrate="on" ring="on" volume="3" />

Tnx!

Mr_Gee
28th January 2009, 12:30 PM
This is great, and so simple :-)
Just a question,
what happens after the "deactivation" will the default be selected?
(what TheMorpheus is mentioning)

also look at my screen shot, there is something wrong with the calculation,
the phone should be burning a hole in my pocket by now ;-)
could it be you forgot a comma? (I think this is also valid for the voltage)

Lat question, the volume, are they points or steps?
e.g. in the FMOD lib you can set the volume to 255 (full) is that the same case here or is 5 the highest?
(1 = 20%, 2 = 40%, .. > 5 = 100% )

thanks

aaauto
28th January 2009, 03:56 PM
Great and simple application.

Here is some functions make it more perfect.
Can it have some exception on some calendar events?
Such as mobile should have exception ring/vibration when I'm on Holiday or Public holiday.

Also, if it can execute some commands, it can provide more flexibility.

TheMorpheus
28th January 2009, 05:25 PM
I changed the code:

<dayProfile day="Wednesday">
<session activate="08:00" vibrate="on" ring="off" volume="0" />
<session deactivate="12:10"/>
<session activate="14:00" vibrate="on" ring="off" volume="0" />
<session deactivate="18:10"/>
</dayProfile>

Now it seems working!!

If I want it to run after Soft-reset, what shortcut do I have to put in startup folder?

dt_matthews
28th January 2009, 07:04 PM
This is what I was looking for, but I have some problems:
the profile changes to vibrate but it dosen't go back to normal!!
Here the config file:
<dayProfile day="Wednesday">
<session activate="09:00" deactivate="09:02" vibrate="on" ring="off" volume="0" />
</dayProfile>The default settings are:
<default vibrate="on" ring="on" volume="3" />Tnx!

Hi,

It's not working because you have the default vibrate="on", therefore, once your session finishes, it is setting it to vibrate not ring!!

regards,
dan

dt_matthews
28th January 2009, 07:06 PM
I changed the code:

<dayProfile day="Wednesday">
<session activate="08:00" vibrate="on" ring="off" volume="0" />
<session deactivate="12:10"/>
<session activate="14:00" vibrate="on" ring="off" volume="0" />
<session deactivate="18:10"/>
</dayProfile>Now it seems working!!

If I want it to run after Soft-reset, what shortcut do I have to put in startup folder?
You have added tags ( <session deactivate="18:10"/> ) which the app has no awareness of and will (at best) be ignored, and possibly confuse it. I advise you remove them! I assume its now working as you amended the default tag to make sense? (see my previous post).

Regards auto-start, put a shortcut to the ProfileTimer.exe and that will do what you want....

cheers

dt_matthews
28th January 2009, 07:07 PM
Great and simple application.

Here is some functions make it more perfect.
Can it have some exception on some calendar events?
Such as mobile should have exception ring/vibration when I'm on Holiday or Public holiday.

Also, if it can execute some commands, it can provide more flexibility.
thanks for the feedback.

dt_matthews
28th January 2009, 07:09 PM
This is great, and so simple :-)
Just a question,
what happens after the "deactivation" will the default be selected?
(what TheMorpheus is mentioning)

also look at my screen shot, there is something wrong with the calculation,
the phone should be burning a hole in my pocket by now ;-)
could it be you forgot a comma? (I think this is also valid for the voltage)

Lat question, the volume, are they points or steps?
e.g. in the FMOD lib you can set the volume to 255 (full) is that the same case here or is 5 the highest?
(1 = 20%, 2 = 40%, .. > 5 = 100% )

thanks

thanks for your feedback.

re the temp and voltage, they are the *battery* levels, not the device! that is the reported internal temp of battery and the voltage (in milliamps as per symbol). hth.

the volume setting is still WIP, I will do some more research and get back to you!

cheers,
dan

ritterkeks
28th January 2009, 08:35 PM
whoah great! i wish you had posted this some weeks earlier, before i tried every program that could do this.
for me only "autoflight" worked, which has more features than i need (reading the time aloud on schedule or on the press of a button), but i simply don't use.

however, what i like is the feature to automatically turn the phone off and on at specific times (flight mode)
this saves energy, the phone is right aside my head during night & i won't wake up through some stupid email at 2 o'clock in the morning (has happened some times...)

if you could integrate switching to flight mode, it would be great.
because autoflight seems to have some serious bugs, eg with the previous version i couldn't manually set the phone to loud, when autoflight set it silent, the phone would simply crash or reboot..
also some other notifcations stop to work from time to time, which prevents the phone from checking mails and -more important- me waking up..

i hope this is no problem for you,
ritterkeks

cejay
28th January 2009, 08:43 PM
When you said put a shortcut in the startup folder
to run the prog on startup, you did mean, a shortcut to the scheduler.exe?
or profiletimer.exe..
if its profiletimer.exe, wont this interrupt me with the profile timer screen
after reset? I dont want to see that everytime i boot up.
Also, is there an option NOT to have the pt.wav file play?
that freaked my wife out when she heard a metal clang coming
from my phone at 12am in the morning when the profle changed

chris

dt_matthews
28th January 2009, 08:48 PM
When you said put a shortcut in the startup folder
to run the prog on startup, you did mean, a shortcut to the scheduler.exe?
or profiletimer.exe..
if its profiletimer.exe, wont this interrupt me with the profile timer screen
after reset? I dont want to see that everytime i boot up.
Also, is there an option NOT to have the pt.wav file play?
that freaked my wife out when she heard a metal clang coming
from my phone at 12am in the morning when the profle changed

chris
no, shortcut to ProfileTimer.exe, scheduler is called by the UI to perform API schedule commands, sorry, i dont have an invisible mode for startup, i prefer to know see my schedule and then minimise if I have done a soft reset.

re the sound, I will add a disable function function when i get a minute.

cheers,
dan

TheMorpheus
28th January 2009, 11:23 PM
You have added tags ( <session deactivate="18:10"/> ) which the app has no awareness of and will (at best) be ignored, and possibly confuse it. I advise you remove them! I assume its now working as you amended the default tag to make sense? (see my previous post).

Regards auto-start, put a shortcut to the ProfileTimer.exe and that will do what you want....

cheers

Now it works!!!

dt_matthews
28th January 2009, 11:37 PM
(as per top of thread)

** new d/l link (exe update with silent (no audio alarm) profile switching capability) **

http://rapidshare.com/files/190859091/ProfileTimer.zip

Gwadro
28th January 2009, 11:55 PM
Thanks for this great tool. Is it possible to remove / hide the Trayicon?

cejay
29th January 2009, 12:00 AM
loaded the new (silent) version..
Got an error.
Method not found. PlaySound.
MT Common.Methods

any idea?

hogy
29th January 2009, 01:48 PM
loaded the new (silent) version..
Got an error.
Method not found. PlaySound.
MT Common.Methods

any idea?
Same problem with htc elf

FactionOne
29th January 2009, 04:50 PM
Could a temporary work-around be using the version which does play a sound, and just replace the PT.WAV file with a silent audio file bearing the same name?

Regards,

Rob.

dt_matthews
29th January 2009, 10:25 PM
hi peeps

Sorry, forgot to update the app dll in the zip file yesterday (hence runtime error to changed code!)

Updated downlad (as per post #1 link) is here;
http://rapidshare.com/files/191297867/ProfileTimer.zip

dt_matthews
29th January 2009, 10:57 PM
Hi peeps. I'm glad people seem to like the app. I see it has now been downloaded over 500 times in total. As such, I was wondering if those of you who are finding it useful might be interested in making the *tiniest* of contributions towards the cost of developing it (time and dev tools!). I really would appreciate anything to recoup some of the resources I have put into this app. The donation link is below. If I do get any contributions it will also allow me to continue developing it as per user requests!

https://www.paypal.com/en_GB/i/btn/btn_donate_LG.gif
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=FBUYBBJM26YAS&lc=GB&item_name=profileTimer&item_number=profileTimer&currency_code=GBP&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHos ted

Thanks again, dan.

Mr_Gee
30th January 2009, 12:09 AM
Hi peeps. I'm glad people seem to like the app. I see it has now been downloaded over 500 times in total. As such, I was wondering if those of you who are finding it useful might be interested in making the *tiniest* of contributions towards the cost of developing it (time and dev tools!). I really would appreciate anything to recoup some of the resources I have put into this app. The donation link is below. If I do get any contributions it will also allow me to continue developing it as per user requests!

https://www.paypal.com/en_GB/i/btn/btn_donate_LG.gif
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=FBUYBBJM26YAS&lc=GB&item_name=profileTimer&item_number=profileTimer&currency_code=GBP&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHos ted

Thanks again, dan.

Sure, since you asked so niceley ;-)

dt_matthews
30th January 2009, 12:19 AM
Sure, since you asked so niceley ;-)

You are a dude, thanks very much Mr_Gee ;)

dt_matthews
30th January 2009, 10:01 AM
if any kind sould do wish to donate *any* small amount, please could you do it from a **Paypal balance** as I dont I dont have a Paypal Commercial Account so cannot take payments from a card!

Thanks again!
dan

cejay
30th January 2009, 06:23 PM
didnt see an option to choose a silent audio alarm
inside the profiletimer program in the last post..
ideas?
cj

dt_matthews
30th January 2009, 06:44 PM
didnt see an option to choose a silent audio alarm
inside the profiletimer program in the last post..
ideas?
cj

just remove/rename the audio file

cheers,
dan

jimmijamz
31st January 2009, 11:39 AM
hi, not too sure if this is working on the samsung omnia i900

Error:
Method not found:
PlaySound
MT.Common.Methods

hubert-bangol
31st January 2009, 01:30 PM
Very nice, works on a LG-KS20 with WM6.1

Here are my wishes:
- option to hide at startup
- option to modify the ring
- option to change the backlight
- flight mode
- today plugin
- installation/upgrade with a cab
- and later, a visual editor, but the xml file is nice

Thanks!

dt_matthews
31st January 2009, 03:02 PM
hi, not too sure if this is working on the samsung omnia i900

Error:
Method not found:
PlaySound
MT.Common.Methods

you have downloaded the version which had an updated ProfileTimer.exe but I overlooked uploading the PT.dll - if you download the current link in the original post that should resolve it.

let me know!
cheers,
dan

jonath2809
31st January 2009, 05:01 PM
Nice tool thanks !

Any possibilities to add Bluetooth On/Off option ?

Thanks

dt_matthews
31st January 2009, 11:24 PM
Nice tool thanks !

Any possibilities to add Bluetooth On/Off option ?

Thanks

ill put it on the feature list, although tbh i was hoping i might have had more donations (from the 600+ people who have downloaded I have had ONE donation) so am a bit disheartened with it!

i thought giving, for example, a pound, for a useful app would be reasonable but only one person agrees evidently... :(

dt_matthews
1st February 2009, 10:05 PM
Latest build:

# Includes Volume control (0-5) for both session and the default device settings (via config.xml)

# Audio alarm when switching profiles is now optional, simply remove or rename pt.wav if you dont want to get an audible notification

# Tweaked performance

Cheers,
dan

Mr_Gee
2nd February 2009, 12:22 PM
ill put it on the feature list, although tbh i was hoping i might have had more donations (from the 600+ people who have downloaded I have had ONE donation) so am a bit disheartened with it!

i thought giving, for example, a pound, for a useful app would be reasonable but only one person agrees evidently... :(

Welcome to the freeware club.. I've had 2000 downloads in total and 0 donations...

lastnikita
2nd February 2009, 12:50 PM
from the 600+ people who have downloaded I have had ONE donation
it's only been a week :-/
I as an example downloaded that but didn't have time to test it yet.
And I would not donate if it's not useful for me, however I have to download to try.. I agree devs do miss some donations, but your request happens way too early.

Phil82de
2nd February 2009, 02:52 PM
Hey!

Great work! Seems to be a great programm after needing some time to understand how it works (what about a small help-txt?). What a pitty that it don't have a invisible&autostart-mode!

Uhm, where can I download the new Version? The rapidshare-links don't work any more?

dt_matthews
2nd February 2009, 08:46 PM
updated;

http://rapidshare.com/files/193050164/pt.zip

Mr_Gee
3rd February 2009, 09:44 AM
Just noticed something, in the morning I want the phone to be loud,
but the profile does not change until I wake up the device first..

It is probably the same issue as :
http://www.ageye.de/index.php?s=galarm/manual/limitations#AlarmBug


:-/

Phil82de
3rd February 2009, 03:21 PM
Thank you verry much for the Link!!

Here are some Bugs I found in 0.1.223.1653:

- It seems that the app needs much batterie power!? The full Battery gone almoust empty over night with onlny Pt running.

- I know its not easy to include a invisible mode - but can't you change the "X" in the statusbar to an "OK" so that the Programm just goes into the background and don't close?

- I set the xml file to set the phone silent at 7.50 but I just changed to silent when I put the Display on and unlocked the keys at 8.26.

<session activate="07:50" deactivate="17:10" vibrate="on" ring="off" volume="0" />

06:58 03.02.09 * Event scheduled* Created a scheduled event using 'CeRunAppAtTime' to run at 07:50:00
08:26 03.02.09 *Schedule executed* Performed profile action on timed schedule [vibrate].
08:26 03.02.09 * Event scheduled* Created a scheduled event using 'CeRunAppAtTime' to run at 17:10:00

dt_matthews
3rd February 2009, 03:56 PM
Just noticed something, in the morning I want the phone to be loud,
but the profile does not change until I wake up the device first..

It is probably the same issue as :
http://www.ageye.de/index.php?s=galarm/manual/limitations#AlarmBug


:-/

hey Mr_Gee,

the UI will update as per the updatetimerinterval tag in the config but, if the device goes to sleep (very likely) then the UI is not refreshed till the next tick of the timer ocurrs - HOWEVER, the actual ringer profile change is done using a scheduled API call which is unaffected by the power state of the device... let me know but I think this is what you were describing?

(not easy to do much about the UI being 'frozen' when the device sleeps (except preventing sleep and that would kill battery life!)

dt_matthews
4th February 2009, 12:15 AM
hi peeps

just to say I have modified the app to start minimised. i am just doing some testing and hopefully will ***upload it on thursday*** if its working as intended.

cheers,
dan

Mr_Gee
4th February 2009, 10:54 AM
hey Mr_Gee,
let me know but I think this is what you were describing?


The thing you are describing doesn't seem to work on my phone...
and apparently Phil82de has the same issue :


- I set the xml file to set the phone silent at 7.50 but I just changed to silent when I put the Display on and unlocked the keys at 8.26.

<session activate="07:50" deactivate="17:10" vibrate="on" ring="off" volume="0" />

06:58 03.02.09 * Event scheduled* Created a scheduled event using 'CeRunAppAtTime' to run at 07:50:00
08:26 03.02.09 *Schedule executed* Performed profile action on timed schedule [vibrate].
08:26 03.02.09 * Event scheduled* Created a scheduled event using 'CeRunAppAtTime' to run at 17:10:00

While the "scheduler.exe" should run it doesn't untill the device is awake
if you are using the notification queue the link i posted earlier could be the solution...

dt_matthews
5th February 2009, 09:19 AM
The thing you are describing doesn't seem to work on my phone...
and apparently Phil82de has the same issue :



While the "scheduler.exe" should run it doesn't untill the device is awake
if you are using the notification queue the link i posted earlier could be the solution...

it runs fine on my (asleep) device every time! I dont use the notification queue as per your previous GAlarm (but thanks for the interesting) link. can you post your config and log file?

dt_matthews
5th February 2009, 09:25 AM
Thank you verry much for the Link!!

Here are some Bugs I found in 0.1.223.1653:

- It seems that the app needs much batterie power!? The full Battery gone almoust empty over night with onlny Pt running.

- I know its not easy to include a invisible mode - but can't you change the "X" in the statusbar to an "OK" so that the Programm just goes into the background and don't close?

- I set the xml file to set the phone silent at 7.50 but I just changed to silent when I put the Display on and unlocked the keys at 8.26.

<session activate="07:50" deactivate="17:10" vibrate="on" ring="off" volume="0" />

06:58 03.02.09 * Event scheduled* Created a scheduled event using 'CeRunAppAtTime' to run at 07:50:00
08:26 03.02.09 *Schedule executed* Performed profile action on timed schedule [vibrate].
08:26 03.02.09 * Event scheduled* Created a scheduled event using 'CeRunAppAtTime' to run at 17:10:00

if you send me your config and log files I will try and understand what is happening ;-)

dt_matthews
6th February 2009, 08:42 PM
Thank you verry much for the Link!!

Here are some Bugs I found in 0.1.223.1653:

- It seems that the app needs much batterie power!? The full Battery gone almoust empty over night with onlny Pt running.

- I know its not easy to include a invisible mode - but can't you change the "X" in the statusbar to an "OK" so that the Programm just goes into the background and don't close?

- I set the xml file to set the phone silent at 7.50 but I just changed to silent when I put the Display on and unlocked the keys at 8.26.

<session activate="07:50" deactivate="17:10" vibrate="on" ring="off" volume="0" />

06:58 03.02.09 * Event scheduled* Created a scheduled event using 'CeRunAppAtTime' to run at 07:50:00
08:26 03.02.09 *Schedule executed* Performed profile action on timed schedule [vibrate].
08:26 03.02.09 * Event scheduled* Created a scheduled event using 'CeRunAppAtTime' to run at 17:10:00

...the 'X' does not close the app, it merely minimises it to the system tray...

dt_matthews
6th February 2009, 10:58 PM
updated version;

http://rapidshare.com/files/194867145/ProfileTimer.CAB

Including;

# CAB installer - n.b. when prompted, install to DEVICE NOT card
# Minimised on startup (minimises to the system tray after initialisation)
# updated volume handling logic

n.b. the CAB does NOT place a shortcut in your Startup folder as that is potentially quite intrusive if not desired! obviously just create a shortcut manually if you so desire.

cheers, dan

dt_matthews
7th February 2009, 03:07 PM
UI bug fixes;

http://rapidshare.com/files/195121506/ProfileTimer.CAB

dt_matthews
8th February 2009, 11:08 PM
updated (see post 1 for URL)

# added a 'Kill' functionality - gives the ability to terminate an app in XX minutes.
apps are specified in the config.xml

cheers,
dan

Mr_Gee
9th February 2009, 12:13 AM
thanks, ill have another look..

btw you do know you can attch cab files to your posts...right
rapidshare sucks :-)

Phil82de
9th February 2009, 08:30 AM
...the 'X' does not close the app, it merely minimises it to the system tray...

That depends on the Phone settings... On my phone its closing. =(

N!ghty
9th February 2009, 07:50 PM
app really sounds awesome, i just installed it and noticed what i think everybody means when they talk about the minimizing.

can u program it as a service so that its not shown in the task list? kinda like g-alarm or whatever app that really runs "in the background"

i hate programs i dont "use" (which operate on their own) and show in the task list :(

would be awesome :D

dt_matthews
9th February 2009, 11:47 PM
updated:

http://rapidshare.com/files/196138274/ProfileTimer.CAB

added ability to sleep the device in XX minutes

dt_matthews
9th February 2009, 11:49 PM
app really sounds awesome, i just installed it and noticed what i think everybody means when they talk about the minimizing.

can u program it as a service so that its not shown in the task list? kinda like g-alarm or whatever app that really runs "in the background"

i hate programs i dont "use" (which operate on their own) and show in the task list :(

would be awesome :D

I wouldnt want an app running and not shown in task list since i wouldnt know if it was mis-behaving and needed to be killed. the app now runs (starts) minmised.

dt_matthews
9th February 2009, 11:51 PM
That depends on the Phone settings... On my phone its closing. =(

hmm. I have a PPC so that might account for it - havent had a smartphone for a while. i thought the last one i had still minimised apps rather than actually cosing them though, is is configurable or have MS changed the behaviour?

Phil82de
10th February 2009, 09:12 AM
hmm. I have a PPC so that might account for it - havent had a smartphone for a while. i thought the last one i had still minimised apps rather than actually cosing them though, is is configurable or have MS changed the behaviour?

Hmm, the htc diamond is my first Windows-Mobile-Device. I don't know if it was different in older versions but in WM 6.1 configurable. I set it to close the Apps with the X so I can't forget them and they can't use to much Memory.

I would prefer ProfileTimer running as a process and not been shown in the taskbar, but thats not so important for me.

Since Yesterday I use Version 0.1.306.1403 (stoped the programm, deleted the old files in the "intern Memory", installed the new Cab to the "phone-memory", copied the old xml-file to the new pt-program-folder and changed the autostart-link).
This morning PT crashed. It should be loud again at 6 in the morning. At 6:45 I got a call and missed it becose the phone was still silent. At 7:05 the alarm clock belled, but stopped after a few seconds. When I unlocked the phone I saw this Error Message:
Source: 2_action_ring- v0
Destination: \Programme\ProfileTimer\1_action_ring-v0
After I pressed OK, PT was not running any more. I started it again at 8:05.

It was the second time such a Message appeared since yesterday. With the older Version (from 02-02-2009, 08:46 PM) I never got anything like this.

I will attach the txt and xml file, so perhaps can you see anything more what happened. (In the xml I deleted the disambiguation id.)

dt_matthews
10th February 2009, 09:37 AM
those messages werent errors they were debug messages which should have been removed after I had done some testing! if you download the latest version this shold not occurr, let me know if you still have any issues

cheers,
dan

Phil82de
10th February 2009, 12:31 PM
those messages werent errors they were debug messages which should have been removed after I had done some testing! if you download the latest version this shold not occurr, let me know if you still have any issues

cheers,
dan

Hi Dan,

I think I already have the latest Version running - its 0.1.306.1403 ...could you write the version number next to the link next time? ;-)

I installed it again now, and made a soft-reset. I will tell you if the messages will appear again.

Phil82de
10th February 2009, 05:13 PM
Hey!
I had this messages again - with the newest Version from here: http://rapidshare.com/files/196138274/ProfileTimer.CAB

dt_matthews
10th February 2009, 06:54 PM
new version - 0.1.0309.1752

dt_matthews
10th February 2009, 06:57 PM
Hey!
I had this messages again - with the newest Version from here: http://rapidshare.com/files/196138274/ProfileTimer.CAB

hi Phil, let me know how you get on with the new version above

cheers,
dan

ZaLiTH
11th February 2009, 08:16 AM
Hey dt_matthews,

Thanks for an awesome app! I love it... First stumbled across it at www.freewarepocketpc.net, but I came looking for more info when I couldn't figure out how to run it. This thread actually has a lot of useful information in it! I'm surprised so many people ask the same questions over and over.... Lol...

Anyway, just to confirm something; I've downloaded the .cab installer for it (version at FreewarePPC only had the .zip version), I ran it from the memory card on my HTC Touch (Elf) without too much trouble. Doesn't look like the scheduler works correctly, but I can run it and change profiles easily.

My question though, is about removing the old one before installing the .cab file. I tried to remove the folder (keeping a backup, of course), and then my phone kept randomly telling me it can't find a file to run... I think it was pointing to the ProfileTimer.exe file. But if I install the .cab version to my device as you recommend, will that be updated automatically....?

PS: I'm quite new to advanced stuff on WM6... Only had this phone for 2 weeks now. I'll never go back though! I love the freedom and power of touch screens.


EDIT: Out of curiosity, can someone give me a basic run-down of what to edit in order to set up the profile changes? If I understand it correctly, it doesn't work if you set the vibrate and sound to '1' (on) as the cancel each other out...? I take 'vibrate' as silent and 'sound' as volume on.. Also, how would this affect the fact that my ring tone is set to "vibrate and ring"? Thanks in advance...

Phil82de
11th February 2009, 09:37 AM
hi Phil, let me know how you get on with the new version above

cheers,
dan

Hey Dan!
Thanks for your fast reply. In the new Version (0.1.0309.1752) I don't get this Messages any more. =)

Really not important, but perhaps it helps you: The disambiguation id have to be written OVER the appsInKillList now to be right identified. And there is a second program-folder called "ProfileTimer by dan matthews" with just PT.dll inside, beside the other normal "ProfileTimer"-folder.

ZaLiTH
11th February 2009, 10:48 AM
Another quick question..... Inside the config.xml file, does the "deactivate" time change the profile back to whatever is specified inside the <default> xml tag? That's the way I understand it, but I'm not too familiar with xml..

dt_matthews
11th February 2009, 08:42 PM
Hey dt_matthews,

Thanks for an awesome app! I love it... First stumbled across it at www.freewarepocketpc.net, but I came looking for more info when I couldn't figure out how to run it. This thread actually has a lot of useful information in it! I'm surprised so many people ask the same questions over and over.... Lol...

Anyway, just to confirm something; I've downloaded the .cab installer for it (version at FreewarePPC only had the .zip version), I ran it from the memory card on my HTC Touch (Elf) without too much trouble. Doesn't look like the scheduler works correctly, but I can run it and change profiles easily.

My question though, is about removing the old one before installing the .cab file. I tried to remove the folder (keeping a backup, of course), and then my phone kept randomly telling me it can't find a file to run... I think it was pointing to the ProfileTimer.exe file. But if I install the .cab version to my device as you recommend, will that be updated automatically....?

PS: I'm quite new to advanced stuff on WM6... Only had this phone for 2 weeks now. I'll never go back though! I love the freedom and power of touch screens.


EDIT: Out of curiosity, can someone give me a basic run-down of what to edit in order to set up the profile changes? If I understand it correctly, it doesn't work if you set the vibrate and sound to '1' (on) as the cancel each other out...? I take 'vibrate' as silent and 'sound' as volume on.. Also, how would this affect the fact that my ring tone is set to "vibrate and ring"? Thanks in advance...

cheers for the feedback....

re installing, i only run from the devce (not storage card), but that said, if you have run it ok from the storage card then if you install to the same location again (make sure ProfileTimer isnt running) then it should overwire it ok (it installs to %\Program Files\ProfileTimer).

re the profile setup, the 'ring' setting will always take precedent over the vibrate setting but if you set the vibrate on and ring off volume can still be present in the xml element, it just wont be used.

hth,
dan

dt_matthews
11th February 2009, 09:08 PM
Hey Dan!
Thanks for your fast reply. In the new Version (0.1.0309.1752) I don't get this Messages any more. =)

Really not important, but perhaps it helps you: The disambiguation id have to be written OVER the appsInKillList now to be right identified. And there is a second program-folder called "ProfileTimer by dan matthews" with just PT.dll inside, beside the other normal "ProfileTimer"-folder.

thanks for that Phil, I'll correct the CAB And upload in due course ;-)

dt_matthews
11th February 2009, 09:30 PM
corrected the config loader bug kindly reported by Phil.

version 0.1.0310.2039

Phil, I think the folder with the lone pt.dll can be deleted as it should all install to one directory now and that is just an porphan from a previous build config (maybe just rename it just in case it complains without it)!

cheers,
dan

ZaLiTH
13th February 2009, 10:14 AM
Another quick question..... Inside the config.xml file, does the "deactivate" time change the profile back to whatever is specified inside the <default> xml tag? That's the way I understand it, but I'm not too familiar with xml..

I know I'm quoting myself here, and for risk of sounding like a nag, I don't normally... But just to expand on this question, is it possible to get Profile Timer to activate the silent profile at 10pm on one night, and go back to normal the following morning at 6am?

As an example, here is how I have it set up at the moment for the weekdays (I've only included two days as the other three are identical anyway):
<dayProfile day="Monday">
<session activate="00:00" deactivate="06:00" vibrate="on" ring="off" volume="0" />
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" />
<session activate="22:00" deactivate="23:59" vibrate="on" ring="off" volume="0" />
</dayProfile>
<dayProfile day="Tuesday">
<session activate="00:00" deactivate="06:00" vibrate="on" ring="off" volume="0" />
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" />
<session activate="22:00" deactivate="23:59" vibrate="on" ring="off" volume="0" />
</dayProfile>

My only problem with this is the fact that at midnight each night, the screen lights up and it beeps.. I know I can disable the sound notification, but as Dan has mentioned previously, it is nice to know during the day when the profile changes.... Would it work to have a line that contains the 'activate command along with 'vibrate', 'ring' and 'volume', then the following morning have the 'deactivate' command? Keeping in mind that on Sunday night the phone will be set to 'vibrate' only, as with all other days... For example:
<dayProfile day="Monday">
<session deactivate="06:00" vibrate="on" ring="off" volume="0" />
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" />
<session activate="22:00" vibrate="on" ring="off" volume="0" />
</dayProfile>
<dayProfile day="Tuesday">
<session deactivate="06:00" vibrate="on" ring="off" volume="0" />
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" />
<session activate="22:00" vibrate="on" ring="off" volume="0" />
</dayProfile>

dt_matthews
13th February 2009, 12:41 PM
I know I'm quoting myself here, and for risk of sounding like a nag, I don't normally... But just to expand on this question, is it possible to get Profile Timer to activate the silent profile at 10pm on one night, and go back to normal the following morning at 6am?

As an example, here is how I have it set up at the moment for the weekdays (I've only included two days as the other three are identical anyway):
<dayProfile day="Monday">
<session activate="00:00" deactivate="06:00" vibrate="on" ring="off" volume="0" />
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" />
<session activate="22:00" deactivate="23:59" vibrate="on" ring="off" volume="0" />
</dayProfile>
<dayProfile day="Tuesday">
<session activate="00:00" deactivate="06:00" vibrate="on" ring="off" volume="0" />
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" />
<session activate="22:00" deactivate="23:59" vibrate="on" ring="off" volume="0" />
</dayProfile>

My only problem with this is the fact that at midnight each night, the screen lights up and it beeps.. I know I can disable the sound notification, but as Dan has mentioned previously, it is nice to know during the day when the profile changes.... Would it work to have a line that contains the 'activate command along with 'vibrate', 'ring' and 'volume', then the following morning have the 'deactivate' command? Keeping in mind that on Sunday night the phone will be set to 'vibrate' only, as with all other days... For example:
<dayProfile day="Monday">
<session deactivate="06:00" vibrate="on" ring="off" volume="0" />
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" />
<session activate="22:00" vibrate="on" ring="off" volume="0" />
</dayProfile>
<dayProfile day="Tuesday">
<session deactivate="06:00" vibrate="on" ring="off" volume="0" />
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" />
<session activate="22:00" vibrate="on" ring="off" volume="0" />
</dayProfile>

When I get time I'll try and update the logic to handle the session spanning over in to the next day

ZaLiTH
13th February 2009, 01:19 PM
When I get time I'll try and update the logic to handle the session spanning over in to the next day

You're a legend, thanks very much.. Now I just need to sort out a PayPal account so I can give you a very well deserved donation... Living in South Africa makes it a bit difficult to transfer funds into a PayPal account though, so it may take me a while. It'll come in handy with buying things online too...

One tip to anyone reading this thread: don't move to SA, it sucks here. Lol...

dt_matthews
15th February 2009, 09:29 PM
latest version; (see post #1 for cab)

# added ability to set a session which spans days (i.e. past midnight)
# ui bug fix
# added 'Adhoc Tasks' to Tree - allows selection of task which then prompts for the time (in minutes) to execute task

n.b. I havent had time to test the day-spanning session code yet so please be aware it might not work as intended - i will hopefully get a change to either write some automated testing or just set some tests manually asap! :D

Adhoc task are read from your config.xml - just add/remove them from there as per your requirements!

any q's please feel free...

cheers,
dan

ZaLiTH
16th February 2009, 02:38 PM
latest version; (see post #1 for cab)

# added ability to set a session which spans days (i.e. past midnight)
# ui bug fix
# added 'Adhoc Tasks' to Tree - allows selection of task which then prompts for the time (in minutes) to execute task

Thanks for the fast update.. That really was a nice surprise.

Just to check; could you give us a basic idea of how it now span past midnight? You mentioned it may not work 'as intended'; how was it intended to work?

Does it work with regards to the 'deactivate' XML command? Or is it as simple as leaving out the 'deactivate' option to allow it to keep the same profile until the next is 'activated'?

Sorry for all the questions, I'm by nature an overly curious person...

dt_matthews
16th February 2009, 06:16 PM
Thanks for the fast update.. That really was a nice surprise.

Just to check; could you give us a basic idea of how it now span past midnight? You mentioned it may not work 'as intended'; how was it intended to work?

Does it work with regards to the 'deactivate' XML command? Or is it as simple as leaving out the 'deactivate' option to allow it to keep the same profile until the next is 'activated'?

Sorry for all the questions, I'm by nature an overly curious person...

sorry, documentation always painful ;-)

to 'span' days, simply put in an entry as before but with the deactivate attribute being the time the following day, this one for example activate late on Thursday and will deactivate on Friday when I get up...

e.g:

<dayProfile day="Thursday">
<session activate="07:30" deactivate="12:45" vibrate="on" ring="off" volume="0" />
<session activate="23:00" deactivate="05:40" vibrate="on" ring="off" volume="0" />
</dayProfile>

with regards to working as intended, I mean it might not do what you want as i havent had a chance to test it yet! in other words, feel free to try it but just be aware its not tested as yet as I am still using non-spanning sessions.

hth,
dan

dt_matthews
16th February 2009, 11:12 PM
corrected an installer property error;

ZaLiTH
17th February 2009, 07:06 AM
to 'span' days, simply put in an entry as before but with the deactivate attribute being the time the following day, this one for example activate late on Thursday and will deactivate on Friday when I get up...

e.g:

<dayProfile day="Thursday">
<session activate="07:30" deactivate="12:45" vibrate="on" ring="off" volume="0" />
<session activate="23:00" deactivate="05:40" vibrate="on" ring="off" volume="0" />
</dayProfile>

Ah... That's awesome, I'll try that.. Thanks.

with regards to working as intended, I mean it might not do what you want as i havent had a chance to test it yet! in other words, feel free to try it but just be aware its not tested as yet as I am still using non-spanning sessions.

hth,
dan
And I'll let you know how it goes in a day or two.. :D

EDIT: So far it doesn't look too promising.... I set up the schedule as you suggested, using my own times, as seen here:

<dayProfile day="Monday">
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" />
<session activate="23:00" deactivate="05:40" vibrate="on" ring="off" volume="0" />
</dayProfile>

When inside PT, the two schedules for each day show the times that the profile will run for: first schedule for Monday shows 540 mins, second schedule for Monday shows -1040 mins.....? When I tried something like this previously, the negative timed schedules didn't activate. But, as I said, I'll leave it til tomorrow morning and see what it does.

ZaLiTH
18th February 2009, 07:38 AM
Looks like it doesn't want to activate the profile if the start time is later than the end time. No big train smash really, I use it mainly for putting my phone on silent while I'm at work; and for that it works like an absolute dream. While having a profile stay past midnight would be handy, I'm sure I can live without it.. :D

Just as a thought though: if you're looking for a way to do this, what about setting schedules to only 'activate' a profile? Instead of setting a start and end time, simply set at what time the phone changes to one particular profile? Or would that involve re-writing most of the code....? I'm not a programmer in any way, shape or form (though I do drink a lot of coffee....), so I'm not sure about that.

lello73
18th February 2009, 08:35 AM
For me it has not worked. This profile has been activated, but then in the morning not disabled.

<dayProfile day="Monday">
<session activate="22:00" deactivate="06:00" vibrate="on" ring="off" volume="0" />
</dayProfile>

Now I try it as follows:

<dayProfile day="Monday">
<session activate="00:00" deactivate="06:00" vibrate="on" ring="off" volume="0" />
<session activate="22:00" deactivate="23:59" vibrate="on" ring="off" volume="0" />
</dayProfile>
<dayProfile day="Tuesday">
<session activate="00:00" deactivate="06:00" vibrate="on" ring="off" volume="0" />
<session activate="22:00" deactivate="23:59" vibrate="on" ring="off" volume="0" />

I will report tomorrow.

dt_matthews
18th February 2009, 09:14 PM
new version - 0.1.0317.2009

corrected a day-spanning bug (well, tested it for the first time!)
minor ui update

any issue pls report

cheers,
dan

TheMorpheus
18th February 2009, 10:27 PM
I have uploaded to the last version but it still doesn't work to me!!

This is the config file:
</dayProfile>
<dayProfile day="Wednesday">
<session activate="22:10" deactivate="22:12" vibrate="on" ring="off" volume="0" />
</dayProfile>

It goes to vibrate but it doesn't come back to normal!!

dt_matthews
18th February 2009, 11:37 PM
i just tried that scenario and it worked as expected, can you attach your config file to check?

ZaLiTH
19th February 2009, 07:04 AM
new version - 0.1.0317.2009

corrected a day-spanning bug (well, tested it for the first time!)
minor ui update

any issue pls report

cheers,
dan

Well, good news so far! Just installed it now... With the same config file that was showing a negative profile run time from 11pm to 6am, and the run time in brackets is 420 mins (instead of the -1040). Looks promising.. :D

dt_matthews
19th February 2009, 08:45 AM
I have uploaded to the last version but it still doesn't work to me!!

This is the config file:
</dayProfile>
<dayProfile day="Wednesday">
<session activate="22:10" deactivate="22:12" vibrate="on" ring="off" volume="0" />
</dayProfile>

It goes to vibrate but it doesn't come back to normal!!

hmm, i managed to recreate this later last night - I will have a look at this tonight to find the culprit! ;-) thanks for your feedback

dan

TheMorpheus
19th February 2009, 08:45 AM
i just tried that scenario and it worked as expected, can you attach your config file to check?
Here the config file! Thanks

dt_matthews
20th February 2009, 12:07 AM
new version;

bug fix
moved UI elements around for easier thumb navigation (for touchscreen users that is!)

ZaLiTH
20th February 2009, 07:51 AM
new version;

bug fix
moved UI elements around for easier thumb navigation (for touchscreen users that is!)
You are a true visionary.... :D I honestly can't even remember when last I used the stylus pen on my Touch... :eek: Wait, is it still.... Oh, it's still there. Good.

dt_matthews
20th February 2009, 09:57 PM
update version;

cleaned up UI
added task UI input form

cheers,
dan

lello73
27th February 2009, 08:15 AM
Still the same problem: My profile will be activated in the evening, but the morning is not deactivated. The annex my config file. Thanks for your help...

ZaLiTH
27th February 2009, 10:38 AM
Still the same problem: My profile will be activated in the evening, but the morning is not deactivated. The annex my config file. Thanks for your help...

Hey Lello73... That is very strange, I've got mine set to activate silent at 22:00, deactivate at 06:00 and it works perfectly. Only difference I can see is that I have profiles during the day as well... Maybe try add one of an hour or so during the day to go on silent and see if that works?

lello73
27th February 2009, 10:51 AM
Sorry, I should clarify. It works, just that the profile change after a call incomming or i turn on the display. Probably the problem is that the device is in sleep mode and only when I use the device, it can change the profile. But so i will always miss the first call or message. :(

ZaLiTH
27th February 2009, 11:31 AM
Sorry, I should clarify. It works, just that the profile change after a call incomming or i turn on the display. Probably the problem is that the device is in sleep mode and only when I use the device, it can change the profile. But so i will always miss the first call or message. :(

I think I've noticed that from time to time on my Elf (HTC Touch), for me it's not all the time though, very erratic.. When I say very erratic, I mean it probably happens once or twice every couple of days.

I didn't think it was something worth complaining about, but: thinking more about this now, quite often when my alarm goes off in the morning, I hear the typical sound from PT of the profile change. (PT set to 06:00, alarm set to 06:30). It's never caused a problem though, and it's only with the overnight profiles that I've noticed it so far.

Dan..? Being your program, you got any ideas on this one?

dt_matthews
27th February 2009, 01:52 PM
I think I've noticed that from time to time on my Elf (HTC Touch), for me it's not all the time though, very erratic.. When I say very erratic, I mean it probably happens once or twice every couple of days.

I didn't think it was something worth complaining about, but: thinking more about this now, quite often when my alarm goes off in the morning, I hear the typical sound from PT of the profile change. (PT set to 06:00, alarm set to 06:30). It's never caused a problem though, and it's only with the overnight profiles that I've noticed it so far.

Dan..? Being your program, you got any ideas on this one?

The only explanation for the behaviour you are experiencing is that it would appear that your device is - inconsistently - putting your device in to a Power State that means the Operating System's Notification Queue are not even being run, I would only have expected this to have been the case if the device is actually powered OFF (not sleep) BUT its possible I suppose that your device has some other power state mine doesnt. I cant replicate this behaviour on the device emulator, or on my device (HTC Trinity) where it works as I would expect every time. As a test, you could try leaving your device charging (and therefore by default not going in to a power save mode) and see if it still ocurrs?

I'm also unclear as to why this doesnt happen everytime - that is what needs to be isolated (charger / battery power etc.)

cheers, dan

lello73
27th February 2009, 02:56 PM
...that seems to be the problem. I now have make the following test (s. att.) and with this setting, it is working correctly. I suppose, that the battery will not endure so long.

xml config: 14:00 active profile "vibration", 14:05 deactive profile to default
Power State enable:
14:01 incomming call -> profile was still not set
14:02 incomming call -> profile was now set
14:06 incomming call -> profile was still "vibration"
14:07 incomming call -> profile default was now set

xml config: 14:10 active profile "vibration", 14:15 deactive profile to default
Power State disable:
14:11 incomming call -> profile "vibration" was set
14:16 incomming call -> profile default was now set

It's a pity, otherwise your program would be really great! :(

Dan, do you have a way, to send a init signal to wake up the device and then change the profile?

ritterkeks
27th February 2009, 06:29 PM
i think this all describes a known bug with wm and can easily be prevented...

although, according to dan, his program doesn't use the wm notification queue, the problem seems clearly, that the program isn't allowed to run when the device is on standby.
this also happens (rarely) with alarms and (more often if you have many emails on your server) with email checking.

so somone that has this problem, please try the "normal" fix for this.
as i have a kaiser, i use the kaiser tweak which has the options "AC Resume from Suspend" and "Battery Resume from Suspend" which should be both set to a longer time (30 sec, i use 45, u can use more if you want).
i don't know the corresponding registry key nor have the time to look it up, but if you have a tweak-program for your device or the one from shap (?) it should be in there.


to dan: is there no way you could add the ability to set the device to flight mode / switch phone-part off? it would then be perfect for me (and i will donate if it works)

hope i could help

dt_matthews
27th February 2009, 06:37 PM
i'll have a look at the win32 api to see if there is anything i can do - unfortunately as i cant replicate it, it makes it tricky to against it...

what device do you have?

dt_matthews
27th February 2009, 06:56 PM
i think this all describes a known bug with wm and can easily be prevented...

although, according to dan, his program doesn't use the wm notification queue, the problem seems clearly, that the program isn't allowed to run when the device is on standby.
this also happens (rarely) with alarms and (more often if you have many emails on your server) with email checking.

so somone that has this problem, please try the "normal" fix for this.
as i have a kaiser, i use the kaiser tweak which has the options "AC Resume from Suspend" and "Battery Resume from Suspend" which should be both set to a longer time (30 sec, i use 45, u can use more if you want).
i don't know the corresponding registry key nor have the time to look it up, but if you have a tweak-program for your device or the one from shap (?) it should be in there.


to dan: is there no way you could add the ability to set the device to flight mode / switch phone-part off? it would then be perfect for me (and i will donate if it works)

hope i could help

howdy

i was reading this thread thru again earlier and other threads on similar issues with wm schedules not firing - i had misntpreted Phil's (kind) early post on this, i thought that issue [which i couldnt replicate] was only pertaining to specific queue types but it appears any (including my queu entries) can have the same issue if the device has lots to do when it rebuilds the whole queue. i will put a fix in for it over the weekend, if someone who has the problem at the mo' could test it once i post it up i would be most grateful.

cheers,
dan

dt_matthews
27th February 2009, 08:44 PM
... to dan: is there no way you could add the ability to set the device to flight mode / switch phone-part off? it would then be perfect for me (and i will donate if it works)

hope i could help

will have a look and try to do that for ya ;-)

dt_matthews
27th February 2009, 09:05 PM
updated version;

# Fix for O.S bug (relating to device not having time to fully build the Notification queue during the specified wake time)

** I can't test this since my device does not exhibit this problem - if anyone who has had the problem could verify if this ameliorates this I would appreciate it.**

Cheers,
dan

dt_matthews
27th February 2009, 10:23 PM
like buses, wait forever then two come along ;-)

new version (as I spotted a bug if not all days contain a session)

cheers,
dan

ritterkeks
28th February 2009, 04:50 PM
i deleted my other program yesterday, because i had so many problems with it, and now wanted to try your latest cab today.

as i tried to run profiletimer the first time it said, my .net compact framework was to old.
so i searched for the latest version and installed 3.5. then i again got an error, which told me, i should install another cab to display this error.

after done so, i get:
ProfileTimer.exe
ArgumentOutOfRangeException

Parametername: index

i hope i can get this running tomorrow.
cheers^^

dt_matthews
28th February 2009, 06:25 PM
i deleted my other program yesterday, because i had so many problems with it, and now wanted to try your latest cab today.

as i tried to run profiletimer the first time it said, my .net compact framework was to old.
so i searched for the latest version and installed 3.5. then i again got an error, which told me, i should install another cab to display this error.

after done so, i get:
ProfileTimer.exe
ArgumentOutOfRangeException

Parametername: index

i hope i can get this running tomorrow.
cheers^^
my bad, forgot to test a scenario after added some day skipping code ;-)

this version should be ok now

cheers,
dan

ritterkeks
3rd March 2009, 04:12 PM
ok, some feedback now.
downloaded your corrected version and installed it.
profiletimer.exe launched fine now and i set up my own schedule.

then on monday, with profiletimer running, it should set my phone to mute at 07:50. instead i got another error message, this time from scheduler.exe which i closed so i could continue using my phone...

but: later that day i did a softreset and made a test entry for one hour and after that softreset it worked fine, including today.
so i hope it will work reliably from now on.

another question: could you add an option to deactivate the icon in the "tray" of the home screen? i think manila / touchflo3d users don't even see this.
profiletimer is listed in the running programs so i can access it through that.

now i'm looking forward to a new version with the ability to set the device to flight mode (or deactivate the phone).
would be great for me (and surely some other people out there).

ritterkeks

dt_matthews
3rd March 2009, 06:56 PM
cheers for the feedback.

re the flight mode control, if i get significant requests for it, I will add it but adding TAPI control is a large code-base and not something I would want to add if it wasnt widely requested....

ritterkeks
3rd March 2009, 09:14 PM
i didn't thought that it was such a big deal, as there is already a function to toggle wifi (ok, not in the schedule but in the "sleep function")
i don't know anything about this, but for me that didn't seem so different ;-)

but instead of exclaiming how important this specific feature would be for ME...
: it should be quite easy to add the ability to simply run another programm at scheduled times - so people would have much more possibilities to do custom tasks with your app.

I could then just use the existing command line tool by tytnguy (http://forum.xda-developers.com/showthread.php?t=336992) to set flight mode on and off.
If one can simply add another line within the profiletimer config where there is given one command to be run at beginning of the session and one at the end (or in my case the same program just with the "toggle" argument to be run one time at the beginning and one time at the end of the session),
profile timer would just do what i wand.
of course, for me, this should work day-spanning, as i want the device to be in flight mode over night.

hopefully you can understand what i wrote ;-)
looking forward to your reply
ritterkeks

dt_matthews
3rd March 2009, 09:46 PM
the work is not in the configuration (scheduling) but the Wifi (or for that matter, any interaction with the device's comms), if the utility by tytnguy can toggle the wifi then calling it on a schedule should be ok, i will have a go when i get a bit of time

cheers,
dan

ritterkeks
3rd March 2009, 10:20 PM
that's what i meant, but not for wifi - this is already in your app? - but for flight mode ;-)
so, if you add the ability to call a custom program with the schedule that would be great.

i'll wait for that then... and until then just switch the phone off by hand every night.

mfg,
ritterkeks

lello73
4th March 2009, 07:33 AM
Hello dan,

now the tool on my diamond does what I wanted. Thank you for your work. My gift will arrive soon ;)

rknuette
4th March 2009, 11:27 AM
Without having tested it this app seems to be really useful. It would be a magnificient tool, if the change of the profile would be possible according to a bluetooth connection, e.g. if the phone connects to my hands free kit in my car, the speaker volume goes up, if I connect my BT headset, the speaker volume is lowered (for the sake of my ears).

Do you see a chance of implementing something like that?

Regards,
Rudi

dt_matthews
4th March 2009, 08:40 PM
Without having tested it this app seems to be really useful. It would be a magnificient tool, if the change of the profile would be possible according to a bluetooth connection, e.g. if the phone connects to my hands free kit in my car, the speaker volume goes up, if I connect my BT headset, the speaker volume is lowered (for the sake of my ears).

Do you see a chance of implementing something like that?

Regards,
Rudi

hi rudi

tbh, that's not really the purpose of the app in terms of its architecture, it exists to perform actions on a *timed* schedule rather than a user event (e.g. connecting hardware etc).

dt_matthews
4th March 2009, 08:45 PM
Hello dan,

now the tool on my diamond does what I wanted. Thank you for your work. My gift will arrive soon ;)

cool, glad you find it useful :o

ritterkeks
4th March 2009, 09:46 PM
@rknuette (in german as he speaks german i think):
hast du schon nach einem program gesucht, das das machen könnte?
hab grad keine namen mehr im kopf, aber es gibt ein haufen tools, die scheinbar beinahe alles können. ka.. spb phone * ? phoneAlarm? irgendeins von diesen komplett-suiten könnte das beherrschen, eines hatte ich mal ausprobiert und hätte zumindest cell-based profile switching erlaubt.

das programm hier is, wie er schon sagte, halt nur dafür da, dinge nach einem terminplan auszuführen, und wenn es diese einzelne sache gut macht, bin ich zufrieden (auch wenn ich es gerne sehen würde, wenn er die möglichkeit, eigene programme durch den zeitplan zu starten, hinzufügen würde..

Andy_S
5th March 2009, 05:00 AM
Hi. This is great app as i need to automatically mute ringer in the morning after working night so the phone wont wake me. BUT... i need to adjust also SYSTEM volume - not only ringer. Would it be possible to adjust that setting too? eg some separate value in XML for this?

dt_matthews
6th March 2009, 07:54 PM
new version;

# added more info about the sessions to the treeview
# fixed bug if not all days had a session

dt_matthews
8th March 2009, 03:30 PM
Hi. This is great app as i need to automatically mute ringer in the morning after working night so the phone wont wake me. BUT... i need to adjust also SYSTEM volume - not only ringer. Would it be possible to adjust that setting too? eg some separate value in XML for this?

new version now alters the system volume (0-5) as specified by the 'volume' attribute in the xml element

feedback welcome ;-)

Andy_S
9th March 2009, 01:37 AM
new version now alters the system volume (0-5) as specified by the 'volume' attribute in the xml element

feedback welcome ;-)

Thanks. What about ringer volume? Would it be possible to alter it too - either together or preferably with its own attribute (eg ringer)?

will try this version.

Phil82de
9th March 2009, 03:49 PM
new version now alters the system volume (0-5) as specified by the 'volume' attribute in the xml element

feedback welcome ;-)

Hi Dan,
wow, much updates, since I was here the last time - thanks for so much work!!!!

One question:
How does the new option for system-volume work? How can I set the two different (system and ringer) volumes separately? (At night I like to set the ringer off so nobody wakes me - but I like to have the system volume on 4 so I can hear podcasts to fall asleep or my alarm bell in the morning. When I am in a meeting at work later I like to set everything off)

Two Bugs:
- In the Last Version I used until today I found a little bug. After I kill the PT-App the planed volume-changing still continue!?!
- Just for your Infortmation, not important for me: In the new Version (0.1.407.1324) I can not use the adhoc Tasks cos I can not type a number in the minute-box. After I open the onscreen-keypad and type the box is still empty.

One request:
If it is possible to toggle wifi (in the adhoc Task) - could it be possible to be planed over the xml-file for an special time like the volume-changing? Could be useful for somebody, couldn't it?

Cheers!
Phil

dt_matthews
9th March 2009, 11:49 PM
updated version.

Now controls both the device and ringer volume on timed schedules and reverts to specified defaults for both volumes also.

****
Important:
This version breaks compatibility for the configuration (config.xml) file. Therefore, you will need to modify the supplied config.xml (new format) rather than using your old one.
*****

changes;

# added systemVolume attribute in xml
# changed volume attribute to ringerVolume
# updated code-base for above new config structure
# refactoring

cheers,
dan

dt_matthews
10th March 2009, 10:13 AM
oops - small bug in last version - will fix and upload tonight!

cheers

ZaLiTH
10th March 2009, 10:41 AM
oops - small bug in last version - will fix and upload tonight!

cheers

Lol... Was that the display not updating whether or not the phone is being charged or not? :) I loaded the app while plugged into my PC and the screen still shows charging when I unplug it. Minor issue though, I wasn't even going to complain about it anyway..

By the way, has anyone else noticed their device lights up at midnight since having this app installed? Whether or not i have a timed profile set to run through the night, it lights up at midnight every night without fail. Lol. I'm not sure if it's specifically PT or something else; i have so many things running on this poor little HTC. :rolleyes:

dt_matthews
10th March 2009, 11:44 PM
the charge indicator refreshes based on the config setting 'timerUpdateInterval' in config.xml so typically will be up to a minute until it reports a change in the charge status.

dt_matthews
10th March 2009, 11:46 PM
new version.

system and ringer volume now working, however on my device there is a problem setting the ringer volume, it either sets to max or zero despite settings valid intermediate values in code. love it. i will look in to a resolution.

Andy_S
11th March 2009, 01:39 AM
New version tested. Ringer volume: not working. System volume: Working.

found one "bug" - if <session> records not aligned from first to the last, (eg first with begin at 13 is before second which begins at 7) program crashes.

ZaLiTH
11th March 2009, 08:24 AM
New version tested. Ringer volume: not working. System volume: Working.

found one "bug" - if <session> records not aligned from first to the last, (eg first with begin at 13 is before second which begins at 7) program crashes.

Volume adjustments work fine on my Touch, for both system and ringer. :confused: Not sure about the bug, when you say 'not aligned' are you referring to the spacing inside the .xml file? I haven't managed to duplicate that on my phone....

Andy_S
11th March 2009, 03:52 PM
Volume adjustments work fine on my Touch, for both system and ringer. :confused: Not sure about the bug, when you say 'not aligned' are you referring to the spacing inside the .xml file? I haven't managed to duplicate that on my phone....

nope, not spacing. just create two rules in one day. One in the morning and then in the afternoon. Swap them - place that later before that earlier, save it and run profiler.

dt_matthews
11th March 2009, 09:17 PM
New version tested. Ringer volume: not working. System volume: Working.

found one "bug" - if <session> records not aligned from first to the last, (eg first with begin at 13 is before second which begins at 7) program crashes.
i did note in the original post that I havent put belt and braces validation on the app, the scenario you describe is after all illogical, and indeed, impossible for the app to resolve. I have added some basic validation for that scenario - uploading it in a minute. ;-)

dt_matthews
11th March 2009, 09:21 PM
new version;

added some cursory validation to determine invalid sessions (overlapping)

cheers

Andy_S
11th March 2009, 10:31 PM
i did note in the original post that I havent put belt and braces validation on the app, the scenario you describe is after all illogical, and indeed, impossible for the app to resolve. I have added some basic validation for that scenario - uploading it in a minute. ;-)

i haven't said so. I just found a bug, so i am reporting it :) Just to pleed for exception catching than that ugly error log.

what about that ringer? Any chance to fix it?

dt_matthews
11th March 2009, 11:09 PM
i haven't said so...

not sure what you mean??

with regards the ringer, as you know the problem is the level and for some reason the code which seems correct just doesnt have the effect documented in the API, and, furthermore appears to function on my emulator and some devices! i will do some digging to try and resolve ;-)

Andy_S
11th March 2009, 11:48 PM
not sure what you mean??

i havent said that this is logical or even sane cause (that xml swap). Just a little bug.


with regards the ringer, as you know the problem is the level and for some reason the code which seems correct just doesnt have the effect documented in the API, and, furthermore appears to function on my emulator and some devices! i will do some digging to try and resolve ;-)

Thanks for the good news. I'll be glad, if you would be able to do this :)

dt_matthews
12th March 2009, 12:47 AM
ringer volume level now functional

feedback welcome

cheers,
dan

rahlquist
12th March 2009, 04:25 PM
Sorry but I haven't been able to find, is there a way to disable the notification sound that plays when the profile changes other than renaming/removing the file?

dt_matthews
12th March 2009, 08:20 PM
Sorry but I haven't been able to find, is there a way to disable the notification sound that plays when the profile changes other than renaming/removing the file?

hi, as per a previous post on this thread, its been coded to check if the file exists so just delete/move/rename it and the app will work without fanfare ;-)

rahlquist
12th March 2009, 09:23 PM
hi, as per a previous post on this thread, its been coded to check if the file exists so just delete/move/rename it and the app will work without fanfare ;-)

Thank you. I have one other suggestion/request. Since this is a good time based app, how about adding the ability to control brightness as well. I know that during the day I could use a bright screen and at night well not so much.

Thanks for the wonderful app and I will be donating as soon as payday arrives!!!

GLOC
12th March 2009, 09:54 PM
Last edited by dt_matthews; Today at 06:03 PM.. Reason: new version
There doesn't appear to be a link to the new version, am I being fick?

dt_matthews
13th March 2009, 01:28 AM
Thank you. I have one other suggestion/request. Since this is a good time based app, how about adding the ability to control brightness as well. I know that during the day I could use a bright screen and at night well not so much.

Thanks for the wonderful app and I will be donating as soon as payday arrives!!!

glad its useful for you ;-)

will look in to screen brightness adjustment

Andy_S
13th March 2009, 04:27 AM
so... ringer volume still not working (testing it with modifying default values & killing PT).
one to-do: add a shortcut for this app to the start > programs menu. Thx.

dt_matthews
13th March 2009, 11:49 AM
so... ringer volume still not working (testing it with modifying default values & killing PT).
one to-do: add a shortcut for this app to the start > programs menu. Thx.

the ringer volume is working fine on my emulator and device -- try a soft-reset then running again.

skywalker6705
15th March 2009, 11:57 AM
Hey, figured I'd chime in since this app has pretty much saved me a ton of agony during classes that I'd toss a donation your way.

I did encounter a stack overflow error a few versions ago, but just updated today to 1.409.2138 as it was the latest I could find available in the thread. Ringer has been working fine for me, but I was curious: I don't really know since I set them the same most of the time, but does this program set the ringer back to what it was when an event is over, or to the default set in the config?

Also: I highly recommend adding profile timer to your exclusive applications in the task manager. It keeps me from accidentially forgetting it's open and closing it.

tabannis
22nd March 2009, 12:02 AM
There doesn't appear to be a link to the new version, am I being fick?
I don't think so unless i'm being a bit dense too. Post #1 doesnt have a download link.

dt_matthews
22nd March 2009, 12:05 AM
I don't think so unless i'm being a bit dense too. Post #1 doesnt have a download link.

I'm doing a refactor and will repost asap

cheers

tabannis
22nd March 2009, 12:08 AM
I'm doing a refactor and will repost asap

cheers
Thanks for the speedy reply. I'm hoping this app will stop my new phone (HTC Touch HD) disturbing me at night with email notifications. Has the app been tested with a WVGA touch screen? If not i'll gladly help out with any testing.

dt_matthews
22nd March 2009, 12:20 AM
Thanks for the speedy reply. I'm hoping this app will stop my new phone (HTC Touch HD) disturbing me at night with email notifications. Has the app been tested with a WVGA touch screen? If not i'll gladly help out with any testing.

cool, once I post a new version pls give me any feedback

cheers,
dan

rahlquist
22nd March 2009, 02:24 AM
cool, once I post a new version pls give me any feedback

cheers,
dan

Hey Dan, any luck with looking into the backlight setting? I'll be sending you some beer money (if you drink beer if not...) by the end of the week(waiting for the cash to get moved to my papal).

Thanks!

dt_matthews
22nd March 2009, 01:05 PM
sorry, been a bit busy - what would the idea be behind controlling the backlight, surely that is already catered for in your Power settings? if you can give me some more detail on the usage and I'll let you know ;-)

rahlquist
22nd March 2009, 07:08 PM
sorry, been a bit busy - what would the idea be behind controlling the backlight, surely that is already catered for in your Power settings? if you can give me some more detail on the usage and I'll let you know ;-)

No worries.

My thinking was this, at night I generally dont need the brightness as high as midday. Sometimes in the morning when I am out in full sun I may not remember to brighten the screen and as you know if you have the brightness low in full sunlight it can be nigh on impossbile to get it adjusted so you can see it.

So wheat I was thinking was that you may be able to add a setting similar to the volume controls that allows you to set the screen brightness according to time of day much like the volume so for example;

<dayProfile day="Monday">
<session activate="00:00" deactivate="06:00" vibrate="on" ring="off" volume="0" brightness="2"/>
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" brightness="10"/>
<session activate="22:00" deactivate="23:59" vibrate="on" ring="off" volume="0" brightness="2"/>
</dayProfile>

That means from midnight to 6 am brightness would be to a low 2 setting then at 8 am it would go to full birghtnes then again at 22:00 it would drop to 2.

JugglerLKR
2nd April 2009, 01:07 PM
anyone to provide download link with latest fixes and updates?

dt_matthews
2nd April 2009, 03:47 PM
I'll be posting a new version with some added features soon - probably over the weekend

cheers
dan

dt_matthews
7th April 2009, 10:38 PM
new version.

Attachment in first post.

Please note PT is now 'donation-ware' - upon a payment (of any amount) you will be sent a PT license by email and further instructions for activation.
See manual (PT_manual.htm) for instructions.

This new version includes:
# Screen brightness control
# extra error-handling and sanity checking

Thanks,
dan

rahlquist
8th April 2009, 02:44 PM
new version.

Attachment in first post.



Dan,

So am I to understand without the license you give the program no longer works? I installed over the old Profile timer, it removed the old one including the license data (I have it at home but I am at work currently). Also I had originally set the old ProfileTimer.exe as a protected app in task manager so it would run at startup and not get killed. I am guessing the app dies after I clear the donation window now because the license isn't there? So I guess I will reinput the license info when I get home.

Thanks for the update with the brighness! I cant wait to get it working :)

dt_matthews
8th April 2009, 06:38 PM
Dan,

So am I to understand without the license you give the program no longer works? I installed over the old Profile timer, it removed the old one including the license data (I have it at home but I am at work currently). Also I had originally set the old ProfileTimer.exe as a protected app in task manager so it would run at startup and not get killed. I am guessing the app dies after I clear the donation window now because the license isn't there? So I guess I will reinput the license info when I get home.

Thanks for the update with the brighness! I cant wait to get it working :)

As per the manual (PT_manual.htm), if you send a payment to me with the Device ID you wish to run PT on I will then send you a license by email. For those who have previously donated and wish to upgrade to this version, please drop me an email with the Device ID and I will sort you out.

cheers,
dan

rahlquist
8th April 2009, 07:27 PM
As per the manual (PT_manual.htm), if you send a payment to me with the Device ID you wish to run PT on I will then send you a license by email. For those who have previously donated and wish to upgrade to this version, please drop me an email with the Device ID and I will sort you out.
And what do you mean by Device ID? Sorry if that should be inherently obvious having a rough week here.

dt_matthews
8th April 2009, 08:00 PM
And what do you mean by Device ID? Sorry if that should be inherently obvious having a rough week here.

On your device, go to Start Menu > Settings > System tab > About applet

The middle tab holds your device id.

learnmore
21st April 2009, 05:55 AM
Does anyone know how to disable the tray icon for this app? I hate the waste of screen real estate for one icon.

Other than the annoying icon, this app appears to be just what I've been looking for. I'll test it out for a few days and then gladly donate.

Thanks!

dt_matthews
22nd April 2009, 11:20 PM
Does anyone know how to disable the tray icon for this app? I hate the waste of screen real estate for one icon.

Other than the annoying icon, this app appears to be just what I've been looking for. I'll test it out for a few days and then gladly donate.

Thanks!

Hi, I have updated the app to allow for the enabling/disabling of the trayicon via the config file but the app is no longer hosted here as it isnt strictly freeware any more. PM me if required.

regards,
dan

rahlquist
23rd April 2009, 05:24 AM
dan, brughtness appears to not be working.
suggestions?

mr.jaguar
23rd April 2009, 08:11 AM
wow. forcing me to pay for something I can't even test. it's the thought that counts. thanks. I am interested in this, but the requirement of a donation to download it sucks.

dt_matthews
23rd April 2009, 09:07 PM
wow. forcing me to pay for something I can't even test. it's the thought that counts. thanks. I am interested in this, but the requirement of a donation to download it sucks.

there is a freeware version availiable (an alpha version) on various sites i believe (leeched from here I presume) so y all means try it and if you like it and want the release version then contact me

dt_matthews
23rd April 2009, 09:10 PM
dan, brughtness appears to not be working.
suggestions?

send me your config file and I'll check it. if the file is correct then it may be down to your device as some manufacturers modify the way the screen can be manipulated - the app handles it correctly for a generic wm device but if the manufacturer has not kept to that implementation there's now to be done without writing a speprate version for each device!!!

send me your config and I'll confirm

p.s. what device are you using?

Cheers, dan

rahlquist
23rd April 2009, 09:15 PM
send me your config file and I'll check it. if the file is correct then it may be down to your device as some manufacturers modify the way the screen can be manipulated - the app handles it correctly for a generic wm device but if the manufacturer has not kept to that implementation there's now to be done without writing a speprate version for each device!!!

send me your config and I'll confirm

p.s. what device are you using?



AT&T Tilt.

Here is the config file.

<profileTimer>
<days>
<dayProfile day="Monday">
<session activate="00:01" deactivate="05:35" vibrate="on" ring="off" systemVolume="2" ringerVolume="4" screenBrightness="1"/>
<session activate="05:40" deactivate="15:55" vibrate="on" ring="on" systemVolume="2" ringerVolume="4" screenBrightness="4"/>
<session activate="16:30" deactivate="20:59" vibrate="on" ring="on" systemVolume="2" ringerVolume="3" screenBrightness="2"/>
<session activate="21:00" deactivate="23:55" vibrate="on" ring="on" systemVolume="0" ringerVolume="4" screenBrightness="1"/>
</dayProfile>
<dayProfile day="Tuesday">
<session activate="00:01" deactivate="05:35" vibrate="on" ring="off" systemVolume="2" ringerVolume="4" screenBrightness="1"/>
<session activate="05:40" deactivate="15:55" vibrate="on" ring="on" systemVolume="2" ringerVolume="4" screenBrightness="4"/>
<session activate="16:30" deactivate="20:59" vibrate="on" ring="on" systemVolume="2" ringerVolume="3" screenBrightness="2"/>
<session activate="21:00" deactivate="23:55" vibrate="on" ring="on" systemVolume="0" ringerVolume="4" screenBrightness="1"/>
</dayProfile>
<dayProfile day="Wednesday">
<session activate="00:01" deactivate="05:35" vibrate="on" ring="off" systemVolume="2" ringerVolume="4" screenBrightness="1"/>
<session activate="05:40" deactivate="15:55" vibrate="on" ring="on" systemVolume="2" ringerVolume="4" screenBrightness="4"/>
<session activate="16:30" deactivate="20:59" vibrate="on" ring="on" systemVolume="2" ringerVolume="3" screenBrightness="2"/>
<session activate="21:00" deactivate="23:55" vibrate="on" ring="on" systemVolume="0" ringerVolume="4" screenBrightness="1"/>
</dayProfile>
<dayProfile day="Thursday">
<session activate="00:01" deactivate="05:35" vibrate="on" ring="off" systemVolume="2" ringerVolume="4" screenBrightness="1"/>
<session activate="05:40" deactivate="15:55" vibrate="on" ring="on" systemVolume="2" ringerVolume="4" screenBrightness="4"/>
<session activate="16:30" deactivate="20:59" vibrate="on" ring="on" systemVolume="2" ringerVolume="3" screenBrightness="2"/>
<session activate="21:00" deactivate="23:55" vibrate="on" ring="on" systemVolume="0" ringerVolume="4" screenBrightness="1"/>
</dayProfile>
<dayProfile day="Friday">
<session activate="00:01" deactivate="05:35" vibrate="on" ring="off" systemVolume="2" ringerVolume="4" screenBrightness="1"/>
<session activate="05:40" deactivate="15:55" vibrate="on" ring="on" systemVolume="2" ringerVolume="4" screenBrightness="4"/>
<session activate="16:30" deactivate="20:59" vibrate="on" ring="on" systemVolume="2" ringerVolume="3" screenBrightness="2"/>
<session activate="21:00" deactivate="23:55" vibrate="on" ring="on" systemVolume="0" ringerVolume="4" screenBrightness="1"/>
</dayProfile>
</days>
<default vibrate="on" ring="on" systemVolume="2" ringerVolume="4" screenBrightness="3"/>
<timerUpdateInterval minutes="1"/>
<sleepResumptionSeconds onAC="120" onBattery="120"/>
<adhocTasks>
<task displayText="sleep device" cmd="sleep"/>
<task displayText="close WMP" cmd="Windows Media"/>
<task displayText="close IE" cmd="Internet Explorer"/>
<task displayText="close Sideshow" cmd="Windows SideShow"/>
</adhocTasks>
</profileTimer>

dt_matthews
23rd April 2009, 09:31 PM
the config for sb looks ok - I suspect the device has proprietary handling for the screen brightness which stops the API methods from functioning as documented, as i said, this will vary from device to device i suspect (but since i only have one physical device, a Trinity, i can only test it on that and the generic emulator).

as an aside, your default options are technically not possible, the ring and vibrate are mutually exclusive so obviously setting both to on can never be satisfied, in that case it will just set to ring and ignore the vibrate only mode setting. (dont get confused with the phone's ringer action which can be set in the phone settings to vibrate when phyically sounding the ringer).

dt_matthews
23rd April 2009, 09:38 PM
AT&T Tilt.

Here is the config file.

<profileTimer>
<days>
<dayProfile day="Monday">
<session activate="00:01" deactivate="05:35" vibrate="on" ring="off" systemVolume="2" ringerVolume="4" screenBrightness="1"/>
<session activate="05:40" deactivate="15:55" vibrate="on" ring="on" systemVolume="2" ringerVolume="4" screenBrightness="4"/>
<session activate="16:30" deactivate="20:59" vibrate="on" ring="on" systemVolume="2" ringerVolume="3" screenBrightness="2"/>
<session activate="21:00" deactivate="23:55" vibrate="on" ring="on" systemVolume="0" ringerVolume="4" screenBrightness="1"/>
</dayProfile>
<dayProfile day="Tuesday">
<session activate="00:01" deactivate="05:35" vibrate="on" ring="off" systemVolume="2" ringerVolume="4" screenBrightness="1"/>
<session activate="05:40" deactivate="15:55" vibrate="on" ring="on" systemVolume="2" ringerVolume="4" screenBrightness="4"/>
<session activate="16:30" deactivate="20:59" vibrate="on" ring="on" systemVolume="2" ringerVolume="3" screenBrightness="2"/>
<session activate="21:00" deactivate="23:55" vibrate="on" ring="on" systemVolume="0" ringerVolume="4" screenBrightness="1"/>
</dayProfile>
<dayProfile day="Wednesday">
<session activate="00:01" deactivate="05:35" vibrate="on" ring="off" systemVolume="2" ringerVolume="4" screenBrightness="1"/>
<session activate="05:40" deactivate="15:55" vibrate="on" ring="on" systemVolume="2" ringerVolume="4" screenBrightness="4"/>
<session activate="16:30" deactivate="20:59" vibrate="on" ring="on" systemVolume="2" ringerVolume="3" screenBrightness="2"/>
<session activate="21:00" deactivate="23:55" vibrate="on" ring="on" systemVolume="0" ringerVolume="4" screenBrightness="1"/>
</dayProfile>
<dayProfile day="Thursday">
<session activate="00:01" deactivate="05:35" vibrate="on" ring="off" systemVolume="2" ringerVolume="4" screenBrightness="1"/>
<session activate="05:40" deactivate="15:55" vibrate="on" ring="on" systemVolume="2" ringerVolume="4" screenBrightness="4"/>
<session activate="16:30" deactivate="20:59" vibrate="on" ring="on" systemVolume="2" ringerVolume="3" screenBrightness="2"/>
<session activate="21:00" deactivate="23:55" vibrate="on" ring="on" systemVolume="0" ringerVolume="4" screenBrightness="1"/>
</dayProfile>
<dayProfile day="Friday">
<session activate="00:01" deactivate="05:35" vibrate="on" ring="off" systemVolume="2" ringerVolume="4" screenBrightness="1"/>
<session activate="05:40" deactivate="15:55" vibrate="on" ring="on" systemVolume="2" ringerVolume="4" screenBrightness="4"/>
<session activate="16:30" deactivate="20:59" vibrate="on" ring="on" systemVolume="2" ringerVolume="3" screenBrightness="2"/>
<session activate="21:00" deactivate="23:55" vibrate="on" ring="on" systemVolume="0" ringerVolume="4" screenBrightness="1"/>
</dayProfile>
</days>
<default vibrate="on" ring="on" systemVolume="2" ringerVolume="4" screenBrightness="3"/>
<timerUpdateInterval minutes="1"/>
<sleepResumptionSeconds onAC="120" onBattery="120"/>
<adhocTasks>
<task displayText="sleep device" cmd="sleep"/>
<task displayText="close WMP" cmd="Windows Media"/>
<task displayText="close IE" cmd="Internet Explorer"/>
<task displayText="close Sideshow" cmd="Windows SideShow"/>
</adhocTasks>
</profileTimer>


p.s. did you check the log file for any errors or notes (although I suspect the code runs ok but just doesnt get access to the screen resource)?

rahlquist
24th April 2009, 01:21 PM
the config for sb looks ok - I suspect the device has proprietary handling for the screen brightness which stops the API methods from functioning as documented, as i said, this will vary from device to device i suspect (but since i only have one physical device, a Trinity, i can only test it on that and the generic emulator).Thats a bummer but I guess that cant be helped.

as an aside, your default options are technically not possible, the ring and vibrate are mutually exclusive so obviously setting both to on can never be satisfied, in that case it will just set to ring and ignore the vibrate only mode setting. (dont get confused with the phone's ringer action which can be set in the phone settings to vibrate when phyically sounding the ringer).
Ok so if I have it set to ring in PT at all and the phone itself is set to ring and Virbrate then it will vibrate and ring? If I set it to vibrate in PT then volume for ringer should be zero since Vibrate in PT is vibrate only mode?

Thanks

dt_matthews
24th April 2009, 01:47 PM
Thats a bummer but I guess that cant be helped.
Ok so if I have it set to ring in PT at all and the phone itself is set to ring and Virbrate then it will vibrate and ring? If I set it to vibrate in PT then volume for ringer should be zero since Vibrate in PT is vibrate only mode?
Thanks

Yes, you are spot on in your summary :)

dt_matthews
2nd June 2009, 02:47 PM
People have been asking where the latest version is hosted, ergo:
http://montrosetechnologies.com/software.htm

cfong16
31st January 2010, 04:28 AM
People have been asking where the latest version is hosted, ergo:
http://montrosetechnologies.com/software.htm

Pardon if I asked a dumb question. I installed the ProfileTimer.cab, tried in both the phone and the SD card. Installation was successful, but somehow the program doesn't show up in my program's list. How do I start it then?

When I go to remove programs, it does show up there as MT ProfileTimer.

Thank you.