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)

1
vote
2answers
62 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 ...
-1
votes
1answer
73 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
591 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 ...
0
votes
0answers
23 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
1answer
93 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
22 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
1answer
56 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
0answers
31 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 ...
0
votes
1answer
156 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
2answers
122 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
57 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
67 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 ...
0
votes
1answer
407 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
2answers
48 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 ...
3
votes
2answers
58 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
59 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
39 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 ...
2
votes
1answer
344 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 ...
1
vote
1answer
26 views

Autorunning a series of .cmd files when usb is plugged in [closed]

I'm trying to automate a process to the simplest way possible for non technical lab students. This is my first time doing longer scripts so bear with me. I need the drive to: Check that the user ...
1
vote
1answer
40 views

Add IPtables rule by script at the request of another computer

I wonder, is it possible to make an script, which adds rule in iptables by request from other pc? I mean, script "knows" what to do, but addres for rule comes from request. And how do you think it ...
0
votes
2answers
88 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 ...
0
votes
0answers
118 views

How to run adb command through a script

As the title says, I'm trying to find how to run adb commands through a pre-written script (such as how .bat and .vbs files work) so I can make a semi automatic program to pull some files from my ...
0
votes
0answers
10 views

Accessing a context menu through script in OSX

I want to access a context menu item from a script to integrate with a workflow in OSX. Specifically, I want to access the "Share dropbox link" programmatically to obtain the public url of a file. Any ...
0
votes
1answer
110 views

Postgresql starup script for second instance?

I need to run my second postgresql instance when linux boots. I added this command (like in postgresql documentation) in rc.local: /usr/lib/postgresql/9.1/bin/pg_ctl start -l logfile -D ...
0
votes
0answers
286 views

How to add a startup/shutdown script to the GPO from the command line

I need to add startup and shutdown scripts from a CLI through a Powershell/Python/CMD script. Ideally, I would like to have the same functionality as gpedit.msc, but it is important that the tasks of ...
1
vote
1answer
109 views

Is there a script "to log remote users off and after log them off to delete their profiles?

I found 6 simple scripts (.bat and .vbs) for remote pcs (Win XP and 7) to Clean Profile properly and faultlessly: Script: sending Ping to check Remote PC On or Off (.bat) Script: checking who logged ...
1
vote
0answers
58 views

Script to fire fn + f6 every time computer starts?

My laptop's touchpad has malfunctioned. Every time I start the computer, I have to manually press the keys fn+f6 to shut it off. How can I create a script which does this automatically on every start? ...
0
votes
1answer
859 views

Updating Chrubuntu 14.04 kernel on Acer C7 (currently 3.4.0)

There was another, similar question on this here, but it's for old ubuntu versions, and the script no longer works. While installing, the script works fine until: + vbutil_kernel --verify /dev/sda6 ...
0
votes
0answers
27 views

Script to email administrator when a duplicate IP is found on the network

