Autostart Manycam with specific Images via configfile or parameter - windows

At the moment I try to figure out if it is possible to start ManyCam automaticaly showing a picture i configure via a configuration file or via command line parameters.
I am afraid that this might be not possible so i also search for similary software as manycam, which enables this options. Additionally the software must run on windows.

The ManyCam Support answered: It is not possible right now to start ManyCam with parameters from command line.

The following command, when placed in a batch file, opens manycam when the batch file is clicked.
start "" "C:\Program Files (x86)\ManyCam\Bin\ManyCam.exe"

Related

Use RunAsInvoker .bat use for additional installations within initial wizard

I have been using the .bat file with the typical cmd /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" %1" line of code to bypass the admin password window which has been working well in all cases.
However, in this case I run into a peculiar problem where 1. I open the install wizard using the aforementioned .bat, and 2. the wizard asks me for additional installations, which causes the admin password window to pop up (see below):
Obviously when I click that Install button I get the admin window to pop up again, however contrary to other cases I am unable to bypass that using the .bat file; there is simply nothing to drag and drop into the .bat file.
What I have tried doing is installing the two requirements one by one manualy using the .bat file which I have managed to do, however the wizard still comes up with the same window seemingly not recognising what I have already installed. Any help would be appreciated.
Try downloading 7zip and then drag the installer in the 7Zip logo. Then extract the file where you would usually want to it be installed at. Sometimes it works. I think it works with winRAR but I am not sure.

How to use Jedit as the external editor of 7zip

I am trying to use Jedit as an external editor to 7zip.
7zip opens Jedit as external editor however edits are only saved back if Jedit was not running previously. I probably should pass -noserver or -newview command line arguments to Jedit as an external editor, but when I do that 7zip gives an error: 'Cannot start editor'.
How could I use Jedit as an external editor to 7zip so that edits are saved back?
You cannot give arguments to the programs you configure in 7-Zip.
What you need to do is to create a batch file that you call from 7-Zip that sets the options you want to have and that forwards all other arguments.
What you do NOT want to do is to use the -noserver option without a -settings option if a jEdit instance is already running. Currently jEdit does not behave nice if you start two really separated instances in the same settings directory, as the first that writes a specific settings file after the second instance is started "owns" it and the other just does not save it anymore, so your positions, recent files, changed settings etc. will not be persisted and there is no prominent warning about this.
What you DO want to do is to use the -wait option, that is present for exactly those cases.
So create a file jedit-wait.bat (e. g. in the jEdit installation directory) with content #jedit -wait %* and then configure that batch file as 7-Zip editor. That is also how I have set it up and it works exactly like expected. The only slightly unnice thing is, that you will have a black command line window sitting there as long as you edit the file, but that is not as disturbing as it sounds, at least to me.

Running an .exe from within a .bat

I realize this might be a very basic question but I am slightly new to working with batch.
I am trying to use delprof to delete user profiles off multiple remote computers. I have Delprof.exe saved and can run it from a cmd window to put in different required arguments such as "/p /d:30". I can have my batch file run the application using the start command but it quickly closes the window.
I need to have delprof run from the batch but be interactive so it can prompt me with what profiles it has found and if I want to delete them. Basically Im trying to use this so I dont need to enter the arguments every time. I want it to be one click on the batch file and it will pop up with the profiles found and ask me which ones it should delete.
You are not clear on exactly what you want. But omitting start will probably do what you want. Which is run delprof as if you typed it at command line.
If not see the set /p command.
set /p remote=Enter Computer Name
delprof /c:\\%remote%

VB script to open .exe file and perform 4 activities

I have a tool based on .net. I need a vb script which would open this tool (.exe file) and then select 3 radio buttons, click on a button to browse a xml file stored in same folder and then click on invoke button. Is this possible? I am a complete fresher and just have this idea in mind for an automation. This is required as I have to perform the same steps daily.
I could find this code:
CreateObject("WScript.Shell").Run("""C:\Users\abc\Desktop\folder\Tool.exe""")
Which is doing my task to open the .exe file perfectly. Can someone help/guide me in achieving the further steps?
You might be better off making your tool work via the command line and having it accept arguments.
That way, you could use a .bat file to call your 'tool' passing in the arguments it needs and away you go.
These should get you started on your quest.
Creating a HelloWorld Console Application Using VisualBasic.NET
How to Parse Command Line Parameters?
What is a bat file

