Questions tagged [automation]

Making a process run completely or in part without the need of any user input once the process is started.

Filter by
Sorted by
Tagged with
0 votes
0 answers
54 views

how to make two apps open and close together when i open one of them

I want MSI afterburner to start when I open a game and close when I close the game. is there any way to do this automatically? I tried creating a task with the task scheduler but the farthest I got ...
zen's user avatar
  • 11
0 votes
0 answers
638 views

Intel NUC 10 bios image with settings

In earlier Intel NUC versions, it was possible to boot into the UEFI console and run the following command: ITK6.efi -b -x target.bio -ib source.bio -ic -is which would, as an input, receive a bios ...
Oliver Friedmann's user avatar
0 votes
1 answer
376 views

Simulate closed laptop on windows

I have an automation script that needs to use my mouse. This means that my laptop's display is always on. I would like a way to turn off the laptop screen such that the simulated mouse movements will ...
John Hon's user avatar
  • 131
0 votes
1 answer
59 views

Automated forwarding of emails on Outlook (where forwarded email is exactly same as original)

How can I forward an email based on the sender and subject such that it looks exactly the same as the initial email (i.e. it wont include FW: in the subject, or the sender info, etc) in Outlook 2013?
Jojo's user avatar
  • 101
1 vote
1 answer
267 views

for loop through all folders and execute vbs issue

i trying to code a script where it loop through all folders including subfolders however i encounter some errors. It run all *.vbs instead of only Installation.vbs. In my root folder, i have a folder ...
Eugene Ng's user avatar
2 votes
1 answer
334 views

Is it possible to conditionally enable or disable filters/streams with user input?

I have a Bash script that runs FFmpeg on a given video file and - along with lots of other things - adds a PNG watermark to it using an overlay. I'd like to be able to only apply the watermark on some ...
Hashim Aziz's user avatar
  • 12.8k
1 vote
2 answers
754 views

How can I set the default search engine for Firefox without the GUI on Linux?

I want to automate the setup of Firefox on Linux, to harden it and change the default search engine. You can almost edit all configuration options via the user.js file, but not the default search ...
Solid Rhino's user avatar
1 vote
1 answer
398 views

Fade in/out PNG watermark overlay on video

I have an FFmpeg command in a script that crossfades a main video with an outro and then overlays a semi-transparent PNG watermark on top of it. ffmpeg -y -i "$1" -i "outro.mp4" -i ...
Hashim Aziz's user avatar
  • 12.8k
2 votes
1 answer
2k views

Change performance & mouse settings via powershell (Show windows contents while dragging)

I have a Powershell script that lets me workaround most of the annoyances with my VDI/Virtual Machine, which resets every morning - it opens all the apps I need, the directories, tools, etc... but ...
Anthony LoPrimo's user avatar
4 votes
1 answer
2k views

Fake scan - flatten PDF to single image

