--- In [email protected], "ajzbc" <[EMAIL PROTECTED]> wrote: > > > Alan: > > Thank-you once again for your detailed and helpful response. Option 1 > and 3 still fail to bring the focus back to the field. There must be > something odd about this type of database field - as it seems to work in > some fields and not others. Option 2 works - but I'm not sure I really > gain anything by using a hotkey instead of using CTRL + V to paste the > text - as I do not need to re-use the data in the clipboard. > > Anyhow, even though we haven't gotten to the hoped-for solution, I have > learned tons about how to use some of your suggestions for other > projects. > > I am also eager to roll-up my sleeves and learn how to use scripting for > some of the repetive bar items I am creating - as the development > process will be much shorter using scripts versus the GUI. > > Until next time... > > Dave > > [:)] > > > --- In [email protected], Alan Martin alan_au@ wrote: > > > > [3] > > Here's a third alternative solution which works when tested here. > > > > It can refocus your field automatically :) > > > > Hotekey's command: varx=xcursor > > More commands: > > vary=ycursor > > bar show mybar > > > > Note: varx is a global variable and xcursor is a PowerPro built-in > function > > > > and each button on the bar has: > > > > Command: win.mouse > > Parameter: ("screen " ++ varx ++ " " ++ vary ++ " lc") > > More commands: Keys your text > > > > User actions: > > Press your hotkey while in the target field > > then pick your item from the bar which appears. > > > > It automatically simulates a left click in the target field > > (at the screen pixel which was recorded by the hotkey) > > before it sends the keystrokes. > > > > > > > [Non-text portions of this message have been removed] >
OK. Bit of a red herring here.... I discovered that you cannot even right-click and paste in this field. When you right-click, the Windows context menu does NOT appear. So, I think that is why it doesn't find the focus. Dave ------------------------ Yahoo! Groups Sponsor --------------------~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
