Darren12

MrPLC Member
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Darren12

  • Rank
    Hi, I am New!

Profile Information

  • Country United Kingdom
  1. VBScript

    Hi, Im am quite new to VBScript, at the min im bringing up the note pad and on screen key board via push botton using VBS. What I want to do is when I close down the note pad the key board also closes and that a message is displayed asking if you want to save the note. When yes is pressed I want the note to be saved into a folder that has already been created, this is so the user does not have the option of selecting were the note goes, if anyone could help me with this task it would be great and much appreciated. Below is the script I am using to bring up the note pad and key board: dim commandLine, WshShell LaunchApp = "C:\Documents and Settings\DarrenLeslie\Start Menu\Programs\Accessories\Notepad" Set WshShell = CreateObject("WScript.Shell") WshShell.Run Chr(34) & LaunchApp & Chr(34) & " " & Chr(34) & AppParameters & Chr(34) set WshShell=nothing LaunchApp = "C:\Documents and Settings\DarrenLeslie\Start Menu\Programs\Accessories\Accessibility\On-Screen Keyboard" Set WshShell = CreateObject("WScript.Shell") WshShell.Run Chr(34) & LaunchApp & Chr(34) & " " & Chr(34) & AppParameters & Chr(34) set WshShell=nothing