An automated series of instructions carried out in a specific order, such as a Windows script created to launch a specific program on startup.

learn more… | top users | synonyms (1)

2
votes
2answers
133 views

Is there a tool like `script` (Linux/Solaris/etc) for Windows?

Perhaps the worst-named tool in the *nix world, script is extremely handy when you want to capture all the output of a terminal session. Is there a tool like it for Windows? Specifically, without ...
0
votes
1answer
52 views

MAC Rename files and move them automatically scripting

I want a shell script that runs on a Mac, that when ran, looks for a few things and transfers video files to a specific location on another drive. So when I put in an SD card, I want the script to ...
0
votes
1answer
13 views

Windows firewall - block all incoming connections enable/disable - CREATE SCRIPT

Is it possible to create script which enable/disable the first checkbox of windows 7 firewall settings (Block all incoming connections....)?
0
votes
1answer
11 views

Backing up recursively is not copying directories

I have the following line in a script to backup and it is not recursively copying all the directories, it gets the files but just lumps them all together. Can anyone tell me what is wrong with it? ...
1
vote
1answer
7 views

Is there a DBus command for adding a program start button to a KDE plasma panel?

There was a nice command in KDE3 that allowed my to add a program start button to a kicker panel programmatically: dcop kicker $PANEL addNonKDEAppButton "$PROGRAM_NAME" "$PROGRAM_DESCRIPTION" ...
-2
votes
0answers
12 views

Multiple Directory Creation based on domain username and set file sharing script request

