哪个命令可以把chrome 网页拉到外接的多个显示器?

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: 哪个命令可以把chrome 网页拉到外接的多个显示器?

Re: 哪个命令可以把chrome 网页拉到外接的多个显示器?

by llinfeng » 24 Feb 2021, 13:47

有个笨办法,要调WinMove的具体参数。下面是一个例子,把当前的活动窗口放大到指定大小并移动

Code: Select all

max_to_two_monitors:
    ; Left-X, Height-Upper, Width, Height-Bottom
    WinMove, A, , 1192, -35, 2415, 1958 ;Now with no Windows task bar
return 
多窗口和多显示器的话,可以多写几个这样的 label,按顺序激活指定的窗口并移动。

可以是这样的结构:可能该用另一种 IfWin 的 function,这里的例子,IfWinExist 该是错的。

Code: Select all

move_8_monitors:
SetTitleMatchMode, 2
IfWinExist, 第一个窗口的名字
    WinActivate, 第一个窗口的名字
    Gosub, max_to_two_monitors

...
return

Re: 哪个命令可以把chrome 网页拉到外接的多个显示器?

by linpinger » 14 Dec 2020, 22:59

没有多显示器的环境,不过可以用WindowSpy.ahk 看看不同屏幕的坐标

哪个命令可以把chrome 网页拉到外接的多个显示器?

by scholes_ » 22 Nov 2020, 07:42

我现在有8个显示器连到我的电脑,而且有8个chrome网页需要拖拉到这8个显示器,怎么用AutoHotKey去实现呢?

Top