最新发布第146页
排序
使用API创建工具提示条和超级链接
!include nsDialogs.nsh Name 'link_tooltips' OutFile 'link_tooltips.exe' XPStyle on Var Link Var tipS Page custom nsDialogsPage Function OnTimer ${Unless} $tips <> 0 System::C...
自定义安装界面准确获取安装进度完美解决方案
几乎所有玩过nsis的人在制作安装进度页面时都会遇到一个比较棘手的问题,画出进度条容易,但准确掌握文件释放进度,同时再去配合进度条的进度在nsis看来几乎是个无法逾越的障碍,因为迄今为止NSIS尚...
检测默认浏览器
#检测默认浏览器 #原理:用FindExecutable函数查找htm关联程序路径与名称,然后分析字串中包含的可执行文件名。 !include 'LogicLib.nsh' XPStyle on ShowInstDetails show OutFile 'NSIStest.exe...
去除字串中的汉字
!include 'LogicLib.nsh' XPStyle on !include 'WordFunc.nsh' #去除字串中的汉字 #本例仅是个思路,测试环境和给出的条件有限,如有异常,有进一步修改的余地。 OutFile 'NSIStest.exe' Name 'tes...
使用SHFileOperation函数移动文件夹
HFileOperation是一种外壳函数,用它可以实现各种文件操作,如文件的拷贝、删除、移动等,该函数使用起来非常简单,它只有一个指向SHFILEOPSTRUCT结构的参数。使用SHFileOperation()函数时只要填写...
检测并统计字符串中某个字符个数
!include 'LogicLib.nsh' OutFile '检查找字符串中c出现的次数.exe' Name 'test' Section 'test' StrCpy $0 'cabcdccccc' StrLen $1 $0 StrCpy $2 '' loop: IntOp $1 $1 - 1 StrCmp $1 '-1' end...
离开自定义页面保存设置
!include LogicLib.nsh !include nsdialogs.nsh XPStyle on Page components Page custom nsdialogspage Page directory OutFile 'test.exe' Name 'test' Section 'test' SectionEnd Var Initia...
如何隐藏桌面
!include nsDialogs.nsh XPStyle on ChangeUI all '${NSISDIR}ContribUIssdbarker_tiny.exe' Name 隐藏桌面 OutFile 隐藏桌面.exe Page custom HideDesktop Function HideDesktop nsDialogs::Cr...
利用ButtonEvent插件移动无标题窗口
nsis利用ButtonEvent插件移动无标题窗口,nsis,无标题窗口,移动窗口 众所周知,普通win窗口是带有标题栏的,标题栏的主要功用之一,就是可以方便的拖动窗体,但为了各式各样的目的,有时候我们不得不...
给nsis窗口添加立体阴影
利用SetClassLong函数给nsis窗口添加了阴影,看起来很酷^_^ System::Call `user32::SetClassLong(i$HWNDPARENT,i${GCL_STYLE},i${CS_DROPSHADOW})` SetClassLong Replaces the specified 32-bit ...
用户10553043 10小时前0
感谢非常感谢用户54973040 11小时前0
感谢分享用户73947486 13小时前0
好人一生平安用户13072165 13小时前0
感谢分享用户65867020 16小时前0
谢谢分享用户60845930 19小时前0
感谢分享