Windows 10: I start my laptop and pop up run.vbs, what should i do ?

Discus and support I start my laptop and pop up run.vbs, what should i do ? in Windows 10 Gaming to solve the problem; I start my laptop and pop up run.vbs, what should i do ?... Discussion in 'Windows 10 Gaming' started by Ilham Nizam, Jul 20, 2023.

  1. I start my laptop and pop up run.vbs, what should i do ?


    I start my laptop and pop up run.vbs, what should i do ?

    :)
     
    Ilham Nizam, Jul 20, 2023
    #1

  2. VBS Msgbox

    Denis,

    • I was too lazy to compute the size programmatically. And, it the 2005 version the message box always came up hidden, so I always used 0 for the top. It's also part of my OCD to be able to control everything.
    • I personally don't need it to timeout. I used this in vbs files to ask to continue to the next step, skip the next step or cancel the vbs. BTW, I added the code back in but keep it assign it to 0.
    • Sound was calling Windows Media Player: WshShell.Run "C:\Users\donast\desktop\sndrec32.lnk",7,false the lnk is a shortcut on my old desktop that had: "C:\Program Files (x86)\Windows Media Player\wmplayer.exe"
      "C:\Users\Public\Music\Wavefiles\Twilight.wav"
    • Yes. The value is the number of the button in the order specified when calling it.
    • Never really thought about it as all my VBS/VBA code is relatively simple and I add comments in the file as necessary to remind me what is going on. I don't usually have anyone to share my code.
    FYI I use a VBS to call it. Here's a line from a test vbs I use to run your version:

    choice=Wshshell.run("custommsgbox.vbs " & wscript.scriptname & " ""CopyFiles.vbs done. Continue with UnArchVista.vbs?"" ""White"" ""Black"" 40 ""Yes"" ""No"" ""Cancel""",1,true)

    Copy it to a text editor to see all the spaces, etc. Took me a while back the to figure it out.

    Don
     
    DRARetired, Jul 20, 2023
    #2
  3. Running a VB Script File Using Windows 10 Task Scheduler

    Here is my VB Script code:

    Option Explicit    

    Dim objExcel, strPathExcel

    Set objExcel = CreateObject("Excel.Application")

    strPathExcel = "C:\Users\John J\Documents\Great Oaks\2018 Season\Handicap Test.xlsm"

    objExcel.DisplayAlerts = False

    objExcel.Workbooks.Open strPathExcel

    objExcel.Application.Run "'Handicap Test.xlsm'!HandicapRunTrial"

    objExcel.ActiveWorkbook.SaveAs strPathExcel

    objExcel.Workbooks.close

    objExcel.Application.Quit

    WScript.Quit

    In Task Scheduler Library, created a folder called "GOCC"

    I than hit "Create Basic Task", name it and give brief description/

    From the "Trigger" menu, I give a start date and time.

    From the "Action" menu, I hit "Start", and browse for my vbs file. I click on it and the full path command is listed. The task is listed in the Scheduler.

    Then I double click on the task, I keep the user account as "John J", click on " Run whether or not user is logged on or not, click

    "Run with highest privileges", click on "Hidden" and then configure the task for "Windows 10." I hit "OK" which the computer prompts me for my password. I enter it and hit "ok."

    The problem is that the vbs never runs at the designated date and time. I do not understand why it does not work.

    Thanks
     
    John JVrana, Jul 20, 2023
    #3
  4. n-ster Win User

    I start my laptop and pop up run.vbs, what should i do ?

    n-ster, Jul 20, 2023
    #4
Thema:

I start my laptop and pop up run.vbs, what should i do ?

Loading...
  1. I start my laptop and pop up run.vbs, what should i do ? - Similar Threads - start laptop pop

  2. what should I do with this pop up message

    in Windows 10 Gaming
    what should I do with this pop up message: Hello,Could you please help me with this issue, which occasionally is shown on my screen.What kind of steps I should do.Thanks a lot! https://answers.microsoft.com/en-us/windows/forum/all/what-should-i-do-with-this-pop-up-message/6f599ecc-e53d-4c94-9b77-fcf28e7fa41f
  3. what should I do with this pop up message

    in Windows 10 Software and Apps
    what should I do with this pop up message: Hello,Could you please help me with this issue, which occasionally is shown on my screen.What kind of steps I should do.Thanks a lot! https://answers.microsoft.com/en-us/windows/forum/all/what-should-i-do-with-this-pop-up-message/6f599ecc-e53d-4c94-9b77-fcf28e7fa41f
  4. what should I do with this pop up message

    in Windows 10 BSOD Crashes and Debugging
    what should I do with this pop up message: Hello,Could you please help me with this issue, which occasionally is shown on my screen.What kind of steps I should do.Thanks a lot! https://answers.microsoft.com/en-us/windows/forum/all/what-should-i-do-with-this-pop-up-message/6f599ecc-e53d-4c94-9b77-fcf28e7fa41f
  5. What should I do when my laptop freezes on start up?

    in Windows 10 Gaming
    What should I do when my laptop freezes on start up?: Hi I have a technical issue! So what happened was is I wanted to play rocket league and I noticed it being very slow. So I searched on the internet and I saw that I needed to update my graphics driver in my “management driver” and I saw that I needed to enable one of those....
  6. What should I do when my laptop freezes on start up?

    in Windows 10 Software and Apps
    What should I do when my laptop freezes on start up?: Hi I have a technical issue! So what happened was is I wanted to play rocket league and I noticed it being very slow. So I searched on the internet and I saw that I needed to update my graphics driver in my “management driver” and I saw that I needed to enable one of those....
  7. I delete the run vbs file what should i do?

    in Windows 10 Gaming
    I delete the run vbs file what should i do?: I delete the file what should i do https://answers.microsoft.com/en-us/windows/forum/all/i-delete-the-run-vbs-file-what-should-i-do/f12b1797-654c-4f82-83a6-1d37a09402f3
  8. I delete the run vbs file what should i do?

    in Windows 10 Software and Apps
    I delete the run vbs file what should i do?: I delete the file what should i do https://answers.microsoft.com/en-us/windows/forum/all/i-delete-the-run-vbs-file-what-should-i-do/f12b1797-654c-4f82-83a6-1d37a09402f3
  9. I delete the run vbs file what should i do?

    in Windows 10 Network and Sharing
    I delete the run vbs file what should i do?: I delete the file what should i do https://answers.microsoft.com/en-us/windows/forum/all/i-delete-the-run-vbs-file-what-should-i-do/f12b1797-654c-4f82-83a6-1d37a09402f3
  10. I start my laptop and pop up run.vbs, what should i do ?

    in Windows 10 Software and Apps
    I start my laptop and pop up run.vbs, what should i do ?: I start my laptop and pop up run.vbs, what should i do ? https://answers.microsoft.com/en-us/windows/forum/all/i-start-my-laptop-and-pop-up-runvbs-what-should-i/fbe3b5ea-cf36-4c89-8ac9-e1d6211a6c3b