I'm trying to automate various processes using VBScript. However, I can't find any way to have a script detect what is being displayed to the screen.
For example, one program I use prompts for a login. I could make it wait a certain amount of time, except that occasionally, the program hangs up...
I'm trying to write a batch program to make a daily checklist of proceedures based on what day it is. But I can't find anything for operators like AND or OR to use in IF statements for Win2K command prompt. If need be, I could use nested IFs for AND, and separate IFs for OR, but some of the...
Here is the code I've been using to play sounds:
In a module:
Public SoundOption As Boolean
Public Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" _
(ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
To play it:
Call sndPlaySound(App.Path +...
I've found how to make a checked menu item and it changes the variable the way I want, but I can't get clicking on that menu item to toggle the checkmark. It either always has the check, or always doesn't. I need code to change that property on runtime.
If it helps, the item I want to have the...
My program plays sounds (WAV files using MS Multimedia Control) for various events. However, frequently events promting a sound occur in rapid succession in the code.
The two ways I've figured out:
1. Each sound stops the previous one before playing, resulting in only the last one in the order...
I'm making a game with a grid of grgaphical buttons, using the button background colors to indicate the start points for the players and computer opponent. Unfortunately, if a game ends with the player clicking one of the buttons in the grid and starts a new game, the last button clicked in the...
I am making a simple game, and am having difficulty using a small form to set the name of the player. The name variable is part of a class called 'Player' and is currently set as a public variable (happened during my debugging process). the player-class variable Player1 is declared as public on...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.