TodayPlus Boards v2

Programming and MOD Forums => Developer's Corner Discussion => Topic started by: uk_skinner on November 08, 2004, 09:04:58 PM

Title: Will this crazy idea work??????
Post by: uk_skinner on November 08, 2004, 09:04:58 PM
This sounds crazy but I think there is a chance that can work.  

I have been trying to see I can bring more features into TP.  At this moment we only can get images and text for weather and rss text while we refresh.  There is no way to put other text information into TP.  For instance, the small exe I showed you before can download the real time quote from Yahoo but there is no way I can put it into skin and needs to use the system to display the information.

So, if I want to TP display these information, I need to write them into skin, right?  

Here is the point, can we make a "dynamic" skin?  What I am trying to do is, again, use a small exe to add "text" into skin.  Since skin itself is a text file, with careful design, it is possible to automatically add the "text" into the specific area (probably is the end of the skin) using an exe.

Sounds impossible, but I will give a try anyway.  The major hurdle is how to "update" skin when TP is constantly refresh the information.  If the "updating" is happening when TP is refreshing, then you will get "share violation" error.  Maybe I can get around it...  

So enough talk, I will let you know what I get.... Maybe it is just a dream!!! :roll:
Title: Will this crazy idea work??????
Post by: ZapMe1 on November 08, 2004, 09:15:14 PM
Amazing SRS....umm...I mean UK !!   I thought your plate was full, but you always seem to add more !!  :D
TP will never die as long as you keep comming up with ideas like this !!

I would like to help, but I'm still trying to learn how to write .exe files  :oops:
But if there is anything I can do to help...  Just ask !!   :approve:
Title: Will this crazy idea work??????
Post by: uk_skinner on November 08, 2004, 09:27:33 PM
Quote from: ZapMe1Amazing SRS....umm...I mean UK !!   I thought your plate was full, but you always seem to add more !!  :D
TP will never die as long as you keep comming up with ideas like this !!

I would like to help, but I'm still trying to learn how to write .exe files  :oops:
But if there is anything I can do to help...  Just ask !!   :approve:

ZapMe1:  Thanks for your kind words.  I have no idea how this will trun out... If this works, it also will help your movie review, eemond's traffic report and additional weather information not provided by MSNBC...I think..
Title: Will this crazy idea work??????
Post by: ZapMe1 on November 08, 2004, 09:30:26 PM
Cool !!  8)  :approve:
Title: Will this crazy idea work??????
Post by: grayme on November 09, 2004, 07:29:19 AM
Any chance it will find a way around my work's firewall?  :pray:  :D
Title: Will this crazy idea work??????
Post by: uk_skinner on November 10, 2004, 03:23:34 PM
Well, I did it.  The priniciple works!!  I create an exe (not optimized yet), it will do

1)  Read stock tickers from a text file.
2) Download the ECN real-time quote page (the whole html) from Yahoo.
3) Extract the quote information from quote page.
4) Open the skin file and generate codes to display the quote information.

Here is the additional region I created for stock quote.  The red ones was generated automatically by the exe and the bold ones can be updated automatically.

This is fun!!!! :lol:

region,19,0,-1
   defregion,19,0,0,422,534,1
   color,font,-1_4_-1
   cleararea,0,0,422,534

   deactivatebuttons,2
   deactivatebuttons,3
   deactivatebuttons,4
   deactivatebuttons,5
   deactivatebuttons,6
   deactivatebuttons,7
   deactivatebuttons,8
   deactivatebuttons,9
   deactivatebuttons,10
   deactivatebuttons,11
   deactivatebuttons,12
   deactivatebuttons,15
   deactivatebuttons,16
   deactivatebuttons,17
   deactivatebuttons,18

   activatebuttons,19

   image,8,6,headline_breit_gelb_verlauf.png

   changefont,tahoma,24,b
   text,210,6,Stock Quote,c
   changefont,tahoma,24
   button,160,32,240,24,-1,0,%apps-1-10-highlight
   text,210,32,Update,c
text,10,60,Symbol: MSFT,l
text,10,90,Last Trade: 29.76,l
text,10,120,Trade Time: 3:16PM ET,l
text,10,150,Today's Change: Down 0.01 (0.03%),l
text,10,180,Ask: 29.76,l
text,10,210,Bid: 29.75,l
endregion,19,0
Title: Will this crazy idea work??????
Post by: ZapMe1 on November 10, 2004, 04:39:35 PM
QuoteThis is fun!!!!  

Another work of art !!   Great work (once again) UK !!   :approve:
Title: Will this crazy idea work??????
Post by: uk_skinner on November 11, 2004, 09:50:12 AM
Version #2
Title: Will this crazy idea work??????
Post by: rbg08 on November 11, 2004, 01:49:14 PM
Looks incredible!  Keep up the good work!! :D
Title: Will this crazy idea work??????
Post by: Timmy on November 11, 2004, 02:58:13 PM
Uk_skinner,

I think that this is just the beginning of much more! If you can bring these items on your screen, then there are much more topics you can gather from the www and bring it on our nice, little pda screen.

Nice hobby, isn't it?!?

GO ON !!!!!!!!!!!!!!!!!!!

Timmy
Title: Update my progress
Post by: uk_skinner on November 12, 2004, 12:16:27 PM
It is about 80% done.  Still need to work on small bug.  Such as better extraction.  Occasionally, I got some wired number (as shown in screenshot).  Another bug is some "no sense" codes were written into near the end of skin, I don't why but I need to find a way to fix it.  As far as I can see, it did not affect the functionality of skin.  Also I need to find a good background image and put all the information on top of it.  The current theme I have is too complicated.  But any way, it will auto show you "green" (means up) and "red" (means down).  I think at current setting, it will fit into 24 quotes.

:wink:

Edit: Update the screenshot on 16Nov04.. Using the theme provided from LooxJunior