automation

Application does not accept keystroke

I am trying to send keystrokes to the application VisualBoyAdvance using AppleScript, but I cannot get it to work. My code, so far, is this: tell application "VisualBoyAdvance" activate tell application "System Events" keystroke "k" end tell end tell When I tell VisualBoyAdvance directly, I get this error: erro...

Ole 800A03EC error when using TExcelWorkBook SaveAs method in Delphi 7

I am trying to open excel 2003 workbook and save it as something else, for example excel 95. I use the following code: XLSApp:=TExcelApplication.Create(Self); XLSApp.Workbooks.Open(SomeFileName,NULL,false,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,defaultlcid); XLSWB:=TExcelWorkbook.Create(XLSApp); XLSWB.ConnectTo(XLSAp...

How do you write a ksh script that automatically fills in user input?

Is there any way to automate the user input in a ksh script? I realize that in many instances you can create an expect script to do exactly what I am saying, but expect is not installed on the server and there is no chance of that occurring in the near future. But I still need a method of automating user input so the only reaction requ...

Ruby and WIN32OLE: Cannot call WIN32OLE_TYPE methods (Type Libraries)

Okay, so I'm doing some good OLE' (sorry) automation with ruby and I ran into a weird problem. I'm trying to extract some data from a Type Library. This works in VB: Dim c As New TControlsLib.LangCombo Dim l As TControlsLib.Language Dim converter As New TControlsLib.LcidConverter c.AddAllSystemLanguages mtAllKnownLanguages, True For Eac...

Web Site -> Web Application conversion: Can I automate adding the references?

In my company, we've been converting .net "Web Sites" to "Web Applications". I have become the go-to person for this task. In order to accomplish this, I create a new project, copy all the files from the "Web Site" and include them in the project, and run the "Convert To Web Application" tool to create the "design" files. This is tota...

Automation testing tool for Regression testing of desktop application

Hi I am working on a desktop application which uses Infragistic grids. We need to automate the regression tests for same. QTP alone does not support this, we need to buy new plug in for same which my company is not very much interested in. Do we have any open source tool for automating regression testing of desktop application? Appli...

How to execute a javascript every time i open a specific website in Firefox?

Actually, the problem is every time i access zedge.net i have to select my phone from the list. Now, what i can do is, once i click on 'no phone selected' i can write: javascript:zlibQuicklinkPhone(2, 1476, 0); in address bar and pressing Return key will select my phone. But i want this to be done automatically. How can i do this? Not...

Emacs batch publishing with Rudel

I am using Emacs and Rudel to do remote pair programming. In order to publish the current buffer with Rudel you do: M-x rudel-publish-buffer Likewise the other person must subscribe to each buffer one by one: M-x rudel-subscribe RET <buffer name> RET Is there a way to publish or subscribe to all buffers with one command? ...

Silktest void 0 bug?

I'm running some tests with Silk and it keeps throwing this error "void 0". Does anyone have any idea how I can stop this code from executing? My platform is XP SP3, and FireFox 3.6. Anyone have any ideas? ...

Excel range usage question (cell error checking)

I have the following error for every cell: "the number in this cell is formatted as text or preceded by an apostrophe" To duplicate the error: I have to store this results that come from a Web services as strings array: Sample: (3 by 3 array) $402,568.03 26.2% 30,052 $107,719.59 7.0% 55,176 $81,370.35 5.3% 54,365 let values ...

Is there a way to control a third party exe from vb.net?

My goal is to control an application from VB.Net. There is no API, and I do not have the source, only the compiled exe. Is there a way to find the opened application, find a button within the application, click a button and know it was clicked? Is there a way to read the contents of a textbox within the application? ...

automation of data format conversion to parent child format

This is an excel sheet which has only a single column filled for each row. (explanation : all CITY categories fall under V21 , all handset categories fall under CityJ and so on ) V21 CITYR CITYJ HandsetS HandsetHW HandsetHA LOWER_AGE<=20 LO...

Automating an application

I've always wondered the best way to automate use of a GUI in windows. When I was about 15, I wrote a little application that used some simple Windows API functions to automatically click on certain locations on the screen based on a script. This could be used to automate GUI applications, but surely it's not the best way. So, my quest...

Automation: how to automate transforming .doc to .docx?

I have a bunch of .doc files in a folder which I need to convert to .docx. To manually convert the .doc to .docx is pretty simple: Open .doc in Word 2007 Click on Save As... Save it as .docx However, doing this for hundreds of files definitely ain't fun. =p How would you automate this? ...

how to automate / script processes like signups .

which is the best tool for this - Automation of signup process to a website , e.g an email signup The tool should be able to take data from an external data file like an excel of csv file this data file would contain data such as first name , last name , username, password etc. basic data required during an email signup . I am imagin...

How can I execute a bunch of editor commands stored in a file in VIM?

I have read the other posts, e.g., http://stackoverflow.com/questions/1830886/vim-executing-a-list-of-editor-commands and others. The answer isn't clear to me for my case. I have some editor commands that I generated from an SQL query. It uses :s/foo/bar to change country codes (from FIPS to a non-standard code set). Here's a sample of t...

A better way to compare XML docs?

In my current project we have a large repository of content that was originally published in book form. Much of this content was published in both English and many foreign languages, using mostly Quark Express and later InDesign. This content was exported into a custom XML structure for storage and future use. The issue is that the Engli...

When has a human-based service replaced an automated one?

I'm looking for examples where a human-based service replaced an automated one. For example, machine translation (although suboptimal in quality) largely replaced human translation in many areas -- can anyone think of where the opposite has occurred (especially with regard to today's industry)? Edit: Before you downvote because this doe...

Automatic structure initialisation in c/Linux

I am back into c/Linux. The question might look stupid, but relevant after working in c# etc. I have some structures inside structures and the hierarchy level is more than 5. In such a case, I am doing an initialisation of every structure at the beginning explicitly. I know c does not have a new() method that will do it for you. Now I w...

Is there a tool for managing redundant pages across a website?

I am in charge of constructing a website with a '2-dimensional' site map, as explained later. I am looking for (preferably a Wordpress plugin, as the site is built in Wordpress already) that would make managing thousands of pages a lot easier. To explain further, let me iterate my situation. I am building a website for a construction ...