TheLug Posted July 7, 2015 Share Posted July 7, 2015 This is what I have below. But something isn't correct. The key never shows. I have searched all over and read the help but it is still not working.RegWrite ("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Live\Photo Gallery\Library" ,"DontShowAssociationsDialogExtensions","REG_MULTI_SZ","line1" & .WDP & "line2" & .BMP & "line3" & .JFIF)Multi-String ValueHKEY_CURRENT_USER\Software\Microsoft\Windows Live\Photo Gallery\Library DontShowAssociationsDialogExtensions .WDP.BMP.JFIF.JPEG.JPE.JPG.PNG.TIF.DIB.TIFF.ICO Link to comment Share on other sites More sharing options...
Gianni Posted July 7, 2015 Share Posted July 7, 2015 try like thisRegWrite("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Live\Photo Gallery\Library", "DontShowAssociationsDialogExtensions", "REG_MULTI_SZ", ".WDP" & @CRLF & ".BMP" & @CRLF & ".JFIF") Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
TheLug Posted July 8, 2015 Author Share Posted July 8, 2015 Works like a champ. It all makes sense now!!! Thanks a lot! I was really scratching my head with that one. Link to comment Share on other sites More sharing options...
TheSaint Posted July 8, 2015 Share Posted July 8, 2015 You could probably improve upon that, by assigning the main reg key to a variable, and then writing to it for each extension using something like a For...Next loop. Each extension would be the value of another variable (i.e. $ext). You could pass the extensions as a pipe delimited string and use something like the StringSplit command. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) 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