窗口系列操作

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: 窗口系列操作

Re: 窗口系列操作

by llinfeng » 24 Feb 2021, 14:05

Also, you may find this post helpful: https://www.autohotkey.com/boards/viewtopic.php?t=68535

Re: 窗口系列操作

by llinfeng » 24 Feb 2021, 12:04

1. WinMove可以调整窗口的大小和位置
2. 窗口置顶(一直显示在前面):https://gist.github.com/gustavosotnas/46f4b4615eeabb2089478cbcc83cda76
3. 隐藏窗口的蓝条(有Tab的浏览器不管用)

Code: Select all

; Key-F11: For toggling "real" full-screen.; {{{
#f11::
    WinSet, Style, ^0xC00000, A
    WinSet, Style, ^0脳40000, A
return
4. 拖动两个窗口——别用AHK?用鼠标把窗口拽到屏幕一边,再点一点,中间的分割线就能重新调整两个屏幕的宽度了?
5. 指定窗口截图:FastStone Capture挺好用的
6. 复杂的窗口联动——你可以自己写一堆条件,用IfWinExist/IfWinActive,该能实现哎.

窗口系列操作

by bluesky » 24 Dec 2020, 20:21

各位群友有谁搞过对窗口的系列操作,给点思路或推荐开源实现,比如:

1. 调整窗口位置
2. 将窗口置顶显示/取消置顶
3. 隐藏窗口的标题栏/显示
4. 设置两个窗口左右分屏,可拖动调整尺寸:拖动一个窗口位于中间的侧边可自动调整另一个的大小
5. 对指定窗口截图
6. 窗口依附功能:设置一个窗口依附于主窗口存在,同步前台显示、最小化,拖动跟随,置于后台时,另一个隐藏

Top