> I guess I could do something with a double click key action, caption > list c=PowerProNote, but I'm not sure how I'd pick up the text of the > line being clicked on. I tried > > note.gettext(win.handlefrompoint(xmouse,ymouse)) > but that gave an error saying that the note handle was invalid.
You need win.mainhandlefrompoint to ensure you get the note window, not the embedded edit control. handfrompoint can return a child window. > > > Any suggestions? Also, I'd need to get the *line* clicked on, You can work from where the text caret is. Use note plugin to get the character position of the caret then the line of that character position. > > PS If I do get this working, how would it interact with the normal > double click action on a note? From my experiments so far (which > aren't very conclusive, because they are failing...) it looks like > the normal double click action doesn't occur, You would have to emulate it by writing the note text to a temp file then running that file (which is all the double click does anyway). 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/
