Category "scripting"

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

Is it possible to create a macro / script in iTerm2 that insert text automatically selected from a list?

I use iTerm2 as my default terminal app in OSX. A would like to ask if is possible to insert text automatically with a hotkey (or selecting it from a menu), wit

ignoring specific exit code in bash

Note: Question does not duplicate Ignoring specific errors in a shell script . Suppose it is needed to capture the leading characters of a encoded representati

How can I loop with all the nc -zv connections?

I am trying to write a script to monitor all the server ports. But I am able write to for only one connection at a time. How can I write it for all the connecti

Windows batch - concatenate multiple text files into one

I need to create a script, which concatenates multiple text files into one. I know it's simple to use type *.txt > merged.txt But the requirement is to "con

Python: Import And Initialize Argparse After if __name__ == '__main__'?

If I am using argparse and an if __name__ == '__main__' test in a script that I would also like to use as a module, should I import argparse under that test and

saving output of nettop to file ( mac ) [closed]

I'm trying to save the output of nettop from my terminal to a text file ( maybe .csv ) what I want to do is be able to isolate the different v

Is there a new/updated Twill?

I've been trying to learn Twill Scripting on Python and I am using Python 3.4 and Twill 1.8.0. Been reading some posts here and I found it interesting to study.

What is the difference between p and P in sed?

Can anyone explain what is the difference between p and P in Sed? Suppose I want to print lines containing gmail in the below file using both p and P give the

Windows Batch File - Net Use encounter "System Error 64"

Been encountering this error "System error 64 - the specified network name is no longer available" in one of my windows batch script while trying to NET USE \se