scripting

BASH copy all files except one.

I would like to copy all files out of a dir except for one name Default.png. It seems that there are a number of ways to do this. What seems the most effective to you? ...

all the script is running before the Images are loaded. In Action Script 2.0

I have a Image loading Issue. Where in, all the Images were getting loaded at the same time & because of this all the versions IE browsers were getting hanged. (I have around 100 Images to be loaded. a total size of 32.5 MB) Mozilla was working fine though. So I decided to download each Image at a time using a preloader. Below is the sc...

Suggestions for choosing an automation QA package?

What QA package offers the widest possible support and is the easiest/fastest to develop for? The qualities I am looking for are: widest support of scripting languages, or which language your preferred package supports capability to test webpages for interaction against forms and user interfaces capability to test data input for quali...

What is applescript and what is it used for?

What is applescript and what is it used for? ...

Temporary image upload script ?

Hey guys! i just want to know if you know any free image upload script where you upload your images temporary. I need the image files to be deleted over time. ...

Declaration of Scripting.Folder in VB6.0

To find delete folder, in my code in use a varaiable with the following declaration "Dim Folder as Folder". It was working fine for years. But suddenly when exceuting the line "Set folder = fso.GetFolder(strParamPath)" it gives "Type mismatch" I dont know why suddenly this error has come. So I changed the declaration to "Dim Folder as Sc...

get ouput from shell script back into a makefile

I've tried something like this: VAR := $(echo \`find . -name ".txt"`) but when I echo $VAR from inside a target, I get nothing... ...

Type code in to a text input form, how?

Hello! i have this image upload script. <?php if(isset($_POST['submit'])){ if (isset ($_FILES['new_image'])){ $imagename = $_FILES['new_image']['name']; $source = $_FILES['new_image']['tmp_name']; $target = "temporary_images/".$imagename; move_uploaded_file($sour...

Unix: Regex and Wildcards

The reply in my post states that pattern "*@he.com" is not a "correct regexp". Actually, it is not a regex at all, rather wildcard, things like: find . -iname ".gi*" The above example in Regex would be find . -iname "\.gi.*" Questions about Regex and Wildcards How can I use only Regex instead of wildcards? Where do you really n...

Extending C# .NET application - build a custom scripting language or not?

I need to build a scripting interface for my C# program that does system level testing of embedded firmware. My application contains libraries to fully interact with the devices. There are separate libraries for initiating actions, getting output and tracking success/failure. My application also has a GUI for managing multiple devices a...

Executing Python Scripts in Android

This link says that Android support Python, Lua and BeanShell Scripts, subsequently for Perl too. If it is so, is it possible for developers to write python scripts and call them in their standard Java based android applications? ...

How to create a script/macro on windows XP?

hi there*.sh im not really feeling home in the windows world but at the moment i have to use a laptop with windows xp installed on it... the point is, that i do not have administrator privileges. Im currently working on a grails application and therefore I have to set the JAVA_HOME and GRAILS_HOME eacht time, I start the machine... Could...

Error messages show up in the pop-up window, how to fix?

Hello! I have this signature generator script. And when the images you upload does not meet the requirements the user recieves an error message. The problem here is that the error message shows up in the uploading pop-up, is there any way to show the error messages in the original page instead? Here is my signature generator script. ht...

PowerShell analog to "dir /a:d" (Win) or "ls -d */" (Bash)

I simply want to list all of the directories under my current working directory, using PowerShell. This is easy from a Bash shell: ls -d */ or cmd.exe in Windows: dir /a:d Using PowerShell however I cannot seem to be able to do it with a single command. Instead the only the I've found that works is: ls | ? {$_Mode -like "d*"} Th...

Automatically run a logon process from IE

I need to write a script which will post username and password onto a server url, fetch the session cookie and save it into IE's cookie directory. Basically I want a script to automatically log me into a site simply by running it. Any help on how to do it? Anything from C, VBS to python, perl will do. ...

From cmd.exe script, how can I schedule a task to run on next boot (and never again)?

As part of a very simple cmd.exe install script, I need to run a program the next time the machine reboots. I don't want it to run after that (it's a one-shot configuration tool). The program will actually be another cmd.exe script but any example should do since I can run cmd /c on the script itself. What's the best way to go about do...

Running a script from Groovy

In order to get my setup a bit closer to "one click deployment", I would like to use groovy scripts to start/stop other processes controlled by bat scripts, running in different parts of the filesystem and even on different machines. How to execute these scripts and how to do it from their respective working directory? I know Java's ...

Powershell window disappears before I can read the error message

When I call a Powershell script, how can I keep the called script from closing its command window. I'm getting an error and I'm sure I can fix it if I could just read the error. I have a Powershell script that sends an email with attachment using the .NET classes. If I call the script directly by executing it from the command line or ca...

T-SQL "re-runnable" database update scripts - column deletion

For our SQL Server database, we're using a versioning scheme to track schema updates. The idea is that you should be able to run this script to bring the schema from any previous version up to the current version. Running the master script again should only execute the newest schema updates. The structure of the script is like this: ...

How do I create a directory on remote host if it doesn't exist without ssh-ing in?

I'm not sure if this is possible or not, Basically, I'm writing a script that allows me to scp a file to my hosting. This is it so far. Arg 1 is the file and arg 2 is the folder i want it to be placed in on the remote server function upload { scp $1 [email protected]:$2 } As you may/may not know, if the directory I specify wh...