|
最新版,和上个版本,区别只是截图吗?
最新版, 使用窗口,区域,几次后, 就无法再截图了,可能代码部分有问题.
原来那个代码,改了几个文字, 加了个"退出" . 平板电脑,点" X " 时,比较困难, 太小, 有时多次才能点中.
//IFEX X.LOG, LOGS * X.LOG
SET &capd=%DeskTop%
FIND $%capd%=, SET capd=%CurDir%
SET &fn=屏幕截图####
SET &wid=0:0
set &ext=PNG
SET &fid=1
//系统设置大字体时缩小界面字体
TEAM ENVI &Font_Size=| REGI #HKCU\Control Panel\Desktop\WindowMetrics\AppliedDPI,&&Font_Size
IFEX $%&Font_Size%=0x78, ENVI &&Font_Size=7! ENVI &&Font_Size=9 // 0x60为100%,0x78为125%,0x90为150%
ENVI &&Font_Cmd=IFEX %windir%\fonts\simsun*, ENVI @this.Font=%&Font_Size%:simsun! ENVI @this.Font=%&Font_Size%
CALL @WIN1
_SUB WIN1,W535H225,截图,
%&Font_Cmd%
LABE -VCENTER -RIGHT LABE1,L12T38W60H24,延时(秒):,,
EDIT -VCENTER -3D -RIGHT Delay,L74T38W40H24,0,,
SPIN SPIN1,L116T39W18H22,:0:100,,0x80,0x80
LABE -VCENTER -RIGHT LABE2,L150T38W40H24,对象:,,
EDIT -VCENTER -3D wWid,L192T38W50H24,%wid%,,
LABE -VCENTER -RIGHT LABE3,L267T38W58H24,保存类型:,,
LIST lEXT,L326T40W55H20,PNG|BMP|JPG|GIF|TIFF,OnEXT,%ext%,
LABE -VCENTER LABE4,L12T90W90H30,保存位置及文件,,
EDIT -VCENTER -3D wFN,L107T90W380H30,%&capd%\%fn%.%ext%,NAME fn=%wFN%,
ITEM ITEM2,L492T89W25H30,>>,OnBrow,
// ITEM ITEM1,L224T131W80H50,截图, OnCap,
ITEM ITEM1,L160T130W80H50,截图, OnCap,
ENVI @wFN.MSG=0x02A1: Mouse_In 文件名模板,####为自动编号\n$H $M $D $H $N $S 依次为年月日时分秒
ENVI @wFN.MSG=0x02A3: TIPS *
LABE -VCENTER -RIGHT LABE5,L386T38W50H24,编号:,,
EDIT -VCENTER -3D -RIGHT wFID,L457T38W40H24,,%fid%,
SPIN SPINFID,L499T39W18H22,:0:100:%fid%,,0x80,0x80
ITEM ITEM3,L300T130W80H50,退出, kill @WIN1
_END |
|