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)

4
votes
2answers
333 views

Counting pages within Word [.doc] documents

I'm trying to find a way of listing the number of pages within multiple word documents, all saved within the same folder. Is this possible using VBA? I am using: Windows 7 and Microsoft Office 2007 ...
0
votes
0answers
330 views

eps ai to png adobe illustrator js script, how to make it look in sub folders?

I found this script online which allows you to batch convert .ai or .eps to png however it only works on one folder at a time, could someone help/tell me what to adjust to make it work on subfolders? ...
1
vote
4answers
1k views

Linux: Run command on a batch of files, with matching output files

A simple task: given a directory of files and a command that takes one file as input and produces one file as output, I want to process all the files in a directory at once and output them with ...
1
vote
3answers
263 views

Take all files in dir and for each file do the same perl procedure

I have dir, where are multiple files. a1, bb2, ccc3 At the moment I manually do: perl myperscitpt.pl a1 a1.txt perl myperscitpt.pl bb2 bb2.txt perl myperscitpt.pl ccc3 ccc3.txt How could I do ...
0
votes
0answers
21 views

Execting python script inside Phrase Express

Is it possible to insert python scripts inside Phrase Express and get Phrase Express to execute the python script? Text Expander for Mac supports inserting AppleScript Snippets and Shell Script ...
0
votes
0answers
120 views

close tcp\udp connection by process name without killing the process Autoit script

I need help with this script It's close a tcp\udp connection of a process without killing the process I found script in forum but it's not working let's say I want to close any connection established ...
1
vote
1answer
211 views

Execute script after the window manager loads

I want to start a few applications right after my wm (dwm) loads, where can I put my script so this happens? I'm on Ubuntu 12.04 LTS and using dwm.
0
votes
0answers
65 views

launching applications/terminals with curses-based programs running at startup dwm

I just configured most of dwm to my liking and I want to now set it up so that as soon as I log in, chromium is launched in the first tag with monacle (I have pertag installed), a terminal window is ...
0
votes
1answer
148 views

Converting Windows batch to Linux script (Batch create symbolic links by first character)

As a noob to Linux and scripting I'm unsure as to how to convert this into a linux script or even where to start. Essentially I want to create a script that creates alphabetized folders A-Z, symlink ...
0
votes
0answers
82 views

Script to schedule a program to open and automatically navigate to a window within the program

I need to take a scheduled snapshot of my computer screen once a day for data logging purposes. I work for a company, and this program that I need the data from has only 5 licences and cannot be left ...
1
vote
1answer
968 views

Adding a month to an input date in unix

I need to write a script that asks user for an input date. Then I need to add a month to that date or at least 30 days. Example: Date: 2009-05-12 I need to get 2009-06-12 this code is not working: ...
0
votes
7answers
168 views

Programmatically find out whether a computer is a server

I want to programmatically find out what version of Windows a computer is running. In the CMD shell one can type ver which for my computer returns: Microsoft Windows [Version 6.2.9200] But that ...
1
vote
1answer
181 views

Randomly reorder pages in PDF document

I'm looking for a series of commands to randomize the order of pages in an existing PDF document.
1
vote
1answer
628 views

wget execute script after download

I need every time you complete a transfer program wget this run a script. this is my full command line: wget -i urls-to-downloads.txt My problem is that I want to go subtracting it downloads the ...
1
vote
0answers
116 views

Adding 25 (student) users to Linux system (Ubuntu 12.04 LTS) VM

I would like to set up 25 student accounts on a Unbuntu 12.04 LTS VM that I have provisioned via Windows Azure for teaching purposes. Can anyone point me toward some scripts that would automate this ...
0
votes
0answers
34 views

Making the 'script' log pretty [duplicate]

I often use the 'script' command in the terminal (on OSX) to keep a note of what I'm doing. However the script files generally look like: Script started on Wed Oct 2 11:12:24 2013 ...
0
votes
3answers
199 views

Write pipe result to variable

I need to be able to write whether the test for a grep is either TRUE or FALSE to a variable so I can use it later For the following, if I run defaults read com.apple.Finder | grep ...
1
vote
1answer
51 views

Error when adding Developer inserts (IE: Command Button)

Running Visio 2010. I go to the Developer tab. When I try to insert any of the ActiveX controls (IE: Command Button), I get an error (even after uninstalling and re-installing Visio): An error ...
0
votes
1answer
51 views

Require Password after Login [duplicate]

I have a SSD for boot up ands its fast. I do not want the computer waiting for me to load all of my programs and services. I am the only user on my account. Is there a way to require the password ...
0
votes
1answer
81 views

How do you determine if you're on a linux or BSD system inside a script?

I've got a rather extensive selection of dotfiles thats been kept in a git repo for the longest time - I just maintain a separate branch of code for bsd-isms (for instance, on Linux, to get colored ls ...
0
votes
0answers
132 views

Microsoft Outlook 2010 - moving emails with specific number in subject to a specific folder with the corresponding number

I get a lot of emails in shared inbox containing number in their subject (like 9921635). These emails then I need to archive to subfolders which are part of the shared inbox that is also containing ...
-1
votes
2answers
61 views

Window XP start script before service

PC with Windows XP prof. controls small production line. On Windows start-up I want to backup production data (created last day) before system starts particular service and application. How to start ...
1
vote
0answers
43 views

Script to port specifc data from doc1 (notepad++) to specific place(s) in doc2

I really appreciate your help with a windows script or regex function that ports specific data from doc1 (xml in notepad++) to specific place(s) in doc2 (notepad++). I'm running win8. Thank you in ...
0
votes
0answers
111 views

Raspberry Pi, how to execute program as a SU and stop loop in bootup

I have a script python.py and wish to execute the program after the boot-up sequence, one problem is it needs SU access in order to have the write function inside the program. Without the SU, the ...
1
vote
0answers
53 views

retrieve the status of a backgrounded lftp session

I have an ongoing ftp upload with lftp which is backgrounded and i am wondering if there is a method to retrieve the status of the upload in a scripted way. What i've figured out so far is a way to ...
2
votes
1answer
71 views

How to properly restore settings when running a script using “source”?

I'm writing a script that needs to be executed using source, because its task is to modify the environment. During the script, I want to use set -e so that any error stops the script. The script looks ...
0
votes
0answers
115 views

How to extract multiple zip files with possible duplicate file names in a single folder

I have a list of many zip files(with duplicate names) that need to be downloaded(maybe by wget) each of them contain a single file , I need to extract all of them into a single directory , but due to ...
2
votes
1answer
121 views

How can I attach a cygwin script to a keystroke?

I have a script that needs be launch through Cygwin with the following execution /usr/bin/bash -lic "/home/userdude/scripts/scrypty.sh param1 param2" How would I go about setting up a keyboard ...
1
vote
1answer
295 views

Split window programmatically with iTerm?

on my development workstation I often have to start the same commands every morning. zeus start, zeus server (booting rails via zeus), redis-server, and like 3 others. I know a lot of people would ...
4
votes
3answers
760 views

Logout user script

I am trying to create a script in ARD that will let me logout a user. Now I have a script which does start the logout, but I want it to execute instead of waiting 60 seconds. The script currently ...
0
votes
1answer
97 views

Stopping command from terminal without stopping shell script that started that command

I have a script like this: #!/var/bin/bash tail -f /path/to/file.txt tail -f /path/to/other/file ... ` How can I stop tail -f without stopping whole script? Any idea?
0
votes
1answer
145 views

Bash Script can't find command while command can be executed in my bash

I have a Python script that i want to restart if it crashes. So i created a Bash starter script that starts and restarts the Python script in /usr/local/bin/starter Here's the starter script: ...
0
votes
2answers
239 views

Script to find number of zip file in folder [duplicate]

I need a script that counts the number of .zip (zip files ends with monday_abc.zip) files in a folder on windows 2008 server. Is it also possible to find the last modified zip files and the number of ...
0
votes
2answers
486 views

GNOME3 keyboard shortcuts doesn't run my script

I have a home made script that takes a screenshot and uploads it to puush, and I have put the script in /usr/bin. If I open a terminal and write the name of the script it runs perfectly. I use Debian ...
-1
votes
1answer
95 views

Check folder periodically for changes and run script on OS X? [duplicate]

I have a folder of files. I would like for the system to check this folder every X minutes to see if any of the files have changed and, if so, to then run a script that I've written in python.
3
votes
4answers
436 views

How to automatically hide files put in a specific folder?

How should I go about automatically hiding files that I paste/drop in a folder, for example C:\test\ ? I thought about creating a batch file or using a program which runs continuously on the desktop ...
1
vote
1answer
1k views

Copying data from multiple word docs into one excel sheet

I have about 4000 doc and docx files which contain a table. I've managed to import these into one excel sheet using the following script: Sub Macro1() Dim xl As Object Set xl = ...
1
vote
0answers
156 views

“Script” command in Bash on Mac OSX

quick question regarding the "script" command in Bash on a Mac OSX 10.8.4 system. In any other bash environment on Fedora, CentOS, etc; when I use the script command it just begins recording with no ...
1
vote
1answer
468 views

How do I create a one time use startup script on Linux - Centos 6.x

I want to set a script that will only run one time on a Centos 6.x box and then never run again, since it's going to set some system options based on hardware and then it's all set.
0
votes
0answers
111 views

win7 Shutdown script does not wait for vmware to shutdown

I want to shut down a virtual machine guest operating system before windows 7 host is shut down when pressing the shutdown button. I've tried the solution suggested here ...
0
votes
0answers
201 views

Pass actual credentials to a script from Scheduled task

What I would do is using Putty on Windows to connect to a SAN switch and get results from a command. I use Powershell as scripting language and it could be done easily but i don't want to save the ...
3
votes
2answers
338 views

Change the OSX system language in a script

Manually I just go into the system preferences, change the language ordering, and restart my app so it starts up in the default system language. Then I can run automated tests with the app running in ...
1
vote
1answer
2k views

executing powershell scripts via command prompt - win7

I'm having trouble running a powershell script automatically. When every I call or Execute the script, I get a security prompt requesting I enter "R" to run. I have already set the execution policy to ...
1
vote
1answer
103 views

Having trouble with what should be a simple bash script

I'm having a problem with one segment of the following script. Each echo->grep->was written in to help me figure out where the script was failing to perform as I expect it to. It is designed to be ...
0
votes
0answers
26 views

Insert splash screen into multiple videos?

I've got around 100 videos that I've generated a unique splash screen for based on some metadata and the file name. The files are named "videoname.avi" and "videoname.png" and are in the same folder, ...
1
vote
0answers
203 views

OpenOffice Basic Change BackGround Color for Range Based on Text in Column 0

I'm trying to test each cell in column 0 "A" to see if it has specific text "Budget" "Living" "Savings" and if it does then change the row background color to a specific color for each. I am able to ...
0
votes
0answers
25 views

Windows: Scriptable “zoom in” possible?

I am wanting to automate "zooming in" to a specific area on the screen. For instance, there is a windows application that can not be resized or made full screen. I would like to "zoom in" to this ...
0
votes
3answers
150 views

Converting PDF to PDF/A? (for embedding fonts)

How do I convert PDF to PDF/A? - No preference of operating system to run the script or program. (this is for printing directly on my printer; however the printer requires print formats with fonts ...
1
vote
1answer
1k views

Join to Domain Script - Windows 7

I'm looking for a way to diss-join a machine from a domain and join a machine to a domain via scripts. I searched online and have found the following script that should join a machine to a domain but ...
0
votes
1answer
104 views

Ubuntu - Disk Duplication - Automation

I know very little when it comes to linux but I'm looking to construct a cheap disk duplicator out of an old server that we have. The server is currently running Ubuntu 12.04LTS and has 8 hot ...