-
> win.exepath|win.caption|win.getworkingdir("|" as a separator)
> 
> What i want that i can click one of them to explorer their folder.Or you can 
> imagin it can act as the fourth choice except left,middle and right mouse 
> click

I understand what you need I think, but the way to get in PowerPro is with 
menus, not tooltips.  Make the menu item name display the information you are 
interested in, like win.exepath, and then make the command do what you want to 
be done with that info.  (You have have a bonus of using tool tip on the menu 
items to display even more info!).  If you want the menu itself to be displayed 
when you hover over the button, use the "hover clicks" options.  It is possible 
to configure this so that only buttons with menus have hover clicks, and you 
can even turn if off for some buttons with menus.

Tooltips are not set up internally to accept clicks and it does not make sense 
for me to change them, given them menus can do that already.




> 
> 3)It is because i am using a text-editor program "emeditor", which can set a 
> variable on your selected text. I am interested in it how to do this.
> Really clip.get can already get my aim 
> 

The only way I know that works to get the selected text in the window of 
another program is to make that window copy text to
the clipboard, e,g by key sending ctrl-c, which clip.copy does.  (In the 
special case that the other program's window is an edit control, you could also 
send the special edit box message with sendmessageremotestr, but only for that 
special case).



> 
> 
> 
> 
> 
> > > 1)Click the text on the tooltip to run the command?
> > 
> > Tootips are not meant for commands, but you can use a command list and 
> > "hover clicks to show menu" to accomplish something very similar.  Set one 
> > of the commands on the buttons to show a command list as a menu.  Set the 
> > hover option on cl properties, bars tabs (gray for menu only). Then when 
> > you hover over the button, the menu will display and you can click on the 
> > menu to select a command.
> 
> > > 
> > > 3) Could we set a variable with selected text
> > 
> > Not sure if this is a reference to tool tips.  In any event, you can always 
> > do this if you not mind changing the clipboard by something like
> > clip.copy
> > local var=clip.get
> > 
> > 
> > 
> > > 
> > > THX
> > >
> >
>


Reply via email to