goldenix Posted November 29, 2008 Share Posted November 29, 2008 (edited) I want to run this, How? If you want to change the wallpaper the right way you have to call the WinAPI command SystemParametersInfo(SPI_SETDESKWALLPAPER, 0,str, SPIF_UPDATEINIFILE | SPIF_SENDCHANGE) where str is the path to the file. or this?: System::Call 'shell32::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)' or this? DLL.CallFunction(_SystemFolder.."\\SHELL32.DLL", "SHChangeNotify", "134217728, 0, NULL, NULL", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL) Edit: ok it did not work so ill guess ill just stick with this. thanx for replay. ShellExecute('RUNDLL32.EXE','user32.dll, UpdatePerUserSystemParameters') Edited November 29, 2008 by goldenix My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list] Link to comment Share on other sites More sharing options...
Zedna Posted November 29, 2008 Share Posted November 29, 2008 Search forum for "SystemParametersInfo" there are examples of use. In latest AutoIt it's in standard include as _WinAPI_SystemParametersInfo() Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now