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
0answers
63 views

Powershell not exiting when called from Orchestrator

I'm trying to run a powershell script from orchestrator. The script works fine from my interactive prompt but when run from a orchestrator runbook it never exits and the overall runbook appears to be ...
2
votes
2answers
92 views

Is it possible to execute scripts on embedded linux devices (i.e: DSL routers)?

Folks, I wanna find a generic way to run a (simple bash) script on boot sequence of a router with embedded Linux. I have read about ways to do this on devices like: DD-WRT OpenWRT any NAS like ...
0
votes
0answers
50 views

List of LangID KLID input layouts codes for Windows 7/2008

There is one similar list for Windows XP/2003 here. Is anybody aware of a version of such list for Windows 2008/7 mentioning valid input locale ID strings for all languages and keyboard layouts? ...
0
votes
1answer
56 views

In Html What is the difference between the “id” and “name” of an element? [closed]

I would have posted this to StackOverflow but I'm currently unable to post questions there so I was wondering what is the difference between the ID section and the Name section on tags such as: ...
0
votes
2answers
44 views

How can I swap a file in and out of a directory, in windows 7?

My brother and I play this game on the same computer, but we have different in-game configs Our in-game key binds and some other settings are different, and the game does not support separate ...
1
vote
0answers
87 views

Modify URL Before It Is Loaded On Google Chrome

Every time I load a YouTube video, I find myself first appending &hd=1 to the end of the URL so that the video plays in HD automatically. Over time, this gets annoying, so I would like it to be ...
0
votes
0answers
104 views

Cygwin can't execute Shell script

I am trying to execute a Shell script using Cygwin. When I type this in the Cygwin terminal: sh build-native.sh I get this: build-native.sh: line 2: ndk-build: command not found It's a script ...
2
votes
1answer
215 views

Powershell: how to get logged-in users list in active directory?

I need to generate this table: Computer | User | last log in date(never) This one asks for username for each user account and returns only ad server name against which the user was last ...
0
votes
1answer
2k views

How to make PuTTY's font automatically change color (while connected to a Linux server) as I did with Windows cmd.exe using a background batch script?

I was able to create a Windows Command Prompt that automatically changes its text color on a white background every ~1.5 seconds, thanks to the help of @dbenham and @Woody. I also use PuTTY every day, ...
2
votes
1answer
316 views

Autoit: run a program selected with FileOpenDialog?

I need to make a script that allows a user to run a software with certain parameters (that should be typed in). So, first step, select the exe. Second, a text input box should allow the user to enter ...
0
votes
1answer
634 views

How to refer to a file in %APPDATA%\Folder in AutoIt?

I need to refer to a file in AutoIt, let's call its location %APPDATA%\folder\file.txt How can I call to it in AutoIt? I've seen %APPDATA% referred as @AppDataCommonDir in it, but I can't get the ...
0
votes
0answers
129 views

AHK script that can loop sending keys

I'm trying to make AHK scripts but seems I'm inexperienced at this and can't get anything to work. I have 2 windows of Chrome open at same time: one I'm using and other inactive in the background. I ...
0
votes
1answer
108 views

Save session using shell command in KDE

I can save my KDE session using the KDE start menu. But how could I achieve to save my session by shell command ?
0
votes
0answers
30 views

How can I get a list of incoming Radmin connections?

I have a growing problem where users are connecting to production servers (as they should), performing work, and closing the Radmin Window without logging out of Windows. Asking people to change has ...
-1
votes
2answers
52 views

Is Dropbox a good place for my shell scripts? [closed]

I know the "official" place for my own shell scripts is the $HOME/bin folder. But i would like to use a Dropbox folder instead and then just simply append it to my $PATH. Something like ...
0
votes
1answer
17 views

automatically launch/open a file when it changes

OS: OS X Lion Shell: zsh I'd like to automatically launch/open a file when it changes. Background: i'm working on a windows vm, generating pdfs. Syncing via dropbox and when a file changes on ...
0
votes
1answer
65 views

