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
3answers
484 views

Free, scriptable, partition manager for Windows

Are there any free scriptable partition managers for windows that can create an EFI partition? (Identifier 0xEF) EDIT: It needs to run on Windows XP (BartPE) EDIT 2: So it seems Intel has a 32-bit ...
1
vote
1answer
72 views

script runtime errors

I have checked disable scripting (both) in Internet Explorer tools (and it stays checked) and am still getting frequent runtime error boxes. it happens with chrome open, but not Internet Explorer. ...
5
votes
3answers
2k views

Run Linux script at time 'n' on first day, 'n+15 mins' next day, and so on

I'm trying to take timelapse images using my webcam. What I want to do is run a script at midnight on 1st Jan, then 00:15 on 2nd Jan, 00:30, 3rd Jan and so on. This can keep running forever, I'll ...
0
votes
1answer
2k views

How to set custom JPG wallpaper using script for new user accounts (WinXP)

I'm trying to discover a way to use a script (batch file commands) to set a .jpg image as the wallpaper for a new user account. If this can't work, then I could use a logon script for that user, once ...
1
vote
3answers
275 views

Where can I find a good questions/answers script?

I want to avoid reinventing the wheel and would like to purchase a good question and answer script/software. Where can I find a good one?
1
vote
1answer
2k views

Script to disable any key on Mac?

How to write a script to disable keys on Mac? Is there any script to do that?
3
votes
4answers
3k views

Mount a share on a Mac using a login hook

I have a script that mounts a Samba share to a folder on the desktop, it runs no problem but when its setup as a LoginHook it doesn't mount the folder. Does anyone have a working login hook that ...
58
votes
6answers
19k views

What is the difference between executing a bash script and sourcing a bash script?

What is the difference between executing a bash script like A and sourcing a bash script like B? A >./myscript B >source myscript
7
votes
2answers
3k views

Playback random section from multiple videos changing every 5 minutes

I'm setting up the A/V for a holiday party this weekend and have an idea that I'm not sure how to implement. I have a bunch of Christmas movies (Christmas Vacation, A Christmas Story, It's a ...
1
vote
2answers
2k views

Script or Batch File to Automate Logon from Welcome Screen

Is there a script or batch file to automate the log-on process from the XP Welcome screen? As all details are the same Username, Password, and Domain in a room of 30 machines. The reason I don't use ...
2
votes
2answers
10k views

How can I create a script to delete a file?

I have a file in a given folder that I want to delete by either running a script or clicking on some shortcut, but I have no idea how to do so. So if the file is in C:\Program Files\Our crappy ...
4
votes
3answers
3k views

Run script on Windows every n minutes

What's the best way on a Windows machine to run some sort of script every n minutes? I've googled around and read that Windows Scheduler is best avoided.
11
votes
6answers
2k views

A script so that you don't forget your usb drive on a public computer

So I have a problem because I'm an idiot. I seem to always leave my usb drives in public computers at school and the like. I unmount them and log off leaving them still in the pc, and of course I then ...
1
vote
1answer
232 views

Is there an application that can automatically set Graphics Properties when docking?

I have a dual display setup with my laptop (Dell, with integrated graphics, WinXP). The problem is that whenever I hook up the laptop to the monitor I have to go to Graphics Properties (Intel Graphics ...
5
votes
3answers
3k views

Automator workflow save as

(first time automator user) I created an Automator workflow (Folder Action) that watches a certain folder for certain file types and moves them to another folder.. I've tested it via Step and Run and ...
0
votes
1answer
217 views

VBScript with Permissions to Certain Groups

In the root there’s a folder called “med” inside that folder there’s a folder called “Medprogs” and inside that folder there’s a file called “Ansi.key” C:\Med\Medprogs\Ansi.key I need the ...
1
vote
2answers
795 views

Programmatically reconnect to wifi network

Sometimes I work with frequently-dropping wifi connections. I can either reconnect manually or wait some time (varies from few seconds to few minutes) before windows attempts to reconnect. Is there a ...
6
votes
4answers
4k views

Script to move specific user folders in Windows 7

When I install Windows Vista/7, I move some of my user folders onto a new partition (i.e. Documents, Musics, Pictures, etc.). This does not include moving the whole User directory, just some of the ...
3
votes
2answers
4k views

Is there a way to get access to a window handle in windows using WSH, or WMI or similar?

Is there a way to get access to a window handle in windows using WSH, or WMI or similar? I just want to flag a window as always-on-top. Ideally I'd use windows script host for this. (Should also be ...
2
votes
5answers
752 views

cannot run CMD script from Vista windows explorer

I am running Vista Home Premium. I tried to write a script to do some simple automation.... it does not work! even the most simple script like: @echo ON dir . does not get executed and only an ...
0
votes
1answer
643 views

Outlook 2007 script error

I'm trying to set a folder homepage on Outlook 2007. The page works fine on this PC, but when I try it on another machine (specifically a Citrix session), I get a script error as per screenshot: ...
23
votes
7answers
94k views

Running bat file at startup as administrator in Windows 7

I'm currently running a startup script in form of a bat file successfully in Windows 7 (I've inserted a new registry key entry with the bat file path as value in ...
0
votes
2answers
2k views

IE Proxy Exceptions List

Does anyone have a script that can modify the proxy server exceptions list in Internet Explorer? If so, is it compatible with IE6 and up?
1
vote
2answers
2k views

FTP script won't transfer remote files to local computer

This is a follow up to FTP BAT file - Windows Scheduled Task. I copied the FTP script, but I can't transfer the files to my local computer. All I get is this (server address omitted): 331 ...
4
votes
1answer
5k views

Setting file creation date in Mac OS X

I need a script to set the creation date to the modification date for a bunch of files created by my sound recorder - any way to do this? Running Mac OS X 10.4.11
0
votes
3answers
2k views

run script on first boot, and on shutdown

We are using a web based punch in/punch out clock at work, and I only need to double click two nice icons to send the proper commands to the server when I get to work in the morning, and finish work ...
0
votes
6answers
3k views

How to use ssh from shell script without waiting for password?

I can not use public key method. I also don't want to use expect script. I searched this site for solution but everybody is talking about these solutions. Is there any other way like command line ...
1
vote
2answers
110 views

Security issues related to storing secrets in scripts

Let's say you have a program you want to run unattended, as root, which requires a secret (such as a passphrase; something you don't want other people to find out), which can be read from an ...
5
votes
5answers
15k views

How to replace a single character in Windows filenames using a batch file?

I have a Windows Server 2003 server that has a whole bunch of filenames that need renaming. Basically, I just need all - (hyphens) replaced with _ (underscores), no matter where they are in the ...
2
votes
1answer
192 views

md5sum only new files?

I have a directory containing files and an md5sum.txt file. I add a file new files to the directory. I would like add md5sum sums for all files that are not in md5sum.txt. Is there a simple way to do ...
12
votes
3answers
11k views

Create a logoff script/task for Linux

In similar vein to my question for Windows and Mac OS X, how would one go about creating a logoff script for Linux? Any distro is fine, as I'm sure it'd be extendable across others. I'm most ...
2
votes
1answer
5k views

Create a logoff script/task for Mac OS X

Related to my other question on Windows, how would one go about creating a logoff script for Mac OS X?
1
vote
3answers
4k views

Create a logoff script/task for Windows

Without using AD GPOs (Active Directory Group Policy Objects), or similar, how would one go about creating a logoff script for Windows? This would be for XP (home and pro), Vista, and 7, in a ...
1
vote
5answers
605 views

Traverse path up and check/set permissions in shell script - how?

In a given shell script I need to take a known path and check it upwards (to the file system root) for correct permissions. How would I split the path and walk upwards in a shell script (can be bash ...
1
vote
2answers
2k views

Windows 7 Action Center messages via script

I would like to know how to read, via vbscript, WMI, Powershell etc -the new Windows 7 Action center messages that the user normally gets informed of. I want to read all those messages on each ...
2
votes
2answers
785 views

Virtual PC Scripting

Does Microsoft Virtual PC have any scripting capabilities? I'm trying to automatically launch a web browser inside the VM and have it go to url specified by a parameter.
4
votes
3answers
766 views

Windows Startup and Shutdown scripts

In the group-policy editor, I see an option to add scripts to be executed on Startup and another option for scripts to be executed on Shutdown. Are these intended for personal use? And if so, are ...
11
votes
1answer
7k views

Is there a way to call a script when Ubuntu wakes up from suspend or hibernate mode?

I have a little shell script that I run automatically when I log on to my Ubuntu machine; it will set the parameters of my touchpad the way I like it. However, when Ubuntu wakes up after being ...
3
votes
1answer
3k views

How can I clear the scrollback buffer in konsole from bash?

I'm a heavy bash user and konsole is my preferred environment. I know I can use the keyboard command ctrl+shift+x to clear the scrollback buffer, but there's certain points in my scripts where I would ...
1
vote
4answers
1k views

What can I use to simulate user actions within firefox

Is there a tool/scripting language that would permit me to run a script in firefox? It is for page testing -- Ideally I could release a version, and it would simulate the user by waiting, clicking, ...
0
votes
1answer
936 views

MyDefrag Script: Shutdown after Completion?

I'm looking for a script that shuts down my PC after it completed the procedure. Preferably inside the standard scripts!
0
votes
1answer
52 views

Script for preriodic emailing to a list of addresses from an Excel/Access DB?

I'm looking for a program/script, better if it's OpenSource/Free, that can periodically send an email to a list of addresses that are in an Excel File or Access DB. I know I could hack something ...
0
votes
4answers
103 views

How to make a script to invoke all others scripts matching a pattern

I have a directory with a lot of scripts to generate figures. All the scripts match the pattern fig*-gen.sh I would like to have a bash script (named allfig-gen.sh) to invoke all figure generation ...
0
votes
3answers
1k views

Internet Explorer Script Error when closing System Information window

When I close the System Information window I get the following error: Internet Explorer Script Error An error has occurred in the script on this page. Line: 86 Char: 1 Error: Object expected Code: 0 ...
1
vote
1answer
69 views

What's the best way of telling Kaffeine to play in random order the 15 newest files in a directory in linux?

I want to be able to use kaffeine or another media player to randomly play an arbitrary number of the newest files in a particular directory. Preferably with as little typing as possible, and I am ...
0
votes
3answers
6k views

How to get outlook email attachment onto a file server?

Background: Every work day I get an e-mail message from a known sender. The sender puts an attachment in the e-mail message. I have to process that attachment with a python script. Question: What ...
1
vote
3answers
2k views

How to write a script to accept any number of command line arguments? (UNIX, BASH)

I have a script that I want to accept any number of command line arguments. So far I have if [ -O $1 ] ; then echo "you are the owner of $1" else echo "you are not the owner of $1" fi ...
0
votes
1answer
865 views

Error 502 in OpenOfficeSpreadsheet formula

The formula failing is the following: =IF(TIMEVALUE(C2 & ":00") > TIMEVALUE(B2 & ":00"); 0; C2-B2) I previously tried =IF(C2 > B2; 0; C2-B2) but this also gives me "Error 502". ...
1
vote
2answers
3k views

Script in UNIX (Bash) to determine if the user is the owner of a file

Something that would take any number of arguments, where each argument would be a path to a file or directory. If the user does own a particular path then it should check it to see if the path ...
6
votes
6answers
12k views

How to make a statement that checks if something is divisible by something else without a remainder (BASH)

#!/bin/bash Echo “Enter a number” Read $number If [$number ] ; then Echo “Your number is divisible by 5” Else Echo “Your number is not divisible by 5” fi the if [$number] statement is what ...