Hi Ted,

> I have a debug dump that does the same stuff, but your InfoBar is cute.

> When U have time, post a beta, no help and missing elements are okay.
> Someone may help U finish.

OK, I shall attempt to clean it up enough to upload a beta.

Some of the features which are working already:

There are 5 Destinations which you can send the info to
by clicking an info field: You can see the Destinations
in the top left corner of the main permanent section
at the top of the bar. E for Editor is your open editor window
(maybe containing a script you are writing) so the info you click
will be inserted wherever you left the cursor in that window.
N for Noter is a clone of that so you can send info to a PowerPro
Note or a different editor window. L for Logger appends stuff
to your chosen log file.
C is the Clipboard (the only dynamic *Info label, so you always
see the current clip in the long line you can see with a C at
its left end.
Below that, the button with a number is next to a line showing
your current istore. There are 16 istores which you use like the
ten memories on a hand held scientific calculator, to collect
info. The 16 Istores are the only global vars in the whole thing,
actually they are a vector.
They are global so you can access them from your own scripts.
Istore[0] contains a number 1 to 16, indicating which Istore
is "current". So istore[istore[0]] is the data stored in the
current istore, which is displayed on that long line.

Any one, or several, or all of the destinations can be toggled
on or off. Suppose you only have the Clipboard destination
switched on: when you left click a value, it is appended
to the clipboard; when you right click a value it is Copied
to the clipboard (replace).
If you click a Name field (such as Exepath) it copies a literal
of the expression "win.exepath(handle)" instead of the
resolved value which you get when you click the Value field.
If you click the = in between Name and Value, you get both
such as: win.exepath(actualhandle) = "c:\path\app.exe"

You can select what delimiters will be used. For example if
the "if()" button on the top row is selected (highlighted)
then when you click the = it sends this to your current
destinations: if(win.exepath(handle) == "c:\path\app.exe")do
with a CR before and after.

As well as the if() delimiter there is also User (which you
can modify in the Options subbar, choosing for example: ++)
and None which only inserts a space character where essential
to separate bits of info you are appending to a destination.

You can choose a new window as your Editor or Noter destination
by using a hotkey while the pointer is over an app's window
(or a Note) while the Options subbar is showing.

The Istores subbar shows all 16 istores in a list; each line
in the subbar looks similar to the current istore line which
you can see in the top permanent section.

You can undo your most recent change to the clipboard or to
the current istore.

The features described above are all working, but some other
parts are incomplete.
All the subbars are fully designed and defined in the command list
so you see them when you select them. All the buttons' commands
link to a labelled @section in the main script, but some script
sections only have a quit command.



The idea with Idebug is to show both expression and value.
When I look at a list of values in Debug, I can't remember
where they all came from, so I usually do:
win.debug("expression = ",expression)
The plan with idebug is to shorten that to .idebug("expression")
so the list in the idebug subbar can show both the literal
and the resolved using eval(), in two columns as Name = Value.

Anyway, idebug can be seen as not essential to the central
purpose of Infobar, so it could be left out of an early version.

Alan



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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