Do Word documents have any scripting capabilities for presenting dynamic information? What I want to do is have the document dynamically pull in the contents of an HTML file and append it at the end of the document every time it is opened.
Anybody know if this is possible?
...
I'm seeking suggestions for tools I can use on Windows to perform simple scripting and general Java development related tasks on a command line or other non-GUI interface (i.e. moving files about, starting/stopping servers, running Maven, etc.). I'm accustomed to using Cygwin which provides a virtual Linux development environment but I ...
Is there a way to run command line commands through Ruby? I'm trying to create a small little Ruby program that would dial out and receive/send through command line programs like 'screen', 'rcsz', etc.
It would be great if I could tie all this in with Ruby (MySQL backend, etc.)
...
hi I have the following file How to remove by sed all FILE NAME lines except the first uniq FILE NAME For example need to remove all FILE NAME lines from the file except the first:
FILE NAME: /dir1/dir2/dir3/dir4/dir5/file
FILE NAME: /dirA/dirB/dirC/dirD/dirE/file
the file:
FILE NAME: /dir1/dir2/dir3/dir4/dir5/file
PARAMETER NAME: bl...
(AIX/ksh)
i have a chinese file ...i cant able to open it in aix using cat fully...if i give cat then some contents are missing...and if i give cat -v it is giving wierd code....even i tried with while loop to read contents,but not working...with more command i can but i cant use more in shell scripting...so please shed some idea here......
My Actual Problem was to auto execute a sh file to another host and return that output in my system. Is this possible??
"" I've to execute file @ host2 and get write input @ host1 ""
...
Hi everybody. I want to perform the following actions.
The msg is sent from my app to other iphone.
The recipient opens that msg.
I want to execute some scripts(like some kind of animation or something) as soon as the msg is opened in iphone.
So is this kind of action available in iphone? can i execute some kind of script like perl o...
I am traping a signal SIGINT in one of my script I am writting for my project.
trap sigint_handler SIGINT
I am having signal handler
sigint_handler()
{
# echo caught signal, now quiting....
exit $?
}
So now when the script gets a CTRL+C signal it gets it and exits.
And on terminal it prints this message:
$^Killed by sig...
Hello, I've considered making a closed source project, but if I made it then I'd want to make it in Ruby. Ruby is interpreted though. Other similar languages to Ruby include Python and Perl. How would you best distribute your code without giving away all the logic(at least easily readable)? And what about meta programming? Do obfuscaters...
I have a Python script and a JS on my server. In the python script, I want to set the value of a variable to be the output of one of the functions in my .js file.
Is this possible, and if so how wold one go about doing this?
Thanks!
...
Hello,
I am trying to create a scripting addition but it does not work: When I send teh apple event to an application, I have the message: no handler for this event.
I've tried to install my osax in /library/scriptingadditions but it still does not work.
Any idea on where can be the issue?
Thanks in advance :)
...
Hello everyone,
I try to find out how to use complex numbers in QtScripts such that slots defined with complex arguments can be called from a QtScript. Also basic algebra (+,-,exp, ... ) of complex-numbers should be accessible to the user from the script.
Just for illustration want I want to call is:
#include<complex>
typedef complex<...
Hello,
I want to import a class that I made in my project, into my script
I did this but it doesn't work:
function doFunction(){
//Objectif Mensuel
importPackage(java.lang);
importClass(KPDataModel.KPData.KPItem); //ERROR HERE, this is my class that I want to import
KPItem kpItem = kpItemList.get(0);
System.out.println(kpItem....
I'm creating a Custom Google Map based on an image in an Adobe Illustrator file. I need to cut the file into 256px x 256px PNGs to feed into the Google Maps API.
You can write scripts to automate tasks in Illustrator using ExtendScript, a modified version of JavaScript. I found one example of a script for Photoshop that makes tiles ...
Hi all,
I have a DB2 script which I know works because I ran it by selecting each statement and running it. (has only a couple of statements). Now the issue arrises when i select the whole query and then Execute it, I get some wierd errors. but if I select the whole query and do "Execute Current" it runs fine without any errors.
Can s...
I am new to shell scripting.
I want to know is there a way in which I can get a difference of two strings or values of two variables.
There are two variables:
value1 = "alok"
value2 = "kumar alok"
so I want to get a result as
result = value1~value2
my expected result is
result="kumar"
is there any way I can do it?
can some...
I'm writing a script to execute CURL commands for a given user input. The script has multiple helper function to create the list of parameters (arguments) that will eventually be passed to CURL.
A stripped out example, is as follows :
#!/bin/bash
function create_arg_list
{
# THIS HTTP HEADER VALUE COMES FROM THE USER and MAY CONTAI...
This might be really obvious, since I'm kind of new to Powershell, but what's the best way to run a Powershell script on one computer that accesses another to run a Powershell script on that one? I'm using V2.0 if that matters.
...
I'm working on a .NET library that is intended to be consumed in a VB6 project. To set up the dll to be used on my developer machine, I use regasm and gacutil, like so:
regasm /tlb:MyDll.tlb Mydll.dll
gacutil /i Mydll.dll
On each subsequent call, I also unregister/uninstall the assembly:
regasm /u /tlb:MyDll.tlb Mydll.dll
regasm ...
Hello,
I have a class model designed for a person class in python. where a person is a student and can have 0,1 or many advisors.A person can also have other attributes like name,school,year of graduation,classification he worked on,degree he obtained and so on.
I have set and get methods for each of these attributes in the class.
Ex. ...