ahk_PgDn轻松复制剪切

PgDn::
 send {lbutton down}

MouseGetPos, x1, y1                                                                     ;  

keywait,PgDn,U
                                                                                        ;  
gosub 
return



:

Mousegetpos x2, y2                                                                      ;
     gosub 


  return





:

WinGetClass, class, A

          IfInString, class,Notepad  
          {

                     if (x1 > x2)
                          send {rbutton}{down 2}{enter}                                                          ;
    
                    else 
                         send {rbutton}{down 3}{enter}                                                           ;
       }





 IfInString, class, MozillaWindowClass  
{

    if (x1 > x2)
                          
          send ^c                                                          ;

             send {lbutton} 

                 Tooltip,

                     SetTimer,,888 


 }


 IfInString, class,  CabinetWClass 

{

   send {f2}
     b := clipboard
      send {shift}
        send %b%
           send {enter}

 }

return


;----------------------------------------------------------------------------------------
:                                                                                 ;      
tooltip,                                                                                ;  
return                                                                                  ;  
;----------------------------------------------------------------------------------------





给TA捐赠
共{{data.count}}人
人已捐赠
其他

acc通过hwnd获取文本

2021-12-11 9:07:38

其他

ahk_PgDn轻松复制剪切1

2021-12-11 9:07:50

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索