Questions tagged as 'vbs'

1
answer

PROBLEM with parent TAG in VBS

Are people ... all right? I have a problem here very similar to one I had yesterday, I have a VBS script that caters me well, it basically reads the XML, takes the date inside the XML and renames the file with that date ... Now I need it to re...
asked by 09.08.2018 / 22:26
1
answer

Loop in VBScript

Set WshShell = WScript.CreateObject ("WScript.Shell") Set colProcessList = GetObject("Winmgmts:").ExecQuery ("Select * from Win32_Process") For Each objProcess in colProcessList If objProcess.name = "windows-cli.exe" then vFound = True exit for E...
asked by 13.10.2016 / 01:47
1
answer

Error when pasting data in Excel with VBS

I have a simple spreadsheet in Excel (3 cols and 2 lines) and I'm trying to create a script to open it, copy its data and insert it into other worksheets with the same structure using a form. Private Sub UserForm_Initialize() Call AddWorkB...
asked by 01.12.2018 / 12:17
1
answer

Printing by VBS - Windows 2008 R2 Server

Hello I made an automatic print routine where a task that I created in windows server 2008 R2 calls a vbs script, where it is done an HTTP request by GET to a web service that assembles a PDF file in a folder. Hence the same script after moun...
asked by 06.11.2018 / 17:40
0
answers

Script to execute program

Hello. I would like an example of Script by VBS itself, so check if there is activity in Windows and so if there is no activity in the previous 15 minutes, this script runs a certain program.     
asked by 18.10.2018 / 21:56
1
answer

Problem with VBS and XML

Are people ... all right? I have a problem here, I have a VBS script that caters me well, it reads the XML files and renames them to the vendor name. Now I need it to rename the XML to the document issuance date (dhEmi), which in this case is...
asked by 08.08.2018 / 23:43
0
answers

Specify form with vbs script

Personal I'm trying to login to vbs but it is not working very well. The system is making the browser behave strangely, if youtube is open it loads the page, gives automatic play and etc. I think the problem is because I'm not specifying the for...
asked by 16.01.2018 / 16:16
0
answers

How to run .vbs file when starting Windows

As I could run a .vbs file when windows starts, I can make a .bat file run through regedit. I already put a .bat to open the .vbs, I did this way cscript "C:\teste.vbs" exit     
asked by 05.06.2017 / 19:14
0
answers

how do I create a function in vbs that by clicking the enter it alternates two windows ie alt + tab

This is the code I'm using Set objShell = CreateObject("WScript.Shell") set Window = CreateObject("InternetExplorer.Application") Window.RegisterAsBrowser = True Window.MenuBar = True Window.ToolBar = True Window.AddressBar = True Window.Sta...
asked by 02.08.2016 / 15:42
0
answers

Log into VBScript

I need to create a log to see who used my script, and this log has to go to a txt. Here is the procedure, how do I create this log that contains the user and the date On Error Resume Next Dim errorLevel Set WSHShell = CreateObject("WScrip...
asked by 01.09.2015 / 20:50