A small program written to be read and executed by a command interpreter or another scripting language.
-3
votes
1answer
18 views
How scan for return values in python?
import ToBuildOrNot
needsBuild = ToBuildOrNot.run('MSS_sims')
if needsBuild is True:
print "The MSS_sims Needs To rebuilt"
elif needsBuild is False:
print "The MSS_sims does NOT Need to be ...
0
votes
0answers
9 views
Batch Script to verify login credentials
I am writing a batch script for my department, that can perform some remote restart and connection verification functions. However, I want to ensure that the person using the batch script has active ...
0
votes
0answers
7 views
omit file location in text file created using fsearch and random name generation of new files
I'm currently writing a batch file to search in a folder to find any .txt file, compare this file to a stock list, and then write 2 new files (one containing the items in the list, one without).
I ...
0
votes
2answers
21 views
Adding text to a PNG file
I want to add some text to a PNG file
Ideally with a script which I can then call from the command line
Anyone have any idea if this is possible and perhaps give me a few pointers to get started?
...
0
votes
1answer
10 views
Autohotkey Add Javascript Hash To Local URL
I can't seem to find an answer to this anywhere.
I have a script that opens a file with an acronym search page, but I want to append a ? and the clipboard contents to the URL (the page grabs the ...
0
votes
1answer
20 views
How do scan a script for return values from a upper script in python?
import os
import pdb
os.system("ToBuildOrNot.py MSS_sims")
for output in os.system:
if ToBuildOrNot is True:
print "The MSS_sims Needs To rebuilt"
elif ToBuildOrNot is False:
...
0
votes
2answers
16 views
calculate how long ago a file was modified
I need a script that calculates how long ago a file was modified. This can be days ago or just minutes ago.
I already was able to get the modification date and time from the stat-command. I stored ...
0
votes
0answers
10 views
Threads in a Rails script - NameError
I have a Rails script, which I run with the Rails runner... command and there are some threads in it.
In these threads, some constants are called:
match_metrics(BDDataTest)
BDDataTest refers to a ...
-8
votes
0answers
37 views
SyntaxError: missing ] after element list [on hold]
i've writed this code
what is this sintax error?
[16:15:09.616] -- GET http://img.photobucket.com/albums/v353/atarivcs/thisis.gif~ [HTTP/1.1 200 OK 39ms]
0
votes
1answer
7 views
Opening video camera via adb shell command
I've looked high and low, and no luck yet.
I am doing some more camera automation testing on android, and I need a shell way to switch between camera and video camcorder.
Opening the camera itself is ...
0
votes
1answer
16 views
How to create a script to launch android emulator
I would like to have a script to launch my android emulator without opend Eclipse or using a windows shell (commands example :cd C:..\sdh\tools.. etc emulator -avd ) but simply launching a script.
...
0
votes
0answers
17 views
Script - how to remove first line in text file
I'm trying the below script code for mass converting excel files into txt formats(without line feeds) and removing first line of that text file after the conversion .
After conversion i got only an ...
1
vote
2answers
23 views
Need help in displaying the output using shell script
Please help me in solving the below issue. I have a file:
mat rat
mat dog
mat matress
I need to display
rat
dog
matress
I have coded with sed command to display the output: sed "s/$up//g"
($up ...
0
votes
0answers
3 views
contactUsMailer error - Email trigger
I am trying to set up an email trigger for a Google Sites contact form. When the form submits it should send a notification to my email address.
This is the script I'm using:
function ...
0
votes
0answers
24 views
Issue with Copying Excel Cells
I am not sure if there is a solution to this issue. In Excel when you copy a cell the border starts moving/flashing. Only when that border is moving you are allowed to paste its contents into another ...