You are here: PSPad forum > English discussion forum > Some common and not so common VBScript methods and propties missing from PSPad

Some common and not so common VBScript methods and propties missing from PSPad

#1 Some common and not so common VBScript methods and propties missing from PSPad

Posted by: clanman | Date: 05/02/2011 13:15 | IP: IP Logged

Hi Jan

I have put together a small list of VBScript methods and properties which PSPad is currently missing. It would be great if they could be added.

Each line starts with the method or property and then a space with either the word Method or Property to indicate which it is.

AddPrinterConnection Method
AddWindowsPrinterConnection Method
AppActivate Method
Close Method
ConnectObject Method
Count Method
CreateScript Method
CreateShortcut Method
DisconnectObject Method
Echo Method
EnumNetworkDrives Method
EnumPrinterConnections Method
Exec Method
Exists Method
ExpandEnvironmentStrings Method
LogEvent Method
MapNetworkDrive Method
Popup Method
Quit Method
Read Method
ReadAll Method
ReadLine Method
RegDelete Method
RegRead Method
RegWrite Method
Remove Method
RemoveNetworkDrive Method
RemovePrinterConnection Method
Run Method
Save Method
SendKeys Method
SetDefaultPrinter Method
ShowUsage Method
Sign Method
SignFile Method
Skip Method
SkipLine Method
Sleep Method
Timeout Method
Terminate Method
Verify Method
VerifyFile Method
WriteBlankLines Method
Arguments Property
AtEndOfLine Property
AtEndOfStream Property
BuildVersion Property
Character Property
Column Property
ComputerName Property
CurrentDirectory Property
Environment Property
ExitCode Property
FullName Property
FullName Property
Hotkey Property
IconLocation Property
Interactive Property
Item Property
Line Property
Name Property
Named Property
Path Property
ProcessID Property
RelativePath Property
ScriptFullName Property
ScriptName Property
SourceText Property
SpecialFolders Property
Status Property
StdErr Property
StdIn Property
StdOut Property
TargetPath Property
Unnamed Property
UserDomain Property
UserName Property
Version Property
WindowStyle Property
WorkingDirectory Property

Options: Reply | Quote | Up ^


#2 Re: Some VBScript methods and propties

Posted by: Stefan | Date: 05/04/2011 17:11 | IP: IP Logged

clanman:
list of VBScript methods and properties which PSPad is currently missing.

It's because that are not VBScript members
but from WshShell object and FileSystem object
and items from WScript scripting host.

One would use them like:
WScript.Quit
WshShell.RegRead
FSO.OpenTextFile ... file.AtEndOfLine

But it could not harm to include them.
You can even do that your own in
"\PSPad\Syntax\VBScript.ini"

Options: Reply | Quote | Up ^


#3 Re: Some VBScript methods and propties

Posted by: clanman | Date: 05/06/2011 13:09 | IP: IP Logged

Stefan:
It's because that are not VBScript members
but from WshShell object and FileSystem object
and items from WScript scripting host.

One would use them like:
WScript.Quit
WshShell.RegRead
FSO.OpenTextFile ... file.AtEndOfLine

But it could not harm to include them.
You can even do that your own in
"\PSPad\Syntax\VBScript.ini"

You are correct that many of the properties and methods are extensions of objects and not specifically vbscript or WSH. However, they are commonly used extensions which cross many different objects and it would be great if they were included.

I have started my own vbscript ini file because they are not apart of the default set. Problem is I never seem to have a copy of it to install on all the machines I use PSPad on sad smiley.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2014 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák