I am trying to figure out how to display my next appointment in a single line. I want to have a single line on my main date region 0 that says what my next/current appointment is. I've been fooling around with the outlook command but I cant get anything to display.
Can anyone offer any suggetions or links to other threads related to this? :cry:
Try setting up your outlook command similar to this:
outlook,5,0,235,11,1,0,,
Where:
5 = starting "x" position
0 = starting "y" position
235 = width of the appointment text
11 = height of the appointment text (1 line)
1 = show appointments only
0 = which cache slot this outlook data uses
I tried that, along with width=100 which is what i want. Sorry, i should have been more clear before.
I was hoping theres a trick, like a text command variable, to get just the next appointment up, but i can't find anything that might work.
Please someone, I want is a text line outside of the agenda that says the next appointment, like a quick reminder field. Height=11 width=100, I'd perfer the line not to take a whole 235 pixels fo width. Only like 100 so it leaves room for other data like the date time ownerinfo.
Hope thats alittle more clearer of what I'm looking for.
Quote from: hakeasharPlease someone, I want is a text line outside of the agenda that says the next appointment, like a quick reminder field. Height=11 width=100, I'd perfer the line not to take a whole 235 pixels fo width. Only like 100 so it leaves room for other data like the date time ownerinfo.
Hope thats alittle more clearer of what I'm looking for.
rgb08 suggestion does what you need.
Just add another (besides the one you already have) "outlook" command like rgb08 mentioned and instead of the 235, put the width you want.
I have setup something similar on my Intuition skin (yet to be released) and it works nicely :)
ok weird, now when I try this today, I can get it to "sort of" work.
Here's my exact line:
outlook,3,6,80,11,1,0,,
all I get is the message, " Updating..... " then my device freezes. ( I wait like a couple minutes. ) I have other areas that get updated in there, like my memory and battery bars. The interval is set to a 10 second refresh.
any ideas why it's freezing? It's so close to working. :?
you will also need to use a dateformat that has no prepend / append spacing, and just shows the date, if you want everything to be in one line. also make sure that the height of 11 is sufficient to fit in one line (ie if you dateformat total space is 11 and apptformat total space is 11 the total is 22).
also to speed things up you should also use a filter that that filters only today's appts. ie, calendarfilter,0,1,
Thanks, I will try this later on in the week. I have two final exams, one tommorrow too, so I have to wait before I try it. Thanks for the concise reply; this also provides a good starting point for me learnig the outlook commands over christmas.
Cheers! :P
Thanks to everyone here, I got this working! I personally would like to thank all of you and I will acknowledge you all further in my skin post. All the advice worked perfectly.
Except one thing:
I call this OneLiner: it's a field I can look at quickly to see what my next class is without having to fuss with the stylus.
The dimensions of OneLiner are: 12 height; 80 width.
It is suppose to just display 1 appointment, my next class, but instead it displays all my appointments for the day, one-on-top-of-the-other, overlapping, overwriting. Here is my code:
//myOneLiner
options,calendarfilter,0,1,
options,dateformat,0,0,0,
options,apptformat,0,0,12,%changefont,tahoma,11,%%starttime,hh:mmt%%tab,34%%changefont,tahoma,11,%%subject%%regularfont%%tab,108%%changefont,tahoma,11,%%location%%regularfont%
options,apptallday,0,0,12,%changefont,tahoma,11,%%All Day%tab,34%%changefont,tahoma,11,%%subject%%regularfont%
outlook,86,49,150,25,1,0,,
//EndCode
Another example would be:
Lets say the time is 8:00, and I have 2 appointments in my Agenda. One for 9:00 and one for 10:00, and that is all the appointments (2) for the whole day. In my OneLiner field is both appointments (2), one over-writing the other one.
All I want is OneLiner to filter down to is one appointment, my next appointment, and display only that one. I can provide a screenshot if it will help. :cry:
this is wrong: options,apptformat,0,0,12,
the format is options,apptformat,<spacing before>,<spacing after>,<total space>,.....
it should be something like: options,apptformat,0,12,12,
same for the apptallday
You saved me again, srs. I owe you. May your life be long on this earth.
Your advice worked, with a little tweaking, to exactly what I wanted. Thank you.
Also, I am leaving some open space on this skin for the sunrise/moonrise info. I am eagerly waiting this version. I love astronomy.
Think about selling Todayplus! This is THE BEST today plugin that has EVER been so far for pocketpcs.
THERE IS ONE MORE PROBLEM WITH THIS, BUT ITS HARD TO EXPLAIN >> I can get it to display only one appoinment by setting <spacing after> to a huge number, like 333. Then, any appointment after the first one is drawn off the screen. The problem is: now there is a button created from my OneLiner appointment to y=333. When I click anywhere below my OneLiner, ie in the storagebar area, opens calender because the OneLiner appointment area has been stretched x333. This is normal and expected behavior. I just need a work around! Can I turn off the button the opens calender when you click on an appointment? I will look in the config file.
I can wait till I release the skin and, hopefully, someone can look and see what I mean. Thanks again.
and why are you setting spacing after to a huge number ?
just set it to the actual height the appointment takes up.
the outlook command is where you set the height, and todayplus will automatically fit in the appointment in the allocated space.
:D I have learned boat-loads about pooms and displaying them. I don't want to sound redundant but thank you again. This skin has become important to me because I can have anything I limit myself to learning, on my today screen. And, I love today plugins!
If I think of any features that might be good for TodayPlus, I'll post them. I do want to be of some use to you. All I use, in conjunction with TodayPlus, is NotesTody to jot down my HW on. UPDATE:> I do have one idea, I'll post it in the Feature Requests later.
When I read your post this morning, and then looked at my code. Low and behold:
outlook,86,49,150,25,1,0,,
I remember back when I started OneLiner setting width to 150 and height to 25 for debugging. I just forgot I had it set up like that. Awesome, I'll change it to 12 and try this after breakfast but I think(know ;)) it will work. Thanks again, Jedi srs. ;)