I need a script that will do the following. Create multiple directories labeled by domain usernames (I'm thinking pulling the usernames from AD and add the username to each command.). In a shared ...
86
votes
15answers
41k views

How to execute a command whenever a file changes?

I want a quick and simple way to execute a command whenever a file changes. I want something very simple, something I will leave running on a terminal and close it whenever I'm finished working with ...
-1
votes
2answers
36 views

Run a Script before shutdown or reboot windows 7

I need a registry entry to a run once script at shutdown or reboot. I needs cleanup sensitive data after an installation. So even if the installation failed or got interrupted, i may not leave data ...
4
votes
1answer
1k views

noscript, how to allow script on one domain only?

Some forums allow direct embedding of YouTube videos, and it's slowing down my browsing a lot when a user posts several videos in a single post. I want to allow YouTube's script only on youtube.com, ...
1
vote
1answer
30 views

linux: monitor logfile for a string and execute script

I want to monitor a logfile (syslog) on my linux debian box. So if there is a new entry with a secific string, i want to execute a script. The strings are "alarm start" and "alarm end" So it should ...
0
votes
1answer
21 views

Script not working when run automatically

This script (parts of it) runs perfectly when invoked manually from the Terminal: #!/bin/bash [[ "`ps -e | grep -c $(basename $0)`" -gt "2" ]] && echo -e "`basename $0`: Mutiple instances ...
0
votes
0answers
24 views

Bash Script Display Remote Screen Session to User

I'm kind of new to bash scripting and I'm having trouble figuring out how to accomplish this. I'm working on a script that is designed to backup and manage a java application that runs within a ...
0
votes
1answer
2k views

How to make PuTTY's font automatically change color (while connected to a Linux server) as I did with Windows cmd.exe using a background batch script?

I was able to create a Windows Command Prompt that automatically changes its text color on a white background every ~1.5 seconds, thanks to the help of @dbenham and @Woody. I also use PuTTY every day, ...
0
votes
1answer
220 views

windows script to copy text from one file into a new file

I am noob at coding! I am trying to create a windows script that I can copy text from one file into another. My main goal is to find lines in the text with "started processing" and "file". I am hoping ...
0
votes
0answers
23 views

Automating my PC setup builds

The company that I work for orders bog standard computers from Dell. We then set these up with user and machine settings and then install our software on it to sell to out customers. I've set up ...
1
vote
2answers
26 views

A button to copy your email address to clipboard in Mac OS

My e-mail address is long and every time i get asked to insert it somewhere, i spend time writing it and reading it twice before i submit it and still sometimes i send the wrong e-mail address. It ...
0
votes
0answers
23 views

Automating SMTP Configuration

The following is an excerpt from a series of instructions I am following as a list of company procedures they would like me to automate. Is the following achievable through command line/batch, and if ...
-4
votes
1answer
49 views

Can someone help to make this script [closed]

Can please someone help me to make script for multi screen command at startup here is what it is cd /home/bhop1/serverfiles screen ./srcds_run -console -game cstrike -tickrate 100 -pingboost 2 +map ...
0
votes
0answers
32 views

How to automate software registration via batch or script

We use a program called vspace created by ncomputing. This allows for example 4 stations on a single host machine. So, each time this is installed we have to fill out the registration form which pops ...
0
votes
0answers
8 views

Batch file to add specific string in a XML file and zip it to TAR afterwards

To start, I'm not a real hardcore programmer so bear with me. I searched the web for help and I got already some steps further to completion. What I'm missing, how to add a specific line after ...
-1
votes
2answers
36 views

windows 7 turn off sounds via cmd line or powershell

Im looking for a way to write a script hat will turn off sounds. The sounds i would like to turn off are the start navigation sound and the play windows start up sound. is there any script that can ...
2
votes
2answers
2k views

Unable to remove network printers via script in Windows 7

I've tried removing several network printers via rundll32 printui.dll, PrintUIEntry /dn /dd /q /n \\SERVER\PRINTER also tried the /dl but nada and WSHNetwork.RemovePrinterConnection ...
0
votes
1answer
2k views

Local group policy logon startup script not executing

This is for Windows 7 I have a .bat and .vbs file in a folder. The .bat runs the .vbs script. In the Local Policy Group editor, under Windows Settings/Scripts I added a reference to the .bat file in ...
0
votes
1answer
12 views

rsync --backup-dir not getting changed data - instead it is going to the original backup location

I'm not sure why this is not working as expected. I have a full rsync backup of /scripts/source in /scripts/full and want to put differential backup into /scripts/diff However, when a file is added ...
1
vote
1answer
72 views

Using Greasemonkey Scripts without Greasemonkey

I'm running Firefox in Linux x86_64. I'm wondering if it is possible to use the Greasemonkey scripts without using Greasemonkey. If the source of the scripts are available, is it possible to use them ...
0
votes
2answers
45 views

List of MAC addresses for 10 machines

I need to list of MAC addresses for a 10 computers having Windows 7 installed on them. These are named in a series like training1 - training10. There IP addresses are on DHCP mode and update every ...
0
votes
2answers
13 views

add text (and possibly images) to illustrator via script

I'm hoping to create (or better yet, find) a script which can populate an illustrator file or the like with text from another file. The goal is to produce a printable sheet of prototype ...
0
votes
1answer
57 views

ControlC doesn't stop .cmd script in Windows7 CMD window

I work with several Windows7-64 systems. In all but one, typing ^C into a CMD window running a .cmd file, invariably (and expectedly) stops the program. More importantly, if the .cmd script launched ...
0
votes
1answer
21 views

Trace web redirection in bash script

I want to make a script to download the image at best resolution (not the preview image) from a deviantART link, as if I clicked the "Download" button. However, it seems that deviantART redirect the ...
0
votes
2answers
58 views

How can I get a script to run constantly on Mac OS X?

I would like to do this: When the application VLC is open and I press the space bar, it pauses the video and an itunes starts to play. Then spacebar again would resume the workout video and pause my ...
-1
votes
1answer
35 views

Is there a script to change ip address to bypass filtering?

Is there a script to change ip address to bypass internet filtering? as I know programs like freegate change the ip address to bypass internet firewalls.I want to write a script to do it by myself. ...
1
vote
1answer
24 views

Is it possible to autocrop black borders of a video with ffmpeg?

I think it has a "blackness" video filter, which can determine if a picture sequence is black. Maybe it also has a filter to determine crop values automatically to remove black borders form edges of a ...
1
vote
3answers
2k views

How to auto commit to my git repository using cron?

I look into a lot of answers about this subject, but something is wrong here, let me explain. I create this script, to make my cron cleaner :) #!/bin/bash cd ...
2
votes
1answer
3k views

Outlook 2010 - using a VBA script in a rule

I was following the directions in a great post when I got to the step for selecting the name of the script to run. I have VB code in ThisOutlookSession, but for some reason, the name of the procedure ...
0
votes
0answers
17 views

