Windows 8 and 8.1 Forums


VBScript: How do I type in a minimised application

  1. #1


    Posts : 2
    Windows 8.1 Professional

    VBScript: How do I type in a minimised application


    Basically, I want to have a VBScript (Or Similar) which types in a command prompt, but without inturrupting what I am doing at the time. I have the code for it, just it inturrupts me every time it types. Has anyone got a suggestion on how I could do this.

      My System SpecsSystem Spec

  2. #2


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    I just scheduled a task with Task Scheduler.
    sfc /scannow.

    I checked the "hidden" box in the general tab.

    It just started running & the only way I can tell is the light on the computer is blinking rapidly.

    No interruptions.

    It doesn't even show on the Taskbar.

    edit--- I stopped the task & unchecked the "hidden" box & restarted the task & the CMD window appeared on the screen.
    Last edited by David Bailey; 19 Jul 2014 at 01:14. Reason: more info
      My System SpecsSystem Spec

  3. #3


    David's is a great solution. however if you want to run an app hidden with vbs...

    Code:
    Dim WshShell
    set WshShell = CreateObject("wscript.Shell")
    WshShell.Run "%windir%\system32\cmd.exe",0,false
    Obviously change the path to whatever you want to run.
      My System SpecsSystem Spec

  4. #4


    Posts : 2
    Windows 8.1 Professional


    Thanks Guys, That is very helpful, I should be able to get that to work later on
      My System SpecsSystem Spec

  5. #5


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    Superfly's solution is better than mine.
      My System SpecsSystem Spec

VBScript: How do I type in a minimised application
Related Threads
Sometimes, when I click on a taskbar process button for a running, minimised process, it refuses to open (restore), or it opens in the background. This is in 8.1 update 1. I haven't seen it happening with Store apps. It is as though another process is blocking it and preventing it coming to the...
Hi Everyone, Just wondering if anyone knows of a VBScript or BAT file to load the following preferences when double clicked: Make taskbar icons small Taskbar buttons - never combine Thanks,
I have accidently set my .ext default program to Notepad and I want to change it back to an unknown application I have tried deleting it in regedit and it just sets it back to notepad even when I restart my computer afterwards any help would be much appreciated
Hi Windows 8 hypervisor hyper v is bare metal hypervisor. And vmware workstation is not. So will the new any difference between these two in terms of performance on a Windows 8 machine? Is there any article document contrasting these scenarios?
Hello, Am using windows 8 pro just to check whether it supports all the softwares and languages to install and run it. The first attempt to run vbscript resulted an error with a message 'Variable is undefined:Session'. What does this mean and how to fix this issue in the same os (I want this in...
VBSCript support in Software and Apps
Hi, We are using Windows 8 pre version to verify our software support for this OS, and when we run the vbscript file, got the error 'Variable is undefined:Session' Our script has this line of code UILevel = Session.Property(CustomActionData) What is wrong , the same script is executing...
Hello, I am using the Windows 8 Consumer Preview to make sure our software will be compatible when it is released. The issue I am having is that the vbscript method LoadPicture is not working. It works correctly in all previous versions of Windows. The rest of the vbscript methods that we use...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook