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)

0
votes
2answers
58 views

BASH string manipulation, syntax errors

I have search though many sites, I cant seem to find my problem, down vote if you must but it wont help me at all ./script: line 1: #!/bin/bash: No such file or directory enter ip >>> : ...
1
vote
1answer
349 views

Mail-inbox shows a mail sent from its own mail-address without having sent it

I just signed up for a seminar on a website I usually can trust. I filled out some information for this, also containing my iCloud-mailadress. I did that on a MBP running OS 10.11 in Safari. After ...
0
votes
0answers
18 views

Projector turn on script

I've been tasked with creating a script which would be able to turn our networked projectors on and off (which can already be turned on and off through the web interface.) The projector model is ...
4
votes
1answer
225 views

Check if there are any empty files in a folder

I have a script that downloads 17 files from a FTP server every time, but sometimes some files weigh "0" for some reasons. So I'm searching for a bash script that checks if there are any files whose ...
0
votes
0answers
39 views

Script (or conf file modification) for putty on windows 7

How can i add a script to putty for windows? I found many links describing the procedure but all them are for Linux. I would like to change the color of the router/device names during ssh. Regards.
0
votes
0answers
33 views

I want to run a script that will disable my touchpad

I want run a script that will disable my touchpad and it will run every minute. 1. My script is: if [ `lsusb | wc -w` == '76' ] then `/usr/bin/xinput set-prop 16 "Device Enabled" 0` else ...
0
votes
1answer
36 views

Add shortcut to SmcFanControl?

SmcFanControl is an application on OS X that lets you create profiles for the fan and increase/decrease their speed as you wish. The problem, there's no shortcut on the app, to change the profile you ...
-3
votes
1answer
37 views

I don't know how to stop a script

I copied and ran this scrip to stop my PC from going into the lock screen. Now I don't know how to stop it and having the "NumLOCK" reset every 6 seconds while working on excel is challenging: Dim ...
-1
votes
1answer
50 views

How to send line by line data using autohotkey?

I am trying to send data line by line using this script f1:: send {65465 546454 54654654 54564654 54654 54654 87987 9825659 8985 5598 87446 78569 12586 114855 58511 } return but it is not working. I ...
1
vote
3answers
84 views

Moving files/folders to new structure

I'd like to be able to move Folders (and any subfolders and files) from one location to another; however, I only want one specific sub folder moved from each folder in the starting location. Here's ...
2
votes
1answer
388 views

Find and replace hyperlinks in a PDF

I want to automate the process of finding and replacing hrefs (not the anchor text) in 100's of PDF files in a Windows 8.1 OS. I am happy to convert file formats so long as they can be re-compiled ...
4
votes
3answers
204 views

Delete all files in folder except those with certain prefix

I have a folder being filled with auto generated files by an application. There are csv and png extensions being created and stored in there. We need to delete all files in the folder except certain ...
1
vote
0answers
39 views

How to know what application is injecting a script on html

I'm trying to figure out what application is injecting a javascript called http://queryjs.me/services/script.js into my pages on localhost and on my server. It only injects this script when the ...
0
votes
0answers
15 views

Any number of arguments when looping through array of strings?

I'm currently working on making a basic linux script such that it takes any number of arguments and calls a separate script to print the third character of each argument on separate lines. I made ...
0
votes
0answers
48 views

BASH: feeding user input into a c-program that also takes command line input (trying to use here-document)

I am writing a script that calls a c-program that I have written. The c-program takes a file path as a command line argument and then prompts the user for input. I want to use a here-document to ...
1
vote
1answer
70 views

BASH - Script isn't executing

I have a bash script, which checks a .txt file once a minute, and calls another script, if necessary. I am using cron for this, and this is in root's crontab; * * * * * ...
-1
votes
1answer
70 views

How to deleting user data in Windows 7 on shutdown or start up

I want to make it so a user account is fresh every time someone logs on but I want to keep the desktop background,start menu,and the tool bar. How would I do this? I tried deleting the user profile ...
0
votes
1answer
413 views

Cannot control click a button in Autoit scripting

I have been trying to automate a button click using an auto IT script in an application. The window title of the application is EDI867 Tracer and the button I am trying to click is Browse. The ...
0
votes
1answer
53 views

Is Homebrew's 'install' warning an error?

When using the brew install foo command with foo already installed returns Warning: foo-3.5.2 already installed Is this technically an error, like stderr, or is this message simply stdout? It is ...
0
votes
1answer
42 views

How to send “@” using AutoKey on Ubuntu 14.04?

I just installed AutoKey on Ubuntu 14.04. When writing AutoKey scripts, I've found that: keyboard.send_key("@") Sends "2". How do a produce an "@" character in an AutoKey script?
-1
votes
1answer
214 views

Open Multiple Instances of taskmanager

Is there a way to open multiple taskmanagers in Windows 10? I trie this: http://www.codeproject.com/Articles/61970/Running-multiple-instances-of-Task-Manager but it doesn't work. So I tried to write a ...
1
vote
1answer
57 views

force log off after UAC has been disabled

I'm having to install Windows updates on multiple stand alone systems. I have my update_script.bat script to run, but as it loops through installing each update I am prompted by UAC controls for my ...
-1
votes
1answer
132 views

How to rename multiple files in same folder with same filename using batch scrpt?

i need small help, how to rename multiple files without touching their extension (in this case it winrar extension .r*) with batch script? When i try to rename it with rename command batch script ...
1
vote
1answer
19 views

How can I find entries in a group of scripts that contain text from a list?

I have a list of search terms in termlist.txt, and a directory /dir/scripts which has a lot of scripts inside. How would I easily determine if any file in /dir/scripts contains any term in the list ...
1
vote
1answer
81 views

Generate images from large list of words

This is a bit of an odd question, but basically I'm trying to create a set of Pictionary cards for a game. To do this, I have a list of 1500 nouns separated by newlines and I need each of them to be ...
0
votes
1answer
30 views

How to determine the number of processes considered by the short-term scheduler for process allocation

My assignment is to write a script displaying the number of processes considered by the short-term scheduler for process allocation (processes currently ready to run) at any given time. Now, writing ...
0
votes
2answers
113 views

What language and how to test script that will run in android terminal app

I want to write a script that can run in a terminal app on an android device. I have basic questions about getting started. Background: I have a Windows batch file that (basically) pulls folders ...
0
votes
0answers
8 views

Script Windows paste content

I would like to modify what the default copy and paste does on Windows 7. For example, if I copy 123 45 678, I want it to be pasted as 12345677 in one string with whitespace stripped. Is there any way ...
2
votes
3answers
277 views

Alias/script to log the command history before exiting terminal?

I'm new to bash and scripting. I was thinking of writing an alias or a script so that every time I exit the command line, it will record my command history. Because I try a lot of new commands, and I ...
2
votes
1answer
71 views

AHK script is unstable while running

I am working in a External HDD manufacturing company. I have requirement to upgrade the FW for thousands of HDDs. I have to upload two files in sequence to get the upload completed. To do manual ...
0
votes
0answers
10 views

Linux (Arch) script for configuring multiple file-sharing options

Having an Arch ARM server in the house, which serves multiple purposes (routing, firewall, DHCP, squid etc.), I started looking for some kind of tool (script, web interface, whatever) that would allow ...
0
votes
1answer
28 views

Cannot send the input correctly in AHK

I try to send the input of a file name in the AHK script but I cannot get the right input. The AHK is not sending the whole text that I want it to send. Here is my code. SendInput, 867_CCM.xls But ...
0
votes
0answers
12 views

Can I create a user in windows 2012 to only run scripts?

I would like to create a user that is used to only run scripts. Scripts include python programs and powershell programs. Is it possible to only allow these scripts to be accessed by this user. Are ...
2
votes
1answer
207 views

AutoHotKey – ellegant way of waiting until a system dialog box becomes able to accept keystrokes?

Standard system Print dialog or Save dialog is swallowing keys sent immediately after opening. Is there a way how to send keys successfully as soon as possible? Details: Let's have some simple use ...
0
votes
1answer
58 views

Using errorlevel in batch file to add network printer

I'm trying to write a script so people can add a network printer by just typing in it's name. REM Adding network printer @echo off :addprinter set /p printer="Please enter the name of the printer ...
0
votes
1answer
423 views

How can I over-ride Windows10 default DNS Servers to use OpenVPN assigned DNS servers

A problem has arisen with Windows 10 in that it always uses it's local DNS servers (as well as VPN assigned DNS servers) for DNS resolving, which in turn leads to a DNS leakage scenario. Details ...
0
votes
0answers
172 views

wget or cURL for dynamic recursive URLs (generated through directories and adding specific same text at the end)

I'm using a wget command with some options in order to refresh the cache module from all URLs of a Prestashop. This is the command: wget -r -D www.domain.com -l3 -P temp -x -R "*cart*","*order*","*My ...
0
votes
2answers
59 views

To run an AHK script after detecting USB External EHDD

I'm trying to make a script in AHK(Auto Hot Key) to detect if there is any External HDD is connected and then run the next command in the script. Suppose below is the script. A B C D E I want A to ...
0
votes
0answers
16 views

script to process calendar dates on a webpage

I'm just wondering if anyone knows of a publicly available script which would do the following: 1) identify ("parse out") calendar dates on a webpage (or simply in any text document, whether html or ...
1
vote
0answers
92 views

Automator app won't open after being copied to another computer - OSX

I created an app in Automator. The app runs fine on the computer with which I created it, but when I copy it to another computer I get: The application “AppX” can’t be opened. If I open it in ...
1
vote
1answer
30 views

Windows Batch Call Command not passing variable value?

I'm getting strange output when running my script: @echo off setlocal pushd "%~dp0" set Mode=batch if "%Mode%"=="batch" call :BATCH echo %Loc% pause>nul exit :BATCH set "psCommand="(new-object ...
0
votes
0answers
63 views

Package conflict when installing Zend Server on RHEL using install script

I am trying to install Zend Server on a RHEL machine using install script stated on this steps http://files.zend.com/help/Zend-Server-8/zend-server.htm#rpm_installing_zend_server.htm When I run ...
1
vote
2answers
67 views

Is it possible to start a command on many nodes at the same time?

Is it possible to start a command on 10 nodes at the same time? Here is a portion of my script: #! /bin/sh nb_lignes=`wc -l $1 | cut -d " " -f1` echo "$nb_lignes machines" for i in $(seq ...
2
votes
1answer
48 views

I want to execute a file every time a file changes

I have a python script that automatically ends after X amount of runs, at the start of the program it sets the value of restart.txt to 0 using this code. restart = open("restart.txt", "w") ...
1
vote
1answer
122 views

Batch script to ping an ip range?

I'm trying to write a batch script (psexec is also an option) to scan a range of IPs 192.168.1.1-255 and as output, would like a csv file, something like this: column A column B ...
0
votes
1answer
43 views

How to do a variable time scale?

I have a video where I would like to change the time scale of a video based on ratios read in from a file. I have figured out that to double the speed for an entire video I could use the setpts ...
1
vote
1answer
38 views

Order of execution of instructions in a script shell

Here is a portion of my script test.sh: #!/bin/bash tar -cf $name.tar $name && pbzip2 $name.tar echo "[$1: Waiting..] Please, i have a question. The execution of the second instruction ...
0
votes
0answers
40 views

OpenVPN restart script not working

The following script was posted on the openwrt forum https://forum.openwrt.org/viewtopic.php?id=31853 as a way of restarting OpenVPN. The problem we're having is the ping is not going through when ...
0
votes
0answers
91 views

How do I capture multiple and specific processes performance user logman/perfmon?

Currently I have created a logman counter to monitor an entire system using the following command: logman create counter genericLogging -o C:\PerfLogging\data.blg -f bincirc -c "\LogicalDisk(*)\% ...
0
votes
2answers
219 views

Start a program like google chrome always on top without external software

So as the topic says, I want to start my chrome and keep the window always on top, would that be possible with a script or something? I googled a bit about that topic and if the question is answered, ...