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
43 views

Recursively fixing image file extensions in Linux

I have a bunch of image files from misnamed scans/faxes I need to fix for our Linux users. It turns out we have a bunch of scans that are PNG files that are labled as *.jpg visa versa. Under Windows ...
0
votes
0answers
3 views

AUTOIT3 Recorder is not found

Does anyone know where to find the latest AutoIt recorder? I have downloaded autoit and also SCiTE tool ( autoit script editor), i could not autoit recorder option anywhere? may i know where it was ...
0
votes
0answers
6 views

Exporting paragraph and character styles to jsx

After setting them up in InDesign, how can I export the styles to jsx so I can use them in scripts? Same for master pages, swatches etc. I don't want to have to code them by hand? Would an ...
1
vote
1answer
37 views

Powershell script to list scheduled tasks on remote systems

I want to write a PowerShell script that lists all Scheduled Tasks on remote systems, and includes the user account which will be used to run each task. The local system is running Windows 7, with ...
0
votes
0answers
26 views

Trap a program that has no command line output

I am using the CrashPlan backup tool to backup my home file server. I use an ssh tunnel to interact with the GUI on the remote machine (as detailed here). Currently, I have an alias in my zshrc that ...
0
votes
1answer
33 views

One-way sync on a schedule, check another folder for existing files

I have a folder on a Windows network share containing automatically generated text files. I need to copy (not move!) those files to a local folder, multiple times a day, preferably using Windows ...
0
votes
2answers
18 views

followup: why are shebang files not suid-able?

followup question to http://unix.stackexchange.com/questions/364/allow-setuid-on-shell-scripts . there is a very good answer by Gilles. alas, I do not understand it. nothing described there seems ...
0
votes
0answers
2 views

mac os x wireless association to wpa2-enterprise SSID from the command line

I have a script that connects to a bunch of macbook laptops and makes them associate to a certain SSID. The command that I run is networksetup -setairportnetwork en0 SSID PASSWORD. However If I have a ...
0
votes
0answers
6 views

Keep tclsh open after running script through notepad++

I'm currently writing a tcl script using Notepad++. I've edited the F5 key such C:\TCL\bin\tclsh.exe "$(FULL_CURRENT_PATH)" This will open a tcl shell & run the current script I am writing. I ...
1
vote
0answers
22 views

Delete a file on mouse click(single or double)

I want to delete a file or folder whenever I try to open that file. Is there any script available to do like this? The purpose of this is security. If I double click on a folder it should ask for a ...
0
votes
0answers
18 views

disable chrome task manager? alternatively: prevent extensions from being killed

I have installed the chrome extension "Stayfocusd" which blocks websites for a certain amount of time. However, I have noticed a way to get around this. If you go to Chrome Task Manager and kill the ...
0
votes
2answers
46 views

How to delete half of the files in a directory?

A directory has files with names ending 001 to 100. How can you delete 2,4,6,8...100. And can that be written as a script. As soon as the directory becomes week old, this has to run. And after a month ...
0
votes
0answers
10 views

How can I create user defined actions triggered by hotkeys on Mac Os?

I would like to know how can I create actions triggered by hotkeys in a way similar to what can be done with autohotkey on Windows but on Mac. I've read that applications like Karabiner or Keymando ...
0
votes
1answer
10 views

Autostarting a script at boot doesn't recognize the function “function”

I'm trying to get a script containing a function to run just after root autologin on TinyCore 5.3. The script works fine if I launch it from the prompt after login like this ./script.sh But when I add ...
0
votes
1answer
11 views

Scan filename and move to respective folders on a different server

I have a folder (Students located in server A) containing 800 files, each has a unique identifier in the first 6 characters of the filename (e.g.Y9L-01_xxx.xlsx; Y9L-02_xxx.xlsx; Y9L-03_xxx.xlsx ...
0
votes
0answers
19 views

Windows script to copy text from .txt file, and paste it to another different .txt file

Im working with two applications (.exe). One generates a username:password and puts it in A.txt, one takes text inside a B.txt file and uses that to do its thing. Is there a way I can copy things ...
0
votes
1answer
22 views

Alter default audio output device from command-line

I have 2 audio output devices: 5.1 Speaker System attached via Toslink Gaming Headset attached via USB Is there a simple way to change which device is the default output device, from the ...
0
votes
0answers
20 views

Netcat redirect remote console application

I have a windows interactive command line application ('pianobar', Pandora client) that I'm running on a Win2k8 server that I would like to control remotely, possibly using netcat. I need to be able ...
1
vote
2answers
43 views

Match a list of users against /etc/passwd

I have a simple one-column list of users. It comes from the lastlog command. I need to be able to tell if these accounts are disabled and I do not have root access. I can only view with more and ...
0
votes
1answer
51 views

Powershell Script to SFTP New files

I have a script here that SFTP's files from one location to another, the script works fine however I'd like to change the script so that it only copies files that are not already present. Bit of a ...
1
vote
3answers
69 views

Windows command line

I have an exe which produces an output with some parameter, and from that output I want the integer portion to be stored in a file like below: C:\MyExe -param gives an o/p 123abc, so 123 should be ...
1
vote
0answers
34 views

Creating an account creation script to create new users in Windows Server 2008

I need to be able to make an account creation script that will create a new user in the Domain Users group, set its password, roaming profile, and login script. The input will be first name, last ...
0
votes
0answers
16 views

Get image for each letter in font

Is there an automated way to get an image file for every letter inside a font on a Windows 8.1 Pro machine? I have searched for a while but I could not find anything meaningful.
0
votes
0answers
13 views

Script to Open Quicken and update Accounts

I am trying to write a script that will open the Quicken Program and then execute a Shit Command U.. when it finishes updated the accounts, it will close the application. This is what I have. tell ...
0
votes
1answer
14 views

url string stream editing on the fly?

I have a problem with an unnamed 3rd party application (appA). It has the ability to dynamically link to other applications through a dynamic url link you can setup. I'm trying to integrate with ...
-3
votes
0answers
21 views

Automatically move Outlook message to the specific folder when click on reply to all

I want if i recieved any outlook message from aspecific person. Firstly It comes directly in my inbox folder. But when i reply to the same message, then a script runs save that particular old message ...
0
votes
1answer
31 views

How do I build a script shell to send cmd via telnet and log only results?

I would like to make a shell script that can call a range of IPs via telnet, to send a command, and write the result to a file.
0
votes
1answer
26 views

Looking to kill frmweb processes with no jobs

So I am trying to figure out a way to kill Oracle frmweb processes that are doing nothing when load begins to get too high. So far, I have found this command: ps -elf | head -1; ps -elf | awk '{if ...
1
vote
2answers
76 views

BAT file: Delete all files in directory older than 5 days except one file

I have a directory with many temp files. All files older than 5 days can be deleted except one file 'DoNotDelete.txt'. Therefore I should add an extra argument to my current script: forfiles /p ...
0
votes
0answers
11 views

Automate BTWiFi login using a FON account

I'm a user of British Telecom's Wifi hotspot. The service is good, but after some time of inactivity it logs me off and asks for user name and password. It's really annoying in the long run. Did ...
0
votes
0answers
12 views

Filemaker mail script text with fields and functions

I trying to send an e-mail with the filemaker 10 "send mail" script template. Is it possible to define in the message box text with fields and functions? Example: Hello Richard This is a text List ...
0
votes
1answer
30 views

Default prolog for all ZSH scripts?

I have a file that contains several helper functions, meant to be used only in other ZSH scripts. I do not want them to be loaded with my profile. To make these functions available in my script, I ...
0
votes
2answers
27 views

Perform scp-then-ssh in one connection

Both at work and at home I tend to do the following very often: $ scp "SomeScriptIJustCreatedOrModified.sh" some-server: $ ssh some-server ./SomeScriptIJustCreatedOrModified.sh arguments And ...
0
votes
0answers
16 views

Is it possible to script 'duplicate display on 2 & 3' in Windows 7?

We have about 300 computers that have three displays connected to them: One DVI, one DisplayLink USB/DVI, and and HDMI projector. We would like to duplicate 2 & 3 (USB & HDMI). Windows Key + P ...
34
votes
10answers
4k views

How can I delete everything after the first column in Notepad++?

I'm trying to get rid of everything after a column in Notepad++. Column mode is not an option. Is it possible? What I have: 70.97.110.40 159 ms [n/a] 21 ...
0
votes
1answer
67 views

Batch Script to Trim lines in text to first 30 or 50 characters only

I am now new to scripts but i find it really difficult understanding "for" command (especially with that tokens and delimiters etc) . Saying so, i think that for command can be used to do what i am ...
0
votes
1answer
150 views

Script to Find Certain words and delete those lines in a file

EDITED THE QUESTION as i am open to different type of solutions unlike just batch previously I am on Windows & some suggested SED etc. So i am OK with these 3rd party standalone exe's using ...
0
votes
1answer
24 views

Autohotkey on a win8 tablet: three clicks for an action

I would love to use three clicks on my tablet to perform an action such as ^w (closing chrome windows). I have tried with "RapidHotkey" script but to no avail. I would greatly appreciate your help. ...
0
votes
0answers
24 views

Uninstalling programs MSIEXEC always takes the same time to run

I've created a script that removes all of the SQL bits and pieces left over when you do an appwiz.cpl removal of SQL. Initially some components failed because of 'there is another installation in ...
1
vote
1answer
80 views

Changing desktop background depending on the time of day via script Windows 8.1

Hello it is my first time using this website so I hope I am not asking the question in wrong format. Anyways, as the title says I have a similar problem to a thread that was answered a while ago that ...
1
vote
1answer
54 views

How can I move files into a folder based on their name?

I have several .pdf and .tex-files in a certain folder "ABC". They all are named by the scheme C01S02_Word.pdf C03S02SS01_Description_random_words.pdf C04S01SS02_More_words.pdf and so forth C in ...
0
votes
2answers
46 views

Move *.wav files to new sub folder in multiple folders

On my Windows 7 x64 system, I have in my music folder both *.mp3 and *.wav files in a directory structure similar to this: D:\users\username\Music\Music\Artist\Album\musicfiles I'd like to move all ...
0
votes
0answers
20 views

How to start application after login on CentOS? [duplicate]

I am trying to start GUI application with upstart script on CentOS. I have test script located /etc/init/ folder. start on desktop-session-start stop on desktop-shutdown respawn script export ...
0
votes
1answer
53 views

How to start GUI application with upstart?

I have struggled with this problem for three days and I have tried many ways to solve it but not successful yet. I hope you guys can help me... I have an GUI application. I want to start this ...
0
votes
1answer
31 views

Script to open a chrome extension URL

I want to be able to create a keyboard shortcut to Dewey (a Chrome extension for bookmark management) using BetterTouchTool. BetterTouch tools allow opening urls, but if I try entering the URL ...
0
votes
2answers
46 views

tee causing bash scripts to hang

I have a script that calls a number of other install scripts ./script1.sh 2>&1 | tee script1.log<br> ./script2.sh 2>&1 | tee script2.log<br> ./script3.sh 2>&1 | tee ...
0
votes
2answers
51 views

How to make a bash script wait and then continue running?

So I have a .sh script. I would like to wait 25 minutes and then continue running, NOT repeat. Its something like this: #!/bin/bash /bin/bash ~/path/script.sh I want it to kill a process after ...
0
votes
0answers
49 views

tc packetloss cgi script via webpage throws AH01215: Illegal “loss percent”

Using the following tutorial to run CGI commands, and after fixing a small issue executing sudo /sbin/tc qdisc add dev eth0 root netem loss 1% returns an error AH01215: Illegal "loss percent" (at ...
1
vote
2answers
58 views

How can I add, from another operating system, a script for execution on the next Windows boot?

Also known as: adding a script on some Windows startup without booting it I have a multiple operating systems computer, one of them is Windows, and I would like to add some .cmd script to the ...
0
votes
1answer
76 views

Mavericks startup script

I am trying to write a small script to launch when user logs on. I have searched and got the script to work but unable to run at log on with .plist We have active directory setup. When the user logs ...