background preloader

Specific issues

Facebook Twitter

WScript.Shell Run. NANY 2012 Pledge & Early Beta: Ethervane Echo. A few tips: - Right-click everything to show context menus. The list of clips and the tabs at the bottom have their own, useful context menus. - To search for clips, do not tab into the search box or click it with the mouse (you can, but there is no need). Just start typing any part of the text you are looking for. - Press Ctrl+S to mark a clip (or multiple clips) as "sticky" . - Press F4 to cycle between search modes.

. - Click Tools -> Available Clipboard Formats to specify which additional data formats you want Echo to store. . - You can configure five metric tons of settings, including max number of clips in the database, min and max length of clips that will be captured, max length of the display text, or where Echo's main window should be positioned when you bring it up with the activation hotkey (Win+Insert by default) . - You can select and paste multiple clips in Echo. - Privacy feature #1: you can specify applications (exe names) from which Echo should never capture clips.

Re: WScript object not found (???) Unknown issue running a batch file thru Outlook VBA.... ThE macro BELOW opens the correct email with a zipped attachment, copies the zipped file to a directory and runs the GREENSHT.BAT.

unknown issue running a batch file thru Outlook VBA....

It does what it is supposed to do but the strange (unknown) issue is when the BAT file is run using this macro it does not function correctly (winzip opens with a blank file named GREENSHT.ZIP). When I run the batch file (by double clicking it) it works perfectly: Sub UnzipAttachment(Item As Outlook.MailItem) Dim olkAttachment As Outlook.Attachment, _ objShell As Object Set objShell = CreateObject("Wscript.Shell") If Item.Attachments.Count > 0 Then For Each olkAttachment In Item.Attachments If LCase(Right(olkAttachment.FileName, 4)) = ".zip" Then olkAttachment.SaveAsFile "I:\S3DATA~1\MEPSFLR\FLRCDR~1\BDE_RE~1\" & olkAttachment.FileName objShell.Run "I:\S3DATA~1\MEPSFLR\FLRCDR~1\BDE_RE~1\GREENSHT.BAT" '& olkAttachment.FileName & "" End If Next End If Set olkAttachment = Nothing Set objShell = Nothing End Sub ANY help would be greatly appreciated. cliff.

How to run a .bat file with VBScript ? - Software Development. Command line in shortcut - Page 2. Run a macro from a batch-file. Thanks NateO!

Run a macro from a batch-file

I took it to the test; by making a simple script, saved it as a .vbs-file, and then defined the job in windows scheduler. It executed perfectly I have two follow-up questions, if you allow: 1) The script I indend to use is a more complex one, and when put this into a .vbs file, then, it fails to run. The script in question is the following: vb/ CoRegisterMessageFilter 0&, mlPreviousFilter Dim objExcel As Excel.Application Dim objWorkbook As Excel.Workbook Set objExcel = GetObject(, "Excel.Application") Set objExcel = New Excel.Application objExcel.Visible = True objExcel.Workbooks.Open Filename:="J:\Analyse\Rapportdata\Equity Grand Masters\Master Norden\Norden Master Selskap.xls"objExcel.Run "'J:\Analyse\Rapportdata\Equity Grand Masters\Master Norden\Norden Master Selskap.xls'!

/vb Why is it so that this macro fails when executed in a vbs-file, when it performs when executed in Excel? 2) My next question is inter-linked with the previous one. Thanks, Jeiia. Command line - How can I open a message box in a Windows batch file.