I have a partner who has paper fetish. He must have stamped & signed paper for everything. Even when this paper will never meet him in real life. So he demands scans of these papers (and original ...
Lluser's user avatar
  • 863
0 votes
0 answers
127 views

How to install outdated packages using chocolatey

#step 1) Installing Chocolatey when needed if (-not (Test-Path -Path "$env:ProgramData\Chocolatey\choco.exe" -PathType Leaf)) { # from https://chocolatey.org/install Set-...
Shravan Meghavath's user avatar
0 votes
0 answers
480 views

Best way to do simple new employee laptop setup for Windows 10/11 without Windows Server or cloning

I ran a few Windows based labs over a decade ago, past few years I've mostly been managing Macs and systems in AWS and GCP. Right now the company is hiring a lot of finance folks who want to work on ...
FaultyJuggler's user avatar
-1 votes
1 answer
358 views

Is there a way to get the file metadata (namley width, height and frame rate) of all the video files in a folder automatically in windows 10?

basically I have 1,000 or so video files in a folder and want to get their Frame Rates Height Width in a text file. Is it possible using wmic or ffmpeg or anything else?
Sam's user avatar
  • 1
0 votes
1 answer
519 views

Automatically Marking Delivery Receipts as Read In Outlook

How does one mark delivery receipts as read automatically, specifically? I have attempted to create a rule marking any email with the word "Delivered:" as read. However it hasn't worked so ...
Astartes's user avatar
0 votes
1 answer
1k views

How to automate a point-and-click procedure in Windows, involving tray icons and menus

I use ProcrastiTracker program to log activity on my Windows machine, and I'd like to export the data this program collects so I could analyze it further. Since there's no easy/built-in method to get ...
Emman's user avatar
  • 101
-1 votes
1 answer
68 views

Why does Spotify automatically open when I boot my PC?

For some reason, when I boot up Microsoft Windows NT 10.0 (Windows 10), Spotify automatically launches automatically, and, when it does, its taskbar icon flashes orange. How do I prevent this from ...
Zachary Rude's user avatar
0 votes
0 answers
25 views

selecting multiple numbers from the menu list to download and installing the software

if (-not (Test-Path -Path "$env:ProgramData\Chocolatey\choco.exe" -PathType Leaf)) { # from https://chocolatey.org/install Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net....
Shravan Meghavath's user avatar
1 vote
1 answer
1k views

AutoHotkey vs SharpKeys for remapping keys

Both AutoHotkey and SharpKeys can do key remapping, what're the differences between them when used for key remapping? Which one is more stable?
Wenfang Du's user avatar
0 votes
1 answer
546 views

Powershell script for software automation using chocolatey

Code for my chocolatey script: $apps=@('googlechrome','firefox','codeblocks','windbg','nasm','explorersuite','pestudio','vscode','sysinternals','python','Google Earth') function Show-Menu { ...
Shravan Meghavath's user avatar
0 votes
1 answer
1k views

Automating commits in a github repository every sunday?

I am using : Google Drive Desktop (as D:/) Github Desktop Windows 10 OS I have : A directory called "myNotes" on my Google Drive ( Which is D:/myNotes on Windows Desktop ). I have a ...
Good Boy's user avatar
1 vote
1 answer
995 views

Do I have to put `SetTitleMatchMode` on top of the script?

Sample script: #NoEnv #Warn #SingleInstance Force #IfWinActive Foo ahk_exe foo.exe !A::Send Foo SetTitleMatchMode Regex #IfWinActive Bar$ ahk_exe bar.exe !A::Send Bar When running it, it ...
Wenfang Du's user avatar
0 votes
1 answer
595 views

How to resolve a hotkey conflict?

I bound Alt+Space to an action, for example: !Space::Send, Foo Now how to trigger the original Alt+Space's action (as shown in the image below) through code?
Wenfang Du's user avatar
0 votes
1 answer
926 views

How to write an AHK script that uses a shortcut to close PowerShell?

I've known that Alt+Space C could close PowerShell, but Alt+Space is already in use for me, I want to bind Alt+F4 to Alt+Space C, how to achieve that in AHK?
Wenfang Du's user avatar
0 votes
1 answer
141 views

How to bind an action if no dialog is open?

In VLC media player, I want to bind k to Space (Pause/Play) if no dialog (e.g. the preferences dialog) is open, how to achieve that?
Wenfang Du's user avatar
2 votes
1 answer
9k views

Can't convert with FFMPEG using NVENC "10 bit encode not supported"

I'm setting up Sickbeard MP4 Automator (calling it Automator now) to process video files after I receive them. Currently what I want it to do is to turn every file into x264 with NVENC acceleration, ...
Beefmaster5000BCE's user avatar
1 vote
1 answer
261 views

Automatically move a specified file to another location

I am currently using the following bat code to move my files from one folder to another @echo off set X=0 set "source=C:\<Source Folder Path>" set "destination=D:\<Destination ...
Jackey Tran's user avatar
1 vote
0 answers
153 views

How can I automatically dismiss Alarms & Clock alarms after a specified amount of time?

First of all, I would like to say that I am new to this site. I have an account on Stack Overflow, so I understand the rules, but if my question is missing something important or anything else is ...
Lakshya Raj's user avatar
0 votes
0 answers
123 views

How to operate Packages and Inno Setup by script?

I am new in scripting. And I would like to automate my deploying process. And now I am trying to write script which will compile and build installator file by OSX Packages (and for Windows Inno Setup)....
pajczur's user avatar
  • 101
2 votes
1 answer
203 views

Auto remove an html attribute from a site I don't own

I am using a site that hosts it's videos via iframe on vimeo. For some reason they disabled Picture in picture mode which I really need. I can reenable this feature by removing an html attribute via ...
medic17's user avatar
  • 267
0 votes
1 answer
224 views

Bind environment variable value to application

I have several versions of an application (Wolfram Mathematica) installed. By default, all versions share the same settings directory, which leads to several conflicts and broken things. The only way ...
Lukas Lang's user avatar
0 votes
1 answer
258 views

How to autoforward emails using an email client when forwarding is prevented in Outlook Web or Gmail?

Question What is the most straightforward way to automatically forward emails from Outlook or Gmail to another web service when auto forwarding has been disabled in those respective email services? ...
ZenBalance's user avatar
  • 2,029
2 votes
4 answers
190 views

How to rewrite a wall of if-elif statements

For cigs.sh - the complete script can be found here - I wrote the following ugly (but perfectly working) logic to print and format the script's output, partly just to figure out all the edge cases but ...
Hashim Aziz's user avatar
  • 12.8k
0 votes
3 answers
561 views

How to display weeks, days and hours in script

This is a follow-up question to a previous question regarding a bash script I wrote to help me more accurately keep track of my vices. I'm now trying to modify the script to display all non-zero units:...
Hashim Aziz's user avatar
  • 12.8k
4 votes
1 answer
5k views

How to make getopts parameter optional

I wrote the following bash script as a budgeting tool to more accurately calculate (and moderate) when I last bought a pack of cigarettes. In addition to -h for printing the output, it takes one other ...
Hashim Aziz's user avatar
  • 12.8k
2 votes
1 answer
4k views

Installing Chrome Extension via CLI

I automated most of my Linux setup with Ansible, however, there is one big issue I do face whenever applying it onto new machines. Chrome is being installed automatically, but it does not come with ...
F1ko's user avatar
  • 123
1 vote
2 answers
2k views

How to detect that a Windows application is running (no GUI)

Would like to have a suggestion on how to detect (preferably in such a way a batch file could use the result) whether a certain application is running so that some action could be taken. (Of course, ...
pstrg's user avatar
  • 23
0 votes
1 answer
229 views

How to specify size of color filter dynamically

I've been using the following crossfade from Gyan as part of my workflow for a while, as I've found it to look superior to other crossfade solutions and easy to adapt for different inputs. However, I'...
Hashim Aziz's user avatar
  • 12.8k
0 votes
1 answer
708 views

How do I sync Outlook Calendar with Automatic Replies?

As the title says, I want to calendar book times away from my desk (out of office) in Outlook 365, and have them sync with my Automatic Replies, so external and internal people get those Automatic ...
Fandango68's user avatar
0 votes
0 answers
225 views

Netmiko - handling confirmation from Cisco

I just start using netmiko and have a problem with one script. The script should delete a user and create another one in Cisco device. The problem that I have is with confirmation in configuration ...
GGospodinov's user avatar
0 votes
1 answer
699 views

Microsoft Office 2019 Installation - Any way to scan product keys from COA stickers?

I have approximately 450 ASUS Chromebooks running Windows 10 that need to have Microsoft Office 2019 installed. I have individual product key stickers for each computer to register Microsoft Office ...
Richie086's user avatar
  • 5,201
1 vote
1 answer
679 views

Is it possible to run a script whenever you enter a directory on Windows?

I have a Python virtual environment created in a subfolder of a project. Whenever I need to work with this project, I have to manually activate this virtual environment. c:\my_projects\project1>...
Just a learner's user avatar
0 votes
1 answer
197 views

Schedule zsh scripts so it will remind me something need to be updated?

I'm using MacOSX, and the Terminal.app is now all using zsh as default shell. I use Homebrew to manage all kinds of packages/application installation, while every day I will have to open the terminal ...
Niing's user avatar
  • 168
0 votes
1 answer
49 views

Putting PC to sleep after power failure

My question is this, how can I make my pc (windows 10) go to sleep mode after it comes back from a power failure if I don't log on in let's say 3 min. In my head it's simple but I don't know how to do ...
Paulo Pocas's user avatar
0 votes
1 answer
2k views

Force a quiet msi install despite requiring human input. using a batch file

I have a whole set of programs that I have created a batch file to install. The problem is that seven of them are msi installers and they all require human input. However, all of the input that is ...
Andrew Burns's user avatar
0 votes
1 answer
91 views

What are my options for automating Firefox? [closed]

My goal is to hit different shortcuts on my keyboard which then open new Firefox windows and open a list of URLs in tabs inside those windows. What are all the options I have for doing this, ...
user817795's user avatar
0 votes
1 answer
800 views

How to kill a focused window in Xdotool, but keep some windows out?

I have a shortcut ctrl+alt+x to kill a focused window with xdotool getwindowfocus windowkill I am on GNOME, X11 with lightdm, and when all windows have been killed and I press the shortcut gnome-...
Ari157's user avatar
  • 101
1 vote
0 answers
2k views

How to get MS Edge to automatically sign into a web site?

I have multiple security cameras set up that record to an NVR appliance, which has a web server built into it for viewing camera footage. I'm trying to set up a wall-mounted TV so that people can ...
Wes Sayeed's user avatar
  • 13.9k
0 votes
1 answer
101 views

How to make the browser automatically activate the typing field?

I use online search engines a lot, and I find myself spending much time and effort using the mouse or the pad to select the typing field in the webpage. I wish there could be a way to make the browser ...
EasternRiver's user avatar
1 vote
0 answers
105 views

How to automatically sync files in WinSCP? [duplicate]

Is there a way to do that in WinSCP? The official article about that only discusses scripting, while I want a simple GUI solution.
Ooker's user avatar
  • 2,051
3 votes
2 answers
5k views

How can I automate sending commands from Windows to Linux (WSL/Ubuntu)?

I would like to automate compiling my program for Linux through WSL running Ubuntu 20 so that I can set up an IDE task windows-side that will do the compilation for me on Linux. I thought of making a ...
NS studios's user avatar

1 2 3
4
5
28