I need a dynamic script for changing Host IPs depending on computer name that I can shoot over the network

Does anyone know how to make a Batch/Script, that I can modify, for looking up the host computer name and build the IP and gateway off of it. we have a simple setup of computer name refers to ...
0
votes
0answers
20 views

imagemagick draw text word wrapping

I have this script, which writes text to images. echo \\n"List? {y/n}" read cont if [ "$cont" = "y" ] || [ "$cont" = "Y" ] then rm -rf sponsors.txt ls *.jpg *.png *.gif -1 > sponsors2.txt ...
0
votes
0answers
9 views

Script automatic user creation on a multipoint Server

Is it possible using a script to create users automatically? Example: An Excel file with a column (Name) and column (Name) The script uses this data to create a login and generates a random password ...
0
votes
0answers
10 views

Ways, means, options & approaches to auto click “more..” links/ buttons on opened webpages/ urls?

Different ways and means to auto click ..more.. links/ buttons on opened webpages/ urls? When I go to events like this on Meetup or Even brite I like to review who are the people attending and try ...
2
votes
1answer
53 views

Variable in WinSCP script

I'm asked to automate some SFTP download processes via WinSCP. I'm not familiar with WinSCP scripting. ftprun.cmd: C:\Program Files\WinSCP\winscp.com" /script=D:\testsftp\ftpscript.txt ...
0
votes
1answer
26 views

Batch file to open 4 or 6 internet explorer screens and place them by dividing the desktop equally

I intend to write a script that can open 4-6 IE screens that can be automatically be placed on the desktop. So essentially all of them will get equal space on the desktop. I am aware of the command ...
2
votes
1answer
2k views

How to add a network (IP) printer using command line or a script?

My company will be deploying a bunch of laptops that will be used during a seminar for people to sign up for services on our website. At the end of the signup process they will need to print out a ...
1
vote
1answer
4k views

Batch file script for Enable & disable the “use automatic Configuration Script”

My intention is to create a .bat file that toggles the check box of "use automatic Configuration Script" in Internet Settings. The following is my script @echo OFF setlocal ENABLEEXTENSIONS set ...
2
votes
2answers
53 views

Start program, wait until it outputs certain string, then continue

I want my batch script to run a batch script, which doesn't terminate, then run several more batch scripts, which do terminate, and then close the first batch script. The issue is, the first batch ...
0
votes
1answer
51 views

Run a script only at shutdown (not log off or restart) on Mac OS X

Is there any way to run a script only at shutdown? I mean, only when the computer is really shutting down to off state. This script should not run when doing just a log off or restart.
0
votes
0answers
26 views

Batch script to mass rename by modify date

I'm trying to make a batch script to mass rename files by modify date and time of each file. I'm new at this and searching since this morning and nothing lead me in the good way. SHould I use xcopy, ...
0
votes
1answer
17 views

Renaming files in a folder (and subfolders) by removing a token in filename

I have a huge amount of files in a folder (and subfolders) that I need to rename. For example, I have: movie1.mp4 fixed_movie1.mp4 ... What I need is to rename fixed_movie1.mp4 to movie1.mp4 ...
2
votes
3answers
4k views

WinSCP putting multiple files on SFTP site

With WinSCP 5.2 I wanted to put multiple files with a file extension .pgp on an SFTP site. When I tested my original command line (see below) and it only placed the first *.pgp alphabetical file ...
2
votes
2answers
35 views

Looking for a way execute a task on all files in a directory (recursively) on Windows

I have a huge number of mp4 video files that needs to have a volume boost. I need a way to execute a ffmpeg audio filter on all files in a specified base directory (and in subdirectories as well). My ...
0
votes
0answers
13 views

Make a script identify DBUS session address and use it

I'm using cron with notify-send to display some notifications, but it requires DBUS session to run Here is the script: export DBUS_SESSION_BUS_ADDRESS=[session] #!/bin/sh { DISPLAY=:0 ...
0
votes
1answer
8 views

Notepad++: Insert comment-sections of same length via Macro/Shortcut?

I'm often using comments (using =====) to divide sections within my files in the same way which look always the same, e.g.: #===========================================# #============== IMPORT STUFF ...