Questions tagged [scripting-language]

A scripting language or script language is a programming language that supports the writing of scripts, programs written for a software environment that automate the execution of tasks which could alternatively be executed one by one by a human operator.

A scripting language or script language is a programming language that supports the writing of scripts, programs written for a software environment that automate the execution of tasks which could alternatively be executed one by one by a human operator.

Scripts can be written and executed on the fly, without explicit compile and link steps; they are typically created or modified by the person executing them. A scripting language is usually interpreted from source code or bytecode. By contrast, the software environment the scripts are written for is typically written in a compiled language and distributed in machine code form; the user may not have access to its source code, let alone be able to modify it.

For more information see Wikipedia Entry about Scripting language

275 questions
0
votes
1 answer

VBSCRIPT: Ignore files created today

I am running an program that uni-directly copies from source to destination. The following script runs in conjunction and skips any files with a "date modified" equaling the same day the program is running. I'd like to modify the script to skip any…
0
votes
1 answer

Declarative language to describe abstract objects and behaviour

I don't know a lot about declarative languages. I'm looking for simple and minimalistic language to describe objects, their attributes and a way that they react when any environment event occurs. I would like to use, process and write this code from…
Krzysztof Stanisławek
  • 1,267
  • 4
  • 13
  • 27
0
votes
2 answers

Shell Scripting: read input from command output

Why does the following code gives only first line from ps -eaf output in ps.out? while read line; do echo $line>ps.out; done < <(/bin/ps -eaf)
rahul
  • 6,447
  • 3
  • 31
  • 42
0
votes
1 answer

Can scripting language and interpreted language force garbage collection?

In javascript, you can't force garbage collection to happen, instead you have to wait for the interpreter to automatically collect it. Does this behaviour exist in interpreted languages like Python and Java as well?
hh54188
  • 14,887
  • 32
  • 113
  • 184
0
votes
0 answers

VM that works with Java & android

I'm looking to embed some kind of scripting language so that I can use it to handle my map's scripts. I don't want to compile stuff during application's execution - only run the precompiled bytecode. I saw things like luaj, but I'm looking for…
0
votes
1 answer

Running a C++ program on a web page

I have a C++ program that generates a random sentence (with a word bank read from an accompanying text file) when it is run from the command line. I have a personal, low-traffic web page, and I would like to make this program run on the page (e.g.,…
norman
  • 5,128
  • 13
  • 44
  • 75
0
votes
0 answers

How to correctly implement a script parsers exception handling

I'm having a little bit of a design problem with my scripting language that I'm creating for my C++ game engine. What I'm trying to do is have an object named SScript call a method to load necessary files, and check the script file's suffix. I also…
Peter
  • 328
  • 4
  • 18
0
votes
3 answers

scripting languages native to windows for remote users support

I work for a application dev company but I am in the support side of it. I am looking to run scripts on to remote-host (logmein Rescue Technician Pro). Our clients all run windows machines and the oldest OS version we support is XP SP3 and the…
0
votes
2 answers

Replacing a string in all config files across machines with a script

I have the below task and I am wondering what would be the best and quick way to do this. I am thinking scripting rather than a C# app but struggling with scripting in DOS. I wanted to use powershell but not sure if all the machines have powershell…
0
votes
2 answers

Programming game in flash/as3

I have a bunch of ideas for different games (for programmers) where you have to write some program to complete the puzzle; The language shouldn't be too complicated and I even started thinking about a graphical language like Scratch…
Christopher Lightfoot
  • 1,147
  • 1
  • 11
  • 27
0
votes
1 answer

Rename a vbscript process

When we run a *.vbs file, in processes, we used to get "wscript.exe". We can change this "wscript.exe" to our custom name by creating a shortcut and executing the shortcut. Is it possible to display the current *.vbs file name in process, without…
Gokul Nath KP
  • 15,485
  • 24
  • 88
  • 126
0
votes
1 answer

VB Script does not recognize the actual parameter

I've two VB Scripts. Say First.vbs and Second.vbs. Frist.vbs calls Second.vbs each time some action/event happens. I am trying to send two parameters from Frist.vbs to Second.vbs using the following code: Contents of First.vbs: Set objShell =…
Gokul Nath KP
  • 15,485
  • 24
  • 88
  • 126
0
votes
2 answers

How to exit all the VB Scripts which was started by me

I have two VB Scripts, say First.vbs and Second.vbs. First.vbs calls Second.vbs each time some action/event happens. I want to write a new VB Script, say Third.vbs, which terminates all the instances of First.vbs and Second.vbs including itself,…
Gokul Nath KP
  • 15,485
  • 24
  • 88
  • 126
0
votes
1 answer

Error in regex formulation for web scraping in python

I am trying to scrape some information from a website. I require 8 fields of information, I have got it for 5 fields, but 3 fields are always coming empty. I think there is some mistake with my regular expression formulation. I am doing it in python…
Steve
  • 1
  • 7
0
votes
1 answer

gnuplot and Shell script read many files and create graphs

ok I am trying to plot graphs for a different set of datafiles (9 in total) So i created this shell…
user1814718
  • 31
  • 2
  • 7