Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Thursday, October 27, 2011

Send e-mail from windows using windows script hosting.

Let me think...Yes it will definitely come in handy. No need to open gmail or yahoo or some other email clients to send an e-mail. If you are having an Internet Connection which is even slower than the ants crawling in the walls or you are having a bad day and you some important stuffs to send, then definitely this script will do your Job.

Copy the below code to notepad and save it as email.wsf


<job>
<script language="VBScript">
Option Explicit
On Error Resume Next


Const fromEmail = "jamesbond@gmail.com"
Const password = "007ismypassword"


Dim emailObj, emailConfig
Set emailObj = CreateObject("CDO.Message")
emailObj.From = "jamesbond@gmail.com"
emailObj.To = "ac3gam3r@yahoo.com"
emailObj.Subject = "Test Email"
emailObj.TextBody = "It Works!!"


Set emailConfig = emailObj.Configuration
emailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.gmail.com"
emailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465
emailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
emailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
emailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = true
emailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = fromEmail
emailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") = password
emailConfig.Fields.Update
emailObj.Send
Set emailobj = nothing
Set emailConfig = nothing
WScript.Quit
</script>
</job>


Replace your email address with the code marked in  italics accordingly.
This script is to send an email from gmail and all the settings are according to it. So if you want to send from other email clients, then accordingly set the smtp address.

Enjoy. Happy scripting.

Friday, October 21, 2011

Experience the features of Windows 8 by installing it in Virtual Machine.

Let me tell you first,you should know that the user experience of windows 8 is gonna be completely different from the other previous version of windows.
Just after Microsoft launched Vista Edition, most users were completely burned out because despite of the looks and features it was never better than the good old XP and pretty much the same case in case of windows 7 too.So if that makes you already hate windows 8, i suggest you to try it,learn it,figure it out and then judge it because when it comes to technology the last thing you wanna do is to become resistant to the changes or else you will be left behind before experiencing any.




So according to my suggestion before you try any new softwares,first install it in a Virtual Machine so that it doesn't screw up your system.

A Virtual Machine is a software platform which supports the execution of a complete Operating system.

So lets get started.

Step 1-Gathering the required softwares

We gonna install windows 8 in a virtual environment using Virtual Box. So here is the Download link for Virtual Box:-
virtualbox

After downloading Virtual Box, we will now download windows 8.The download link is below:-

Windows 8

After downloading both these softwares lets proceed to the next step.



Step 2:Installing Virtual Box and setting up the virtual environment

  • Install Virtual Box just like any other software.
  • After Installation,Run the Software.
  • Now Click on New and create a new Virual Machine.
  • In the Name Section Type win8 and in the OS type choose Windows 7 or Windows 7(64-bit) depending upon your computer,and click next.
  • Now set the memory to at least 2GB or 2048 MB if you can,and click on next.
  • Create a new hard disk and click on next
  • In the hard disk storage type choose Fixed-size storage and then next
  • Give the location of your virtual hard disk and make sure the size of the virtual hard disk must be of 20GB and then click next and finish
wait for some time for the hard drive to get formatted.

Step 3:Installing Windows 8 in the virtual machine

  • Select the virtual machine win8 and click on settings.
  • Now Click on Storage and then in the Storage type under IDE Controller,click on the CD and change its location to the windows 8 iso image that you have just downloaded.Click OK.
  • Click On Start.This will go through the installation process and make sure to choose Custom instead of upgrade and select the virtual hard disk.


This is it,Enjoy Exploring the new windows 8.
If you have any doubt then ask me.Leave your Comments. Thank You.

Wednesday, October 19, 2011

Let your PC greet you with a welcome Tone.

Most of us must have seen the updates in facebook about know whether your computer is male/female?? Well i have just put it in a better format,as we have no interest in listening the same stuff again and again.
So here is the code,open notepad and paste it:

strtxt="Welcome Have A Nice DAY."
set ObjVoice=CreateObject("SAPI.SpVoice")
ObjVoice.Speak strtxt 



and save it with .vbs extension.lets say greet.vbs
Now go to Startup Manager,you can search it in the start menu itself(in windows 7).Click on Add button and give some name and in the target section,click on find,then select greet.vbs from the desired location.
Everytime you log-in,it will greet you. Comment and let me know.


 

Tech. Arcade Copyright © 2011