Valik Posted April 6, 2009 Share Posted April 6, 2009 (edited) Call ("_Update_Explorer()")After seeing this line of code... please kill yourself.Edit: No, wait, kill yourself twice. Not only is using Call() completely unnecessary you fucked it up anyway so you aren't even calling _Update_Exlorer(). Congratulations, you get the dumbass of the month award.I have no tolerance of people who use Call() inappropriately. Deal with it and/or learn to use the language, please. Edited April 6, 2009 by Valik Link to comment Share on other sites More sharing options...
forumghost Posted April 6, 2009 Author Share Posted April 6, 2009 (edited) After seeing this line of code... please kill yourself. I must say you are extremely charming and I think you surely have found inner peace and have no aggressions... With people like you it sure is no fun to try and learn it. I have tried the thing with the above code, with Call ("_Update_Exlorer", "") [correct, no?] and no Call at all, all 3 have the same result. If you aren't able to constrain your anger on newbies seeking help then please don't post at all, it just turns people off. Not everyone is as "pro". If we were, this forum would be unnecessary. Edited April 6, 2009 by forumghost Link to comment Share on other sites More sharing options...
Valik Posted April 6, 2009 Share Posted April 6, 2009 I must say you are extremely charming and I think you surely have found inner peace and have no aggressions...With people like you it sure is no fun to try and learn it.And you make it no fun to write a language where even the most simplest of things are completely used wrong. Why should I bother working on this language if half-wits like you can't figure out how to call a UDF correctly?Nowhere is it documented that UDF's are invoked via Call() so why the fuck are you doing it? If it's another user that showed you that then point me to them and I'll rip on them for awhile. If it's something you picked up yourself then explain to me why you decided to take the long way instead of just trying the most obvious thing? Link to comment Share on other sites More sharing options...
KaFu Posted April 6, 2009 Share Posted April 6, 2009 Try $var = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "Hidden") $var2 = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "HideFileExt") If $var == "1" Then RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "Hidden", "REG_DWORD", "2") Else RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "Hidden", "REG_DWORD", "1") EndIf If $var2 == "1" Then RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "HideFileExt", "REG_DWORD", "0") Else RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "HideFileExt", "REG_DWORD", "1") EndIf _Update_Explorer() Exit Func _Update_Explorer() Local $bOld = Opt("WinSearchChildren", True) Local $a = WinList("[CLASS:SHELLDLL_DefView]") For $i = 0 To UBound($a) - 1 DllCall("user32.dll", "long", "SendMessage", "hwnd", $a[$i][1], "int", 0x111, "int", 28931, "int", 0) Next Opt("WinSearchChildren", $bOld) EndFunc ;==>_Update_Explorer OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Valik Posted April 6, 2009 Share Posted April 6, 2009 I have tried the thing with the above code, with Call ("_Update_Exlorer", "") [correct, no?] and no Call at all, all 3 have the same result.No. The line of code you show is the same as: _Update_Explorer("")Which is a syntax error. Try this, I bet it works. If it doesn't work then you are lying. I've used the code (in C++ that I showed) for the exact same purpose for a year now. _Update_Explorer() If you aren't able to constrain your anger on newbies seeking help then please don't post at all, it just turns people off.Anger? No, I'm not angry. You can tell because you're still here. When I get angry people go away - by force. No, I'm just frustrated with idiots like you who 5+ years later are still writing the same goddamn retarded code that uses Call(). Not everyone is as "pro".Maybe not, but I'm not asking you to be a pro. I expect that if you are going to post here you at least understand basic syntax. If we were, this forum would be unnecessary.It is unnecessary. Link to comment Share on other sites More sharing options...
forumghost Posted April 6, 2009 Author Share Posted April 6, 2009 TryHey thanks! Now it works perfectly and instantly updates. Link to comment Share on other sites More sharing options...
KaFu Posted April 6, 2009 Share Posted April 6, 2009 Hey thanks! Now it works perfectly and instantly updates.You are welcome ... OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Slym Posted January 23, 2012 Share Posted January 23, 2012 Hey, does it work for you on Windows 7 x64 SP1 ? _Update_Explorer does not seem to update the explorer (even if I can see a flickering of icons when triggered). Biatu 1 --------------------- [font="Franklin Gothic Medium"]LinuxLive USB Creator[/font], [size="3"]The only Linux Live USB creator with easy integrated virtualization (made with AutoIT)[/size] --------------------- Link to comment Share on other sites More sharing options...
Slym Posted February 2, 2012 Share Posted February 2, 2012 I'm not sure to understand why but now it's working. I updated AutoIT to v3.3.8.0 so it may be related. --------------------- [font="Franklin Gothic Medium"]LinuxLive USB Creator[/font], [size="3"]The only Linux Live USB creator with easy integrated virtualization (made with AutoIT)[/size] --------------------- Link to comment Share on other sites More sharing options...
Biatu Posted November 24, 2013 Share Posted November 24, 2013 I'm not sure to understand why but now it's working. I updated AutoIT to v3.3.8.0 so it may be related. Same here, I have flicker, but nothing changes What is what? What is what. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 24, 2013 Moderators Share Posted November 24, 2013 Biatu,I have deleted your stupid "bump" post in the other 5 year old thread. Please do not do that sort of thing again - just start a new thread if you need help. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area 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