.

Tuesday, October 05, 2010

PC/Laptop anda Girl ke Boy?


Meh tentukan jantina pc/laptop anda..kita tgk sama ada girl ke boy yang ucapkan I LOVE YOU kat anda..hehe..

Step 1:
Open up blank notepad

Step 2:
Type the below string into it. (Do not use copy & paste, it may be doesn’t work, type manually)

CreateObject(“SAPI.SpVoice”).Speak”I love YOU”

Step 3:
Save the file as .vbs (eg. I_love_you.vbs)

Step 4:
Execute that file via double clicking it. You will know if it is a guy or girl through the sound.

Have problem?, you can download the test file here (extract the zip file and double clicking it):Check you computer gender1

Mine is a guy!

More advance, you also can know what is name of the owner of the voice. Use the following script (replace script in step 2):

Set VObj = CreateObject(“SAPI.SpVoice”)
with VObj
Set .voice = .getvoices.item(0)
.Volume = 100
.Rate = 1
end with

Set VObj = CreateObject(“SAPI.SpVoice”)
For Each Voice In VObj.getvoices
I = I + 1
msgbox “I am ” & Voice.GetDescription & ” and Nice to meet you!”
Next

For count=0 to 1
vobj.Speak”bye bye!”
Next

or download the test file here (extract the zip file and double clicking it) : Check you computer gender2



sumber ; http://www.blogedi.com/archives/564

0 kesan degil: