check for updates button

Bruce A. Pokras infinite00 at embarqmail.com
Sat Jun 16 09:51:01 EDT 2007


>Looking for suggestions on what I should use for a "check for updates
>button" in my app? Has anyone used http://www.manitools.com/
>
>Thanks
>
>Rob
>

Rob,

I use a bare bones HTML page on my web site that displays download 
links to the latest versions. In the app I have a button to toggle 
the display of a field  that will show the web page. The script is 
just:

on mouseup
   if the short name of me is "Check for Updates" then
     show cd fld "updates"
     set the htmlText of cd fld "updates" to URL 
"http://www.blazingdawn.com/latest_pat_grab.html"
     set the name of me to "Hide Updates"
   else if the short name of me is "Hide Updates" then
     hide cd fld "updates"
     set the name of me to "Check for Updates"
     put empty into cd fld "updates"
   end if
end mouseup

This is simple and cross-platform. However, it may not be visually 
appealing since it is just text, no graphics or colors. Perhaps with 
the built-in revBrowser in 2.8.1 you could make it more elaborate.

Regards,

Bruce Pokras

Blazing Dawn Software
www.blazingdawn.com


More information about the use-livecode mailing list