Skip to main content

Make your Computer Talk

Make your Computer Talk


Have you ever wondered how can you make your computer speak whatever you input to it like in the movies? Would it not be fun? If only it was possible! Rejoice, because now it is possible. Well, if you wish to know how to do this, then you have come to the right place. With this trick, you can create a script in Windows which will make your computer speak whatever you input to it.

To create one such talk script, follow the steps given below:-

Steps
  1. Open Notepad.
  2. Copy and paste the exact code given below.
          Dim Message, Speak
          Message=InputBox("Enter text","Speak")
          Set Speak=CreateObject("sapi.spvoice")
          Speak.Speak Message
        3. Click on File MenuSave As, select All Types in Save as Type option, and save the file as Speak.vbs or "*.vbs".
        4.  Double click on the saved file, a window will open. Enter some text in enter text column and click OK.

    Now your Computer will speak / talk what you typed in Step 4. Try it yourself.

    Windows Compatibility: This VBS file can be executed on all versions of Windows including Windows XP,Windows VistaWindows 7 and Windows 8.

    Popular posts from this blog

    CONVERTING TORRENT FILE TO ZIP FILE

    HOW TO CONVERT TORRENT FILE TO ZIP FILE 1>>click the link below  http://www.zbigz.com   2>>upload your .torrent file  3>>wait until conversion, after conversion your  file can be downloadable in .zip format.

    Responsive PanelGrid in JSF Primeface

    Here, we are going to learn about responsive PanelGrid in JSF Primeface component. As we know primefaces providing lots of good stuffs for JSF. In Primeface, there is a component name Panel Grid which we are going to use for our convenience. In most of the cases, PanelGrid used for making our content in a proper way. If users opens our website which we have made in jsf using panelGrid component that not in responsive manner, that could be really ugly as for as user concern, So here we are going to break it just by using Layout attribute in the panel Grid component. for exaple, < h3 >Responsive</ h3 > < p:panelGrid columns = "3" layout = "grid" >                 < h:outputText value = "Content" />      < h:outputText value = "Content" />      < h:outputText value = "Content" />      < h:outputText value = "Content" />      < h:outputText value = "Content" />

    How to clear Filter value in Primefaces Datatable?

    As we Know, primefaces provides plenty of components for JSF. In this discussion, we are going to uncover filter attribute mystery in Datatable. Above the pic represents the filter option which is available in primeface . we can easily inherit filter option to datatable. PROBLEM WE FACE: while doing filter in datatable primeface, if we want to go further action. for example, you have 1000 of records, you're filtering option to filter those records. while filtering, you have seen your records and you need to go another action, at the time filter wont be clear. it will be remains same. Inorder to overcome that issue, we need to use below scripts, RequestContext.getCurrentInstance().execute("PF('any_name').clearFilters()"); Add widgetwar attribute in your datatable component <p:datatable id="d_id"   widgetVar ="any_name">