How do I open "Find Files" dialog from command-line in Windows XP to search a specific folder?

I'd like to create a hotkey to search for files under a specific folder in Windows XP; I'm using AutoHotkey to create this shortcut.
Problem is that I need to know a command-line statement to run in order to open the standard Windows "Find Files/Folders" dialog. I've googled for a while and haven't found any page indicating how to do this.
I'm assuming that if I know the command-line statement for bringing up this prompt, it will allow me to pass in a parameter for what folder I want to be searching under. I know you can do this by right-clicking on a folder in XP, so I assume there's some way I could do it on the command line...?
Use Locate32
This isn't the exact answer to your question, but you could use Locate32 instead of the Windows search facility. It has a whole suite of command-line options plus has the huge benefit of being an indexed search, which means the results will display instantaneously. It's a tool I can't be without on Windows.
This is the command you would issue to search for all index.php files in D:\home:
locate32.exe -r -p D:\home index.php
where the -r switch makes Locate32 search immediately without user intervention (without it, the interface would launch and the fields would be populated, but you'd have to hit Enter to proceed with the search) and -p D:\home is the path to search.
Using AutoHotKey, it's simple to assign the above command to a keyboard shortcut.
There is also a fully command-line based version of Locate32 in the same package called locate.exe. This uses the same indexes as Locate32, but because it is completely CLI-based, can be used by scripting languages and other tools to take advantage of the blistering search performance it offers.
F3 or Win+F is a hotkey that will launch Find Files. If you then do a search using the criteria you want, you can save the search using the File menu. This creates a .FND file. The FND file can be launched from the command line or from a hot key created with autohotkey.
It is possible to edit the .FND file (binary) and change what it is searching for, but I would avoid doing that unless it's the only way you can accomplish what you want. I tried it and it worked fine.
just execute this line! (WinKey+R, CmdPrompt, Shortcut, ShellExecute, WinExec, etc)
search-ms:query=New%20Folder&
Find all shortcuts in your desktop
search-ms:query=*.lnk&crumb=folder:%userprofile%\Desktop&
Find the text "exe" in the folder "C:\Program Files"
search-ms:query=exe&crumb=location:C:\Program Files&
Other exemples
search-ms:query=microsoft&
search-ms:query=vacation&subquery=mydepartment.search-ms&
search-ms:query=seattle&crumb=kind:pics&
search-ms:query=seattle&crumb=folder:C:\MyFolder&
reference here http://msdn.microsoft.com/en-us/library/ff684385.aspx
from http://www.pcreview.co.uk/forums/thread-1468270.php
#echo off
echo CreateObject("Shell.Application").FindFiles >%temp%\myff.vbs
cscript.exe //Nologo %temp%\myff.vbs
del %temp%\myff.vbs
There is no way from command line to get Explorer to show the Search Files pane. But you can get over it with some VBScript.
Try this
'ExplorerFind.vbs
Dim objShell
Set objShell = WScript.CreateObject("Shell.Application")
objShell.FindFiles
And compile it with cscript /nologo ExplorerFind.vbs
Try "Launchy". For windows and linux. Awesome util.
If you need just a hotkey then use Win+f.
It's a little unclear whether the end-result you want is the open "find" dialog, or if you're just looking for a command-line way to search an arbitrary directory. If the latter there's FINDSTR (assuming you want to search the content of files and not their names):
What are good grep tools for Windows?
Addition to Ben Dunlap's answer: You could also use FINDSTR on the output of the DIR command (for instance in a FOR loop)
This would search for filenames, not in files.
Based on the answer by Vitim.us from cmd all you need is
explorer.exe "search-ms:query=*.exe&crumb=location:C:\Program Files&"
Change the location and query as needed
Why don't you try bashing F3? :)

Resources