Jump to content
Geo

Un script by$-Geo-$

Recommended Posts

Posted

Primul script este facut in Visual Basic asa ca il salvati nume.vbs

Dim sh, v, r

Set sh = WScript.CreateObject("WScript.Shell")

v = Msgbox("Internet Explorer", 1, "Tweak!")

If v = 2 Then

wscript.quit

End if

r = inputbox("Ce ai vrea sa apara ?")

If r = "empty" Then

sh.regwrite "HKEY_LOCAL_MACHINESoftwareMicrosoftInternet ExplorerMainWindow Title", "", "REG_SZ"

sh.regwrite "HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMainWindow Title", "", "REG_SZ"

Else

sh.regwrite "HKEY_LOCAL_MACHINESoftwareMicrosoftInternet ExplorerMainWindow Title", "", "REG_SZ"

sh.regwrite "HKEY_LOCAL_MACHINESoftwareMicrosoftInternet ExplorerMainWindow Title", r, "REG_SZ"

sh.regwrite "HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMainWindow Title", "", "REG_SZ"

sh.regwrite "HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMainWindow Title", r, "REG_SZ"

End if

msgbox "Terminat. Deschide IE acum", 0, "End"

Posted

suck's so easier :

run ->mmc -> add/remove .. -> group policy editor

Local policy .. => user configuration -> Windows setting -> Internet Explorer -> Browser user itnerface ..

simplu .. mai aveti ceva optiuni , doar ca nu registri si ... LPGO

then run -> gpupdate ;D

Bai fratilor , facem un script pentru fiecare shit din LPGO ..

Posted
!_30 wrote: Bai fratilor , facem un script pentru fiecare shit din LPGO ..

Asa se invata... faci scripturi/programele pentru chestii marunte pana te prinzi cum functioneaza treaba... apoi treci la chestii mai mari :D

Posted
$-Geo-$ wrote: Primul script [...] facut in Visual Basic [...] asa ca il salvati nume.vbs

scripturi in visual basic? visual basic-compilator

.vbs-vbscript - limbaj de scripting=>interpretat

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...