trying tolearn and write vbs scriptDebray6379 - March 17, 2010 - 3:42am
I've just started to try and teach myself how to write and work with .vbs script. please be kind... thanks for your time! ( categories: )
|
trying tolearn and write vbs scriptDebray6379 - March 17, 2010 - 3:42am
I've just started to try and teach myself how to write and work with .vbs script. please be kind... thanks for your time! ( categories: )
|
I would recommend AutoIt or
I would recommend AutoIt or AutoHotkey for that type of automation....vbscript is great for windows administration and text processing and stuff like that, but for window control and key sending, it's somewhat lacking
The developer formerly known as ZGitRDun8705
Thanks for the tip
Thanks for the tip! I'll look into it, I did have the idea of making a portableapps start docklet for rocketdock{portablized} and have been looking into ways of doing it besides the standard shortcut... anyway I'm only new to this type of thing and wanted the docklet to have the same function as if alt+win+spacebar was pressed??
if Autoit or AutoHotkey won't work I'll try something else. Again thanks for your help!!!
PowerShell > VBScript
If you want something that's built in to Vista and Windows 7, use PowerShell. PowerShell is replacing VBScript as the Windows scripting language of choice.
http://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx
If you REALLY want to do it in VBScript, I can help you out. I've been writing VBScript for about 9 years now.
http://msdn.microsoft.com/en-us/library/8c6yea83%28VS.85%29.aspx
Per a comment at the bottom of that page, the SendKeys method has been disabled in Vista (and I assume Win7) so AutoIt may be the way to go.
Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!
Sorry for taking so long to reply
Sorry for taking so long to reply,
I've been reading the links you gave me and been checking out Autoit, which may be the way to go but it's going to take me a while to learn how to write the script correctly to send the commands.
Thanks for the links by the way they are a bit confusing at first but I'm slowly understanding more and more although I think it will be a while before I can actually produce any type of script that will do what I want it to... But that is the way it goes when you try and teach yourself how to do something you've never done before lol.. again thanks for your help!!!!!