Questions tagged [VBScript] (92)

1
answer

How to call a dialog box with a specific text?

I need that while executing the script got the usual dialog box with the error text (e.g. "Critical error") and click OK By clicking on the button nothing should not happen - in fact, it is just as a warning error How do you implement?
Roberta_Corw asked April 18th 20 at 13:09
1
answer

What Error 451?

In VBA not an expert, but had to face. You do not understand. Normal array plPath.Coordinates, but can't get it the first element. MsgBox TypeName(plPath.Coordinates) ' Double MsgBox UBound(plPath.Coordinates) ' 7 MsgBox IsArray(plPath.Coordinates) To ' True MsgBox plPath.Coordinates(0) ' Error 451: Property let procedure ...
cheyanne asked April 8th 20 at 17:46
1
answer

What object model from Chrome?

Searched in Google , in Google.Dev not found . Need to get Google chrome object model in VBScript . For Internet Explorer this is done with the command Set ie = CreateObject("InternetExplorer.Application") How to do the same with Chrome and stay alive ? And with what objects can be removed in the opened window, Chrome sta...
River_Schamberger asked April 8th 20 at 10:39
2
answers

1C how to hide a window?

How to run 1S of Windows task scheduler? A processing for data exchange in task scheduler I run through cmd, but no settings do not help you get rid of the annoying window.
maureen_Nikola asked April 8th 20 at 09:14
0
answer

VBScript. File backup. help to understand?

Good day. Started learning VBScript. Experienced people are advised to set a specific task and look for methods of solution. The idea in my head there was this: There is a script that grabs the files from one server and puts them on the other, and that using SFTP provides distribution to users. Smashing on the stages of thi...
Darby.Lind64 asked April 8th 20 at 02:49
2
answers

How to use script to modify the program when running terminal session?

For Windows Server 2003, you must write a script for unattended setup/change parameter "user Properties/Environment/Startup programs/name of the file of the program" for a user group or user with the name ending with the string "Env" for example "User_Env". There is a suggestion how this can be done on the basis of this bo...
candida32 asked April 4th 20 at 13:57
1
answer

As from VB to execute commands at the command prompt and get the result their performance?

All welcome! Started to learn VBS to automate different processes on your computer At the moment there is such a problem is to ping some IP on the Internet - if you can ping then the Internet works Then to ping a domain name on the Internet - if you can ping the DNS so the rules work Already what only did not try, but they ...
Rahul asked April 4th 20 at 12:49
0
answer

.vbs script collapses through several. seconds, in what could be the problem?

Beginner. Trained in the simplest vbs script. After you create a view script in a do ... loop with msgbox inside code do MsgBox "Localized?",0,"Yes" loop on the good advice of friends squeezed Enter, and the window is closed. But since then, any scripts vbs (it is about the most simple, to complex I far away) with a msgbox ...
angelita_Tromp asked April 3rd 20 at 18:14
1
answer

How to pass variable from CMD in VBS script?

In General, you need to open default browser in Windows in the background Let's say I write in cmd : start /w wscript.exe "toster.vbs" https://toster.ru/ After this, the in the background this link. Anyone can help to write all the code, there is very little I don't understand, please help, already 2 days can't think of
Berta45 asked April 2nd 20 at 16:01
2
answers

How to check if the process is running and if not running — start?

Hi all. I need to protect the program under suspicious process, if the process sadykjan - enable protection, I want to do it this way: 1. Create a bat file to run it and it will continually check whether it is running, my antivirus, if it was closed again to run it 2. Create a VBS file and run and test. Help to make correct...
janie asked March 31st 20 at 20:27