Category "scripting"

Trap and exit big shell script with background processes

I have 2 shell scripts that contain ffmpeg commands (command1.sh and command2.sh). command2.sh has like 500 ffmpeg commands that trigger one after another with

different PDB files add hydrogen same time using reduce program in shell script with modified file name (1axk.pdb <---->1ackH.pdb)

I tried to run this code but its repeated the same file and ignored the other files and I want to stored all the directory files into a variable so that, read t

How can I combine AWS EC2 describe-instances with describe-image?

I have 2 API calls, the second uses AMI-ID from the first aws ec2 describe-instances \ --query "Reservations[*].{ \ OWNERID:OwnerId, \ IP:In

Excel Script and Flow problem - Script not found. It may have been unshared or deleted. clientRequestId: ebf53c05-7f24-4537-a91d-9edb8903eb8c

I have a PowerApp that takes a SharePoint list, filters the data, puts it in a collection, and calls a flow/PowerAutomate that formats the data and puts it in a

Indesign extended Script unable to create a file in Mac OS 10.16

I have a jsx script which i use for indesign scripting. The function below is used to write to a file. It works perfectly in windows. In mac it is not able to c

Adobe InDesign script to affect only selected Table/Text Frame

I am new to scripting and copied this one below and it works great but not all tables are the same in the document and I just want to affect the selected tables

Trying to output a custom powershell object where I can align each line of two different variables containing Category:Description

I'm trying to do an network access control audit by grabbing a user's AD groups, their descriptions and then output them in a way shown by this example: [User]

tmux resizep not working as expected if run in shell command

I'm triyng to setup a tmux session from a bash script, without using any session manager like tmuxinator/tmuxp/... If I run this code #!/bin/sh tmux \ new

Login Powershell Script filter to only run script if computer is in a specific OU

Using Powershell need helping with filtering If the current computer is within any of the sub OU under OU=Workstations,DC=blah,DC=com then script should continu

Am I using grep properly?

I am new here and need help with a problem I can't seem to solve. I am working on my class project and analyzing a log file, so far I have been successful up to

SAP Gui Scripting | .NET | Start transaction with parameters

I have the following script, which allows me to to control the SAP Gui with .NET (C#) SapROTWr.CSapROTWrapper sapROT = new SapROTWr.CSapROTWrapper(); object obj

File Path Details | Using command prompt or any script

Can anybody help me with some command prompt details/ script detail/python programming on how to get file details? Scenario: Folder contains many subfolders --

How to convert ffmpeg complex_filter to ffmpeg-python

I am trying to learn to convert ffmpeg command line background blur filter to ffmpeg-python format. '-lavfi' and [0:v]scale=ih*16/9:-1,boxblur=luma_radius=min(h

Scroll the full js webpage using lua script to get the full source code

I want to scroll and get the full webpage source code using lua script. as example (http://note.com/ ) I want to scroll this full website to get the full source

FFMPEG - can you have comments in script files?

Because of batch's poor ability to handle multi-line strings, I'm using FFMPEG script files more and more for filter_complex arguments. I'm wondering if there

Apply a file to multiple folders using better PowerShell script

I'm working on a project where I have to apply a file to multiple folders every so often. I'm trying to learn some PowerShell commands to make this a little ea

mIRC/mSL pulling certian strings out of a wildcard

So I'm pretty new to mSl scripting, but I've done some other scripting before. I'm trying to figure out how to do some pattern matching, but I'm having a proble

Create a first-time logon script for new users

I am creating generalized images of a Windows 10 machine for my company and some of the software we use requires setting up for each user account. I have a scri

Removing Members in Groups in Azure AD Powershell Automatically (App API Permission)

I'm trying to remove members of groups automatically via a PowerShell Script. There's an Azure AD app created, with User.ReadWrite.All (Application) and as User

Reading Server list as input from notepad or excel - Python

I'm new to python. Recently I created a Health Check script in python which is useful for fetching details for the base machine. But I want to use it for fetchi