Log IP address obtained by DHCP Server-Ubuntu Desktop

Would there be a way I could write a script that records the dhcp IP's that the computer running Ubuntu obtains everytime it obtains a new IP?
0
votes
0answers
57 views

Keep music library (apple lossless) in sync and converted as another format (flac)

My music library is arranged like: /data/music/Artist_-_Album[alac]/*.m4a I need to be able to keep a copy of these in another format (apple lossless) and I'd want that like: ...
0
votes
1answer
60 views

Bash two text files comparision script

Given two files, I want to write a shell script that reads each line from file1 and checks if it is there in file2. If a line is not found in file2 it should keep it lets say in a table TAB1. Also, if ...
0
votes
1answer
88 views

“Listen to device” Autohotkey need advice to finish

In all honesty I have no idea what I'm doing and I could really use some help I'm trying to turn "Listen to microphone" on and off with the use of the "end" key and have a desktop shortcut. I've done ...
1
vote
2answers
83 views

How to Add Scripts to Path?

I've stored commonly used powershell scripts at %USERPROFILE%\Bin. I created a USER_BIN environment variable which I added to the user PATH environment variable via Control Panel > System and ...
1
vote
1answer
76 views

Set IP Address based on User Name

So I have a script from my old XP installation that sets the IP address based on what the username is. Here is the script: 'Get Username set objNetwork = wscript.CreateObject("wscritp.network") ...
1
vote
1answer
100 views

Send HTTP request to website with password and username, then record results

I need to record certain numbers (temperature and others) from a web-based monitoring service (LaCrosse Alerts). However, you must login to use this service. I have an account, and am starting to ...
0
votes
1answer
97 views

Simple bash gpg update script

I have a text file in which I save all my important personal data like all my accounts' passwords and my credit cards' PINs in case I forget those. Obviously, that file needs to be encrypted, so I ...
0
votes
2answers
108 views

Script to copy text including today's date into clipboard

I'd like to know if its possible in Windows for a script (or similar) to be written that will copy today's date and specific text into the clipboad, in the following format: dd/mm/yy - xx - xxx ...
0
votes
1answer
61 views

Create script to login and change time on unix Darwin

I work for a non-profit and recently had to take on some sysadmin responsibilities, and and it is a new area for me. We have a Apple X Server that is running Darwin, and from time to time, especially ...
0
votes
1answer
288 views

Batch to prompt for folder name and command, redirect to TXT file

What I'm trying to accomplish, is to have the batch file prompt the user to input their specific folder on our team's directory, and then prompt for a specific command to be used, and redirected to a ...
0
votes
0answers
67 views

Script bash start new process

Every time I run a bash script or a binary, it creates a new process and a messy display, the output text comes only when the process is done. I don't understand why it behaves this way, I would like ...
1
vote
1answer
2k views

How can a PowerShell script be automatically run on startup?

I have a PowerShell script to monitor an image folder. I need it to run automatically on startup. I tried to use MSConfig, but I could not find it in that list. How can I have the script ...
0
votes
1answer
53 views

How to let any user without root change specific network(qdisc) settings?

I have made a simple router from a Linux PC, for the purpose of simulating poor network conditions using qdisc (netem and tbf). Now, I want to allow any user to activate specific presets that I have ...
0
votes
0answers
465 views

How to disable chrome firefox from prompting unresponsive script message box

"A script in this movie is causing Adobe Flash Player to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?" the page is running fine even if ...
0
votes
1answer
38 views

How can I run a command at login?

I would like to run a command at login on my Fedora 19 GNU/Linux system. What is the best way to do this? Note: i am using the GUI. Thus, I could not simply place the commands in my .zshrc file. They ...
1
vote
2answers
107 views

How to log output of a part of a shell script

I'm looking for a concise solution for logging the output of a part of a shell script to a file. Additionally, I still want to be able to follow the life output on screen. From the man pages of ...
0
votes
1answer
142 views

Script to run after joining domain

Is there a possibility to do this? I want to run a script that defines my network drivers and runs an .exe after it joined the domain.
1
vote
0answers
117 views

Trying to make a symbolic link to a Powershell script

I'm trying to create a symbolic link with mklink through a Powershell script to a Powershell script on a remote server. this link should come on the desktop of all users. if(!(test-path -path ...
1
vote
0answers
313 views

Automatically mounting an encrypted USB disk at boot

I've followed these steps to set up an encrypted USB hard disk on Lubuntu 13.10, and these to unlock it with a keyfile instead of a passphrase. I now have a disk ...
1
vote
2answers
556 views

How can I run a command after boot? [duplicate]

I would like to run the simple shell command echo 1 > /proc/sys/kernel/sysrq at each boot, to enable the sysrq keys. When in boot should this be done, and where should I put a script to do it?
1
vote
2answers
68 views

if find ext then cp parent dir else echo not found

So far I have come up with this. if ls -1 ~/Downloads/*.mkv >/dev/null 2>&1 then echo 1 else echo 0 fi But what I would like to do is to then copy the parent dir of the ...
-1
votes
1answer
31 views

change a .bat file to omit extensions when listing files in win 7

dir /b > filenames.txt Re named to .bat gives me file names with ext, I want to list without extensions, Any ideas anybody
0
votes
1answer
16 views

How to convert image text to normal text with a tool or a script

I would like to know whether is there any tool or a script to recognise the text which is in .png format and get the output as a plain text.
0
votes
4answers
220 views

ubuntu script no such file /etc/init.d/ script

i'm trying to run this script at start up but this is constantly giving me error that /etc/init.d/put_ubuntu_users: 14: /etc/init.d/put_ubuntu_users: cannot open ~/data.txt: No such file This is my ...
0
votes
1answer
254 views

windows script to copy text from one file into a new file

I am noob at coding! I am trying to create a windows script that I can copy text from one file into another. My main goal is to find lines in the text with "started processing" and "file". I am hoping ...
4
votes
1answer
269 views

Simplest setup on Windows to send HTTP request, get and apply regex to response, and write match(es) to output file

I'd like to write a script that records the size of the close votes review queue on SO (currently ~95.5k), polling just a few times an hour, so I could plot a general trend. I know what I'm going to ...
2
votes
1answer
2k views

How to add a network (IP) printer using command line or a script?

My company will be deploying a bunch of laptops that will be used during a seminar for people to sign up for services on our website. At the end of the signup process they will need to print out a ...
1
vote
1answer
166 views

Monitor Web Page with Macro/Script

I am signing up for classes for my university; however, classes have filled up and I need to keep refreshing to check when/if classes have opened up. I have a specific page that I want to refresh that ...
1
vote
1answer
346 views

Problems elevating permissions while running a batch (CMD) file

I’ve put together a batch (CMD) file that we use to check various things on select servers. What is posted below is almost everything (minus sensitive info). If launched with the proper command ...
0
votes
0answers
56 views

Linux flow control exit or break on condition

I have a query about the following flow control. I need help to run a script that has these three conditions: Conditions: Successful: Proceed to read message. Fails: Exit to cat or just exit ...
0
votes
0answers
17 views

Automate login and wating

I am trying to write a script to do something wait x time and stop that something. For instance, I would like to ssh user@example.com wait $RANDOM%1000 Exit SSH then: vnc someuser someDomain ...
0
votes
2answers
47 views

Globally value not getting changed and also script not getting load

Basically I have to ask two questions through this explanation. I am using Red Hat Linux 6.0 ... using davinchi board. I have to change system clock resolution so I am changing HZ env var. For this I ...
0
votes
2answers
537 views

Using sqlplus as tnsping alternative

Is it possible to use sqlplus as an alternative for tnsping since tnsping wasn't installed with the oracle setup. I simply want to check via batch script, whether the definitions from the tnsnames.ora ...