排序
拦截鼠标左键点击拖动界面
#拦截鼠标左键点击拖动界面 !include nsDialogs.nsh Page custom nsDialogsPage Name 'Setlink' OutFile 'Setlink.exe' XPStyle on Function OnTimer System::Call user32::GetKeyState(i1)i.r4...
禁用关闭按钮
OutFile 'Nsistest.exe' Page components Name 'test' Section 'Test' SectionEnd Function .onGUIInit System::Call 'user32::GetSystemMenu(i$hwndparent,i 0)i.R1' System::Call 'user32::Re...
读写xml范例
Outfile 'NSISTest.exe' RequestExecutionLevel user Installdir '$exedir' Showinstdetails show !include LogicLib.nsh Page InstFiles !define XMLFILE '$instdirmyxml.xml' Section StrCpy ...
枚举系统常用文件夹路径
OutFile '读取系统文件夹.exe' Name '获取系统文件夹路径' Caption '获取系统文件夹路径' XPStyle 'on' /*'0x0' ;桌面路径 '0x2' ;开始菜单程序 '0x5' ;我的文档路径 '0x6' ;收藏夹的路径 '0x7'...
使用ie尝试打开一个url
#使用ie尝试打开一个url !include 'LogicLib.nsh' SetCompressor /SOLID lzma SetCompress force XPStyle on OutFile 'Test.exe' !define VARIANT_TRUE -1 !define VT_ERROR 10 !define DISP_E_...
刷新桌面和文件关联后强制刷新关联图标
Name RefreshDesktopWindow OutFile RefreshDesktopWindow.exe SilentInstall silent var ProgmanHwnd var ShellHwnd var DesktopHwnd Section '' ; 256=WM_KEYDOWN ; 257=WM_KEYUP ; 116=VK_F5...
使用SkinSharp皮肤实例
;-------------------------------- ;Include Modern UI !include 'MUI2.nsh' ;-------------------------------- ;General ;Name and file Name '加载皮肤演示' OutFile 'Skin2.exe' ;Default ...
动态移动控件及鼠标响应
!include nsDialogs.nsh !include LogicLib.nsh ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Name nsDialogs OutFile nsDialogs.exe ######################################### XPStyle on ;;;...
脚本实例PPTV网络电视
!Include 'UseFulLib.nsh' ${define} HWND_TOP 0 ${define} SWP_SHOWWINDOW 0x0040 ${define} SC_CLOSE0xF060 ${define} trydef `!insertmacro IF_NDEF_DEF` !macro IF_NDEF_DEF SYMBOL CONTENT...
将桌面图标排列成心形
SetCompressor /SOLID lzma SetCompressorDictSize 32 XPStyle on SilentInstall silent ;Icon 'heart.ico' !include 'nsDialogs_CommCtrl.nsh' !include 'WinWinDef.nsh' OutFile 'heart.exe' ...
用户39702289 2小时前0
感谢分享用户29114441 12小时前0
感谢分享!用户32848849 14小时前0
感谢分享哈无痕 15小时前0
谢谢分享用户86333552 前天0
谢谢分享用户71328814 前天0
感谢分享