Ok, i think i got it, its working fine, here is the code:
Any suggestions ? Could i maybe stop the sound ?
#include <Misc.au3>
#include <MsgBoxConstants.au3>
Local $hDLL = DllOpen("user32.dll")
While 1
If _IsPressed("78", $hDLL) Then
SoundPlay('D:\sound.mp3', 1)
; Wait until key is released.
While _IsPressed("78", $hDLL)
Sleep(1)
WEnd
EndIf
Sleep(250)
WEnd
So i want the sound to play when i press a combination of keys lie "alt+F2" or "S" or anything else, you got the point, could this be possible ? Thnaks!
Thanks, I will try every script in that topic, maybe I will find what I`m looking for.
That address is not working, the antvirus its blocking that address.
This is exactly what I need, a program that woks like you describe Browser -> local proxy server ( Check whitelist if not in whitelist don't go to that site) send response to Browser.
In the whitelist i cand add the name of the site ? for example www.google.ro ? or this is available just for the blacklist ?
Could you show me how should the hosts file look like ?
Not really beacuse its much easier with a program that i can have it on a usb stick and put it where i want and when i want, the reason that i want a program is that i saw this program
Thanks for sharing, but if the pc has windows xp i think that not going to work properly, and as I said above i want a program because it is much easier if you have more computers just run the program and thats it.
Cant make it work if i edit the hosts file, i`ve try that.It would be much easier to just start and stop a program that to go into the hosts file and edit there.
Hello, could someone help me create a program that blocks all sites on PC on all browsers, and allow only the sites that i set ?
For example, the program block all sites and allow just google.ro and autoitscript.com ? I think its more easy to make a program that do this and to be portable and works for all browsers.Thanks.