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

AHK IfWinActive with partial title

I would like to set a hotkey ONLY at the Contact dialog of Outlook 2013 to access directly to the "Notes" field Can someone help me out to have this script work? SetTitleMatchMode, RegEx ...
1
vote
1answer
9 views

Outlook 2013 rule or script to automatically set follow-up for the last day of the month?

Every month I receive an e-mail somewhere around the 15th. I would like to create a rule that automatically sets a follow-up reminder for the 30th of the month. I don't see any way to do that with any ...
0
votes
0answers
17 views

Is it possible to script Windows GPO configuration tasks?

I have a login script on my domain that is configured through Group Policy Management (Start -> Administrative Tools -> Group Policy Management), as per this screenshot, logged on to a Windows 7 ...
1
vote
0answers
9 views

Run a ppsx slideshow before explorer.exe loaded when PC startup using login script

My company would like to broadcast some message to all user. They would like to show a message on the screen when user's windows startup. We prepare a ppsx slideshow file for the broadcast. I am ...
0
votes
1answer
23 views

Getting a URL from search results based on a query, and updating in a web page

Trying to find a way to do this process on a daily or even hourly basis: Go to Amazon and search for "item" Find a specific product in the search results (it will always have the same title) Capture ...
0
votes
1answer
18 views

How to use batch file to do X if it's ran on a laptop?

How do I write a batch file to do different things based on whether it is ran on a desktop vs. laptop? E.g. if on desktop, install x. If on laptop, skip x and install y instead. Edit: Windows 7 ...
0
votes
1answer
18 views

How to set Photoshop File Associations via command line

I am trying to re-associate .psd files with Photoshop CS6 via command line. I feel like this should work. But it is not. assoc .psd=Photoshop.Image.13 ftype Photoshop.Image.13="C:\Program ...
0
votes
1answer
34 views

How can I stop a PowerShell script from running?

I have (so far unsuccessfully) tried to install SharePoint on my Windows 7/8.1 laptop. It fails when installing a particular prerequisite (Windows Identification something-or-other). But that's not ...
0
votes
1answer
28 views

Simple autoit script to toggle Caps Lock on and off in Win7

I am looking for a simple autoit script that will toggle the Caps-Lock and/or Num-Lock keys on and off to stop my Windows 7 laptop going to the screensaver and locking. These options are grayed out ...
0
votes
1answer
28 views

How to remove network-manager access from LightDM?

I'm running Ubuntu 14.04. I didn't like how LightDM gave access to network manager before anyone has actually logged in... So I added 'network-manager stop' to rc.local. It works just like how I ...
0
votes
1answer
27 views

PrimoPDF script error - twitter.com

When running PrimoPDF, I get the following script error: An error has occurred in the script on this page. Line: 0 Char: 0 Error: Script error Code: 0 URL: http://platform.twitter.com/widgets.js If ...
1
vote
1answer
26 views

Possible to automate setting of Internet Explorer settings?

Is it possible to automate the setting of some Internet Explorer settings through some sort of self-contained script or program (and not something like Group Policy or domain controlling)? In ...
0
votes
0answers
14 views

Configure a script for specific batch processing in VirtualDub

I am trying to figure out a way to batch process these files. http://i.imgur.com/CRBUCMU.png and, as you can see in the picture, a .wav file with the name of the archives. The thing is, each video ...
0
votes
1answer
27 views

Exit bash script when curl gets a non 200 HTTP status

I have a bash script setup to perform a few curl requests for currency in EUR INR JPY do curl -i --data '{"currency": "'$currency'"}' -H "Accept: application/json" -H "Content-Type: ...
1
vote
1answer
20 views

Is it possible to perform Windows boot-time actions before paging is enabled?

I would like to perform some actions at Windows boot time before paging is enabled. I know I can run startup scripts with Task Scheduler or with group policy startup scripts. My question is whether ...
0
votes
0answers
17 views

gmail: automatically edit subject line to include something from body, like paypal transaction id [migrated]

Here is the problem, and you can search and find lots of people who complain about it: Let's say you sell something (e.g. run a small business selling on the internet) and you use PayPal to accept ...
0
votes
1answer
32 views

integer expression expected error when trying to run a command on each line

I am trying to essentially run a command on each line of a file. Below is what I have so far. I want to be able to take each line, take the last column from it, run a command on the integer and if it ...
-1
votes
0answers
25 views

Come back to script main menu after command execution ends

I'm working on a simple task automation script and this is what I have done: #!/usr/bin/env bash PS3='Please enter your choice: ' options=("Prepare environment" "Create new group" "Add users to ...
2
votes
1answer
31 views

How to remove substring in Powershell script

This script is almost what I need: $input_path = 'C:\Common' $output_file = 'C:\Common\extracted.txt' $regex = 'assets' Get-ChildItem -Path $input_path -Filter *.txt | Select-String -Pattern $regex ...
0
votes
1answer
23 views

Prompt for values until press ENTER key with empty value

I'm working in a bash script for automatize some tasks. This is what I have done until now: #!/usr/bin/env bash PS3='Please enter your choice: ' options=("Create new group" "Add users to group" ...
0
votes
0answers
5 views

Reconnecting a virtual keyboard

Background: At work, I use a PC laptop connected to a docking station. On the docking station, I have plugged in my Logitech G510S gaming keyboard (I utilize the hell out of the extra G keys for ...
0
votes
1answer
42 views

bash command in python not working

I would like to run a bash command from python. My code: process = subprocess.Popen(('ifconfig -s'), stdout=subprocess.PIPE, shell=True) output = process.communicate()[0] lcd.message(output) sleep(2) ...
0
votes
2answers
24 views

New to scripting and need help running powershell script to deploy software. (powershell blocked execution) [closed]

The following script was written for me. My problem is that when our remote deployment system executes the script, Powershell on the local machine will not run the script. It has no problem running ...
2
votes
1answer
118 views

Run a remote script/application in detached mode in Ansible

I am having trouble running a remote application startup script "detachedly" from an Ansible playbook. The script will run, but I can't get it to get/stay detached. I am probably doing something ...
0
votes
1answer
15 views

How to call in one line multiple processes in serie

If I run the following script with 3 lines: process1 process2 process3 then process2 will wait for process1 to start, and the same will happen with process3. How can I do the same in only one line ...
0
votes
2answers
35 views

Finding a file with vbs and the open the location folder

is there a way to make a script in vbs (or other) that search in each hard drive partition for a file and then opens the location folder of the file if the file was found? So if I want to find the ...
1
vote
0answers
15 views

How to burn multiple sets or groups of MP3s with multiple drives simultaneously

I have lots of MP3s that I need to burn into multiple audio CDs. I manually select 80 minutes or less of audio at a time, using multiple sessions of k3b with multiple CD-R drives to burn ...
0
votes
0answers
21 views

Need help on renaming of files in a remote server using batch file

I need to rename a file in Server B using a batch script. This is easy: rename \\servername\path\test.txt test.old On Server B, I have an application that will create a file daily at 9pm. Eg: Every ...
-2
votes
1answer
33 views

AHK Anagram solver [closed]

I'm trying to make a "real time" anagram solver, but the only way I can think of is gonna take AGES to make. for example with the word tree: ::reet::tree ::eret::tree ::eert::tree ::teer::tree ...
0
votes
1answer
50 views

how to get files list in a folder with batch file without file extensions

What I used is below and its perfect but results are with file extension.(ABC123.pdf) dir /a /b /-p/o:gen >C:\WINDOWS\Temp\file_list start notepad C:\WINDOWS\Temp\file_list I need results ...
0
votes
0answers
10 views

Visual Studio: Display different files as one underneath each other (as “autopager” browser-extensions do for websites) / scroll through them

does any of you know a way or an addon to "scroll through" different files in VSs editor? When starting a project I sometimes have quite a lot of files each of them being quite small and me jumping ...
0
votes
0answers
26 views

Piped processes in upstart shell script continue running after stopping

I have an upstart script on my CentOS box that runs a shell script. The shell script runs a netcat command whose output is piped through a couple other commands and then ends up in a file. When I ...
0
votes
0answers
33 views

How to create a script to intelligently .zip numbered files?

I have a directory with a bunch of files with numbered file names (e.g., 002361). I'd like to write a script to regularly .zip them (or .rar, or .7z) based on their file names AND only update the ...
0
votes
1answer
72 views

Automate Update with script ( Flash, Java, Reader )

I'm deploying over 10-20 computers every week and have to update each computer manually. Is there a script that I could use that: Checks-Version, Downloads-New-Version, Updates-New-Version. I ...
1
vote
3answers
94 views

How can I run a Python 3 script?

I want to run a Python 3 script. I have looked in the official doc and FAQ, and they are the typical loss. I was looking for answers, I ended up with more questions. I have Windows and Linux. On ...
0
votes
0answers
12 views

How can a Nautilus script be run for an empty directory?

I have a Nautilus script that can create multiple directories at once using mkdir with the option -p. The script is effectively the following: directoryStructure="$(zenity --title "make directory ...
1
vote
1answer
79 views

Why does this script work as expected in 'curl', but not in the browser?

I have a script which when accessed with the HTTP protocol will send some data, pause for a few seconds, then send some more data, repeating until all the data is sent. When I access it in curl, it ...
0
votes
1answer
52 views

ahk script tweak for 2 instances

I’m trying to create two different hotkeys that launch two independent instances of an application. When the second one is open a “[2]” is added to the title of the Window, which is very useful to me. ...
0
votes
1answer
46 views

ahk WinMove not working in a faster machine

is it possible that in a faster machine AHK WinMove feature does not working and needs something else? I'm positive that the same script works in other slower computers, that means arrange my screens ...
0
votes
0answers
43 views

Run an interactive script with administrator privileges, before user login

Windows 7. I have a script which mount a TrueCrypt partition and share it across a LAN. Because this script must run with administrator (at least power user) privileges, I place it in gpedit.msc -> ...
1
vote
1answer
35 views

BASH Script: Why Do My Variables Not Work

I'm trying to use some script variables in a BASH script to my code more clear. However, for some reason, my variables are not being expanded/uses. Nothing simply happens when I use the variable to ...
1
vote
1answer
35 views

BinScope and ArgumentException: Illegal characters in path

I'm catching a System.ArgumentException: Illegal characters in path when trying to script BinScope from the command line. BinScope is an SDLC audit tool from Microsoft, and the full output is below. ...
0
votes
3answers
51 views

Automating User Input / KeyStroke For a Program

I've read about this problem on related posts found here at Superuser; however, my issue is slightly different and potentially difficult to solve: I am working with a phylogenetic program called ...
0
votes
0answers
32 views

Allow Tampermonkey scripts in ScriptSafe in Chrome

I am using Google Chrome with Tampermonkey and ScriptSafe extensions. ScriptSafe blocks all the scrpts installed in Tampermonkey. I am wondering if there is anyway to make ScriptSafe to allow ...
1
vote
1answer
39 views

How can I create a script to randomly play an audio file in a designated folder?

I'm attempting to use VoiceAttack to give a voice command to play a song. I'm looking to create a script to randomly play a .mp3 file from a specific folder. I'm on Windows 8.1 My scripting ...
-2
votes
3answers
478 views

Bash- How to make a Linux script file human unreadable? [closed]

I have seen many Linux scripts that are executable but cannot be read as they are in binary format. My question is how I can make my script not readable/binary format?
0
votes
1answer
66 views

How can I run a Rails server when I start Ubuntu?

I need to run this command cd /my/app/path&&rails s every time I start my Ubuntu virtual machine. I've tried to add it to /etc/rc.local file and also in /etc/init.d/rc.local but it ...
0
votes
1answer
43 views

Powershell script to open random video

I was looking for a way to open random video file in my folder which has about 400 videos (20 videos in 20 subfolders). I found a powershell script and managed it to work, but every time I run it I ...
0
votes
1answer
52 views

Use nbtstat to return list of host names in IP range?

In Windows 7 I'm using the command for /l %i in (1,1,254) do nbtstat -a xxx.xxx.xxx.%i to return host names based on a given IP range. But the output is so long and unfriendly. How could I improve ...
4
votes
1answer
64 views

Can I create a “file” that, when opened, actually gives the output of a command?

I've found myself in a couple of situations now where I'd like to have such a "file" that essentially runs a script whenever it's "opened", allowing me to "read" it's output. For example, I might ...