Jump to content
Fórum Script Brasil
  • 0

VBScript - Dados para login


francinerosa
 Share

Question

Boa tarde, tenho um script para inicialização de vários programas, porém alguns deles possuem usuários padrões... É possível configurar o script para colocar os dados de usuário automáticamente e se logue?

Dim intOpcao
intOpcao = msgbox("Deseja abrir todas as tecnologias?", vbYesNo)
if intOpcao = vbYes then 


Set WshShell = WScript.CreateObject("WScript.Shell")




msgbox("As tecnologias serão abertas: ControlFleet, Omnilink, Onixsat, Sascar, Sighra")


WshShell.Run "C:\Users\Public\Tecnologias\ControlFleet\ControlFleet.exe", 1, false
WshShell.Run "C:\Users\Public\Tecnologias\Onix\OnixClientV4.exe", 1, false
WshShell.Run "C:\SAVER2000\MR\EZModRas.exe", 1, false
WshShell.Run "C:\Users\Public\Tecnologias\Sighra\SIGhRA_Monitor\Monitor.exe", 1, false
WshShell.Run "C:\Users\Public\Tecnologias\Sascar\sasgc-2.1.43.exe", 1, false


end if

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Forum Statistics

    • Total Topics
      149.8k
    • Total Posts
      646.6k
×
×
  • Create New...