--- In [email protected], "tonypapale" <[EMAIL PROTECTED]> wrote: > Hi Swzoh, > > Thanks alot that seemed to do the trick. Would you mind explaining > what exactly it is doing :) as i would love to apply it to several > other hotkeys i have. > > thx > > > Unfortunately, this setting won't affect the outcome if the > hotkey's > > command is "*Keys ...". No offence intended, however, your hotkey > > seems to be a perfect example why "*Keys ..." command should wait > > until the mod, i.e. Alt here, is released: > > if not, the result would be "Alt + Ctrl + W", not "Ctrl + W" > > so you won't be able to close even one tab. > > > > Though I don't think 'Alt' as a modifier here is a good choice, > there > > is indeed a solution, but you need a keytrap plugin: > > http://groups.yahoo.com/group/power-pro/files/Plug-ins_and_add- > ons/KeyTrap_v2.3.zip > > > > Now, set the command of 'Alt+o' as (be careful about the Yahoo's > > line-break, all should be in 1-line): > > keytrap.sendkeys(56,18,1)++keytrap.sendkeys(29,17,0) > ++keytrap.sendkeys(17,87,0)++keytrap.sendkeys(17,87,1) > ++keytrap.sendkeys(29,17,1)++keytrap.sendkeys(56,18,0)
It's just key simulations which is essencially the same as: Alt Up > *Keys ^w > Alt Down So, you may try the following simpler form, then: keytrap.sendkeys(56,18,1)++keytrap.sendkeys(?"^w")++keytrap.sendkeys(56,18,0) Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/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/
