genocid Posted March 24, 2010 Share Posted March 24, 2010 I have this code: ShellExecuteWait ( "regedit.exe", "/ e ets.reg HKEY_CURRENT_USER \ Software \ Yahoo \ pager", "c: \") but I want to save automatically ets.reg with computer name (for exemple: computernam.ets), I searched but I found nothing Link to comment Share on other sites More sharing options...
GodlessSinner Posted March 24, 2010 Share Posted March 24, 2010 (edited) Use RegRead, RegWrite and @ComputerName. Edited March 24, 2010 by Godless _____________________________________________________________________________ Link to comment Share on other sites More sharing options...
genocid Posted March 24, 2010 Author Share Posted March 24, 2010 I need a exemple because i don't under stood Link to comment Share on other sites More sharing options...
goldenix Posted March 24, 2010 Share Posted March 24, 2010 Run this sample once to hide images in IE & disable active scripting. then run again to undo changes. Works under win XP $active_acripting = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3", "1400") If $active_acripting == 3 Then RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3", "1400", "REG_SZ", "0") Else RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3", "1400", "REG_SZ", "3") ; A.S. enabled EndIf $show_images = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Display Inline Images") If $show_images == 'yes' Then RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Display Inline Images", "REG_SZ", "yes") Else RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Display Inline Images", "REG_SZ", "no") EndIf ;~ ------------ $active_acripting = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3", "1400") $show_images = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Display Inline Images") If $active_acripting = 0 Then $active_acripting = 'Active S.: Enabled!' Else $active_acripting = 'Active S.: Disabled!' EndIf ConsoleWrite('Show imaages: ' & $show_images & @CRLF & $active_acripting & @CRLF) MsgBox(0,'New Settings:','Show imaages: ' & $show_images & @CRLF & $active_acripting) 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...
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