Dynamic Floating Tag (FT) content? Here's what's in my mind.

Would it be possible to extend FloatingTag (FT) @Create to pass a user 
specified [EMAIL PROTECTED] as part of FT's event routine? Then have FT 
periodically update and display the button text by showing a string 
returned by [EMAIL PROTECTED]

Here's how a tag user could create a weather applet by tagging any window 
of their choosing - which window/app isn't the point here. For example, to 
display a weather applet:

[EMAIL PROTECTED]("active",".weather")

.weather is a user-specified script/label that returns a string value.

Since arg(2) isn't null, FT saves it into a map Tag["action"]=arg(2) and 
knows that, instead of creating a fixed icon for the tag it has to display 
and periodically update the button text with something like

*info expr( eval(tag["action"]++"("++Parameters++")") )

/ I'm not sure if the above syntax is correct, what I mean is "show the 
string returned by [EMAIL PROTECTED](Parameters) /

where Parameters is a conventional set of values that FT's always provides 
to the user script, such as TagID / name, etc. 

Of course, one may argue that you can easily create a similar weather 
applet with a command list *info item, so why bother creating one with a 
FT? I see more value if we can come up with a simple way for the FT code 
to extract data from the application window that runs under the tag. 
There's also some value in the FT providing a standard user interface, 
such as its right click menu. 

Maybe this is too farfetched or wild?



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to