I know this is a bit of a custom requirement but I was hoping someone currently has (or can put together) a script that checks for duplicate IP addresses on a network (something that might occur when ...
1
vote
1answer
287 views

script to delete duplicate files using md5

I want to write a script to find duplicate files in a given directory and delete the copy depending on the hashcode. When I run the script it deletes the copy and the original file. Here's my code: ...
0
votes
1answer
66 views

Solaris: a simple script does not work, single command does

In my Solaris Illumos, I run a simple script: update_drv -a -i '[myhardware]' [driver] svcadm disable stmf svccfg import /mypath/myconfig svcadm enable stmf It does not work and gives me no ...
0
votes
1answer
225 views

Script to enable/disable IPv4 on a specific network adapter Win 7

For reasons I don't wish to get in to at the moment I need to occasionally disable Internet Protocol Version 4 (IPv4) on my wireless card, then enable it some time later. Currently I go into the ...
2
votes
0answers
34 views

Testing RDP connections

Given hostname (+ portnumber) + username + password, how do I get a yes/no answer to the question: Can I connect to host with username+password? from the commandline or a script? Is this possible? ...
0
votes
1answer
68 views

Popup notification for microhone mute

I need to create a script or a batch file to show a notification-like balloon (or a message or icon) when my microphone is muted and unmuted. I understand this can be achieved by task scheduled but I ...
1
vote
1answer
49 views

extract file content to mutliple files base on match pattern

I am new to unix. I would like to process this file. PP_NAME_1 jprovider|J Driver Provider|${J_DRIVER_PATH}/jcc;${J_DRIVER_PATH}/jcc_license_cu|${J_DRIVER_NATIVEPATH}|com.jcc.Connection ...
0
votes
1answer
59 views

Firefox with Firebug Sometimes Hangs in JSON Calls

Please see this: http://gisdev.clemson.edu/fireflies/ On my Windows 7 machine with Firefox 29 if I click on the year 2013 radio button (toward top right) then Firefox sometimes hangs and gives a ...
0
votes
1answer
58 views

How to use find to fill in variable in Shell script

I am making simple Shell script form some boring-ever-repeating job. Script changes directory correctly, and now I want to run other scripts based on argument I typed when running script. Other ...
2
votes
1answer
169 views

Powershell LastWriteTime is incorrect

I am running the following script to create directories based on the first 9 characters in the filenames in the directory and then moving te files into these directories based on their filenames. dir ...
0
votes
3answers
789 views

How to display “Please Wait” while GPO startup script is running?

I have a GPO that calls a batch file as a startup script (Computer Configuration -> Policies -> Windows Settings -> Scripts -> Startup) which takes a moment to finish what it's supposed to ...
0
votes
1answer
88 views

7-zip -v switch will fail to use cpu properly?

I have been using this script for years, back from when above 2 cores was a challenge in 7z and I had just offered myself a shiny i7: "C:\Program Files\7-Zip\7z.exe" u -m5=lzma2 -mmt=8 %1.7z %1 ...
1
vote
1answer
65 views

Terminal command to include currently logged on user

I am trying to write a script that makes our network (active directory) users local administrator on their macs. I have the script that will do this: dseditgroup -o edit -n /Local/Default -a ...
1
vote
1answer
58 views

ScriptBrowser for Powershell won't run

I'm trying to run ScriptBrowser for Powershell, but it won't run for me when I click on the shortcut (nothing happens). I tried right clicking on the shortcut to see what it is running, but instead of ...
0
votes
1answer
141 views

Best way to provision vSphere VMs remotely

Edit: Sorry, should have mentioned this upfront: looking for a Linux-only solution here. I'm looking for a way to automate the process of provisioning vSphere VMs remotely. I'm wondering what is ...
1
vote
1answer
80 views

Delete all files older than a specific file name?

I want to be able to look for the most recent file ending in .backup, and delete ALL files that are older than that file (but of course keep newer files). Here is an example of a directory listing ...
0
votes
1answer
45 views

mIRC parsing a name

Asked originally: http://stackoverflow.com/questions/23419961/mirc-parsing-for-a-name So I've been getting a bothersome someone who keeps using my nickname. What I want to be able to do is perform ...
0
votes
0answers
29 views

Combining a bunch of find commands into one command or script.

I was wondering how to combine a bunch of find commands into one. This is the list of find commands I want to run and in the order. find /path/to/folder/ -name '*Sample*' -exec rm -rf {} \; find ...
0
votes
2answers
113 views

Can I create a Chocolatey installer automatically based on my currently installed applications? How?

I intend to reinstall Windows on my computer soon and I'd like to make the process of reinstalling all of my applications as seamless as possible. I know you can create a Chocolatey script that can be ...
0
votes
1answer
176 views

Open browser window at specified screen / coordinates

A customer has a 6-screen setup for each workstation and would like various pages of a web app to be opened automatically in each of the screens on startup or invoking a shortcut. (The target web ...
2
votes
1answer
54 views

Start the script with sudo

I am trying to start the virtual machine(ORACLE VIRTUALBOX) using this script(script name:start_vm001.sh). START_VM=`/usr/bin/VBoxHeadless --startvm testvm001` EXECUTE_VM=`exec ...
-1
votes
1answer
70 views

Get value on perl script from another perl script [closed]

I have two perl scripts. The first perl script call another perl script, and then I want to get the result from the other script and use it in the first script to made a condition. I use: ...