sandman Posted September 6, 2007 Share Posted September 6, 2007 I have this code:Private Declare Sub SHChangeNotify Lib "shell32.dll" (ByVal wEventId As Long, ByVal uFlags As Long, ByVal dwItem1 As Long, ByVal dwItem2 As Long) ... SHChangeNotify SHCNE_ASSOCCHANGED, SHCNF_IDLIST, 0, 0 How would I do something like this in AutoIt? I am extremely inexperienced with DLLs.. does anyone have an idea? [center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center] Link to comment Share on other sites More sharing options...
therks Posted September 7, 2007 Share Posted September 7, 2007 I believe this would be the equivalent in AutoIt. Global Const $SHCNE_ASSOCCHANGED = 0x08000000 Global Const $SHCNF_IDLIST = 0x0000 DllCall('shell32.dll', 'void', 'SHChangeNotify', 'int', $SHCNE_ASSOCCHANGED, 'int', $SHCNF_IDLIST, 'int', 0, 'int', 0) My AutoIt Stuff | My Github 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