12月142015
AU3更改壁纸例子
来源:==>>官方论坛<<==
使用ObjCreateInterface
创建IActiveDesktop
更改壁纸例子
;===============================================================================
#interface "IActiveDesktop"
Global Const $sCLSID_ActiveDesktop = "{75048700-EF1F-11D0-9888-006097DEACF9}"
Global Const $sIID_IActiveDesktop = "{F490EB00-1240-11D1-9888-006097DEACF9}"
Global Const $tagIActiveDesktop = _
"ApplyChanges hresult(dword);" & _
"GetWallpaper hresult(wstr;uint;dword);" & _
"SetWallpaper hresult(wstr;dword);" & _
"GetWallpaperOptions hresult(struct*;dword);" & _
"SetWallpaperOptions hresult(struct*;dword);" & _
"GetPattern hresult(wstr;uint;dword);" & _
"SetPattern hresult(wstr;dword);" & _
"GetDesktopItemOptions hresult(struct*;dword);" & _
"SetDesktopItemOptions hresult(struct*;dword);" & _
"AddDesktopItem hresult(struct*;dword);" & _
"AddDesktopItemWithUI hresult(hwnd;struct*;dword);" & _
"ModifyDesktopItem hresult(struct*;dword);" & _
"RemoveDesktopItem hresult(struct*;dword);" & _
"GetDesktopItemCount hresult(int*;dword);" & _
"GetDesktopItem hresult(int;struct*;dword);" & _
"GetDesktopItemByID hresult(ulong_ptr;struct*;dword);" & _
"GenerateDesktopItemHtml hresult(wstr;struct*;dword);" & _
"AddUrl hresult(hwnd;wstr;struct*;dword);" & _
"GetDesktopItemBySource hresult(wstr;struct*;dword);"
;===============================================================================
Global Const $AD_APPLY_ALL = 0x00000007
;;;;;;;;;;;;;;;;;;; Example ;;;;;;;;;;;;;;;;;;;;;;;;;;;
$oActiveDesktop = ObjCreateInterface($sCLSID_ActiveDesktop, $sIID_IActiveDesktop, $tagIActiveDesktop)
$sFile = FileOpenDialog("Select New Wallpaper", "", "Images (*.jpg;*.bmp;*.png;*.gif;*.whatever)") ; whatever
If $sFile Then
$oActiveDesktop.SetWallpaper($sFile, 0)
$oActiveDesktop.ApplyChanges($AD_APPLY_ALL)
EndIf
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
扫描二维码,在手机上阅读
木有头像就木JJ啦!还木有头像吗?点这里申请属于你的个性Gravatar头像吧!
В Санкт-Петербурге:
The most common form
, text and illustrations to which
Backed by 13 years of expertise, MailBanger.com has been a leader in email marketing. Our platform offers millions of targeted contacts to drive measurable results. Whether you’re targeting B2B leads, our accurately segmented lists are designed to meet your marketing needs. Discover the difference at MailBanger.com!
Trusted by businesses for 13+ years, MailBanger.com has helped thousands of businesses through high-quality email lists. With a vast database across industries, we make it easy to connect with your audience. See why we’re a leader in marketing lists today!
Looking for a reliable partner in marketing? With 13 years of experience, we provide millions of verified leads for email, telemarketing, and direct mail marketing. Our targeted lists are built to get results fast. Take the guesswork out of your campaigns—visit MailBanger.com today!
At MailBanger.com, you’re backed by 13 years of proven success. We offer a database that spans industries to achieve your goals. From email marketing lists, our affordable solutions help you scale. Download your lists today at MailBanger.com.
Im fine
Hello. I would like to buy advertising on your site. Write to me
我们很高兴邀请您参加我们开创性的SEO神经网络的独家测试阶段。 作为您在搜索引擎优化领域的可靠伙伴,我们的平台提供八种语言的语义核心的自动创建。
主要特点:
自动生成语义核心和网站结构。
关键字聚类在搜索引擎中最大的可见性.
全球复盖,支持17种语言。
与我们一起探索我们的先进技术如何提高您的在线形象,并推动您的业务在搜索排名中达到新的高度。
我们期待着您的加入
from a printed book, reproduction