Description:
Microsoft scripting newsgroup.
|
|
|
Invoke IE's "Send to OneNote" from VBScript
|
| |
Hi All, I have IE10 & OneNote 2013 installed on my PC. OneNote has "Send to OneNote" item added to IE menu. I'm creating IE application object and opening a web page in VBScript like this:
Set objIE = CreateObject("InternetExplorer .Application")
objIE.Navigate targetURL
Now when the page is opened I'd like to send it to OneNote app (if doing that manually one just clicks 'Send to OneNote' menu item). Please advise how to do that from VBScript. execWB works straightforward for the standard commands but it's unclear in case of extensions. Sending to OneNote printer option doesn't work for my task (because content is captured as image and split into pages).... more »
|
|
HTA in IE9,10?
|
| |
I've been seeing indications in my server logs that
people may be having trouble with HTAs in IE9 and/or
IE10. I've got one test machine for Win7 where HTAs
work fine, but I haven't checked different versions of
IE. Does anyone know of any recent changes that limit
or restrict HTA functionality?... more »
|
|
Popup Msgbox not working... HELP!
|
| |
Okay, this should be a no brainer but I am have an issue with the following code working.
'################## DOES NOT WORK ########################
sub DisplayMessage(message)
Mresponse = ws.Popup (message, 30, "Information:", 1)
if (Mresponse = 2) then msgbox "cancelled selected. Will now quit."... more »
|
|
HTA application, looping through checkboxes nightmare.
|
| |
How can I get this to work?
strWhatsChecked = ""
intForLoopCounter = 0
Set CBForm = Document.ChkBoxFrm ' intNumberOfCheckBoxesInForm = document.ChkBoxFrm.ChkBoxThing .length intNumberOfCheckBoxesInForm = CBForm.ChkBoxThing.length MsgBox "Number of Check boxes in the form = " &... more »
|
|
Performance compare between FileSystemObject.CopyFile and FTP Transfer
|
| |
I have two server in difference places (Server A and Server B)
I want to copy a file from server A to server B.
I would like to know the performance between FTP and the function Scripting.FileSystemObject.Cop yFile.
Will it use all the bandwidth between server A and server B if I use Scripting.FileSystemObject.Cop yFile function?... more »
|
|
Capture argument string
|
| |
Is there a simple way to capture the entire argument string passed to
a VBScript? I don't need to parse or do anything with individual
arguments... I just need to pass the whole thing along, including
double-quotes so that the number of arguments doesn't change and so
that spaces within the arguments are preserved.... more »
|
|
Start a VBS script from within one
|
| |
Hello all,
Currently I've got a batchfile which calls a number of VBScripts using
CSCRIPT. All the called VBScripts therefore echo their output into that one
console window.
What I like to do is to do the very same, but replacing the batchfile with a
"parent" VBScript.
The thing is, although there are several ways to do it (run, shell,... more »
|
|
How to read a text file in vbscript
|
| |
Hallo,
I'm looking for a vbscript that reads a text file line by line till the last line. And within the same script there is a icacls command. So the script is supposed to read the text file and execute the command in cmd.
Please help i really need this.
|
|
Assistance with Stripping Value from String
|
| |
All, I have been racking my head and searching techniques for this one but either its so easy I cant see it or more complex for my skill set. Basically I am reading a configuration file and searching for a specific term to get that specific line into a variable for me to work with.... more »
|
|
|