automation

Visual Studio Intelligent Project Templates

I need to construct a Visual Studio project template that has a certain amount of intelligence. I've discovered a way to get Visual Studio to call my custom code upon creation of a new project from my template, the custom code displays a dialog box and gathers information from the user, then defines additional substitutions that the proj...

Please Recommend a Simple Automated GUI recording application?

I need to have an application simply record mouse gestures and keyboard strokes that will then be able to play this recording back. I will run this on a few computers on the network to simulate multi-users. The app does not need to create any output scripts or code I just want to run the recording over and over again. I'm not sure if...

Adding an autoincrementing SNO column in Rails Scaffolding?

Is there a way in which I can create a serial number (SNO) column through scaffolding in Rails which increases on adding a record, decreases on deleting a record and cannot be modified manually? ...

How do I automatically upgrade Silverlight 3 out-of-browser application?

How do I automatically upgrade Silverlight 3 applications and start the new upgraded version without user interaction? I know that I can download and upgrade to new versions of the Silverlight OOB-app using Application.CheckAndDownloadUpdateAsync() but I don't know how to restart the application after that. (The Silverlight applicatio...

Automation in Eclipse

I am using Eclipse and have a few simple tasks(such as uploading files to a server) I would like to automate. Where should I be looking, is something like ANT applicable here? Any pointers appreciated. ...

installing MSMQ with bat file or some automated stuff

We are creating a service which requires MSMQ, and it might happen the boxes where we install doesn't have MSMQ installed. So I want some mechanism which can install MSMQ as a prerequisite when installing my service. Any suggestions?? Some how i manage to find from the below answer I am using the below in the .ini file & bat file but ...

Programmatically convert *.odt file to MS Word *.doc file using an OpenOffice.org basic macro

I am trying to build a reStructuredText to MS Word document tool-chain, so I will be able to save only the rst sources in version control. So far I -- Have rst2odt.py to convert reStructuredText to OpenOffice.org Writer format. Next I want to use the most recent OpenOffice.org (currently 3.1) that do a pretty decent work of generating...

Why saving of MSWord document can silently fail?

I need to change some custom properties values in many files. Here is an example of code - how I do it for a single file: import win32com.client MSWord = win32com.client.Dispatch("Word.Application") MSWord.Visible = False doc = MSWord.Documents.Open(file) doc.CustomDocumentProperties('Some Property').Value = 'Some New Value' doc.Save(...

CreateDispatch causes Vista to get all twitchy

I am creating an instance of word by calling CreateDispatch("Word.Application"). This works fine except in Vista it causes the dialog about the server being busy to come up and you have to keep hitting the "switch to" button several times. Each time you do it pops up the start menu until it finally opens word. Anybody know why and if the...

create agenda that automatically adjust time in word 2007

hi, how will i create a table based agenda in word 2007 that will automatically updates the time assigned to each speaker when ever i change time allocations i want to create some thing like this which is an excel sheet but want to do this in word http://office.microsoft.com/en-us/templates/TC300013331033.aspx?CategoryID=CT101172311033...

SQL Server 2008 automated database drop, create and fill

For the database in my project I have a drop/create script for the database, a script for creating tables and SPs and an Access 2003 .mdb file with some exported values. To set up the database from scratch I can use my SQL management studio to first run one script, then the other and lastly manually run the sort of tedious import task. ...

How to write test automation tools like QTP and winrunner using .net?

I would like to know how test automation tools like winrunner, QTP etc work. Whether these tool use any test API provided by windows or they depened on IPC and events. I could not figure out how they work. For me QTP record and play feature seems to be a magic.Any guidance will be highly appreciated? ...

Word Automation and the Running Object Table

I am using the ROT to find any active MSWord instances. In some versions of word the document does not get registered in the table, instead it is registered as the NORMAL template and so I can not find the document by it's title as documented by microsoft. Anyone know of a hotfix for this? ...

XStream short dynamic aliases

I want to have short names for classes, now i can do it with aliases XStream x = new XStream(); x.alias("dic", Dic.class); but i have to define alias manually for every class, is there any way to configure xstream to do it automatically? ...

Adobe LiveCycle Designer Check Box Values not being saved when using Automation

I'm using Automation to populate and save a set of Adobe LiveCycle created forms from a database. For testing, I have the form visible while populating it and can see the checkbox values being properly set. But when saving the form, everything EXCEPT the checkboxes/radiobuttons settings are being saved with the form. I can manually op...

Dealing with unsaved form data when user closes the browser

I'm having hard time trying to figure out how to auto-save user data in a form when the browser is being closed or user changes the page. The onBeforeUnload event is OK when you want to open a dialog box, but by then it's too late to save the changes (except if you just block the browser in the onBeforeUnload handler long enough for it t...

Linux automated code formatting (PHP, JavaScript, HTML, CSS, MySQL)

I am seeking a Linux or PHP program to automate code formatting. Optimally it would handle many languages, but the priority is (highest first): PHP, JavaScript, HTML, CSS and MySQL. Comparability is nice, but not the most important feature. Context / use: automation via Subversion post-commit. I'm working with teams and want to alway...

Any good testing framework with distrubuted environment support ?

I am looking form a test automation frameowrk which can work in Clinet/Server architecture (distributed env) and support a mix of operating systems like Windows, unix/linux and Mac I am currently evaluating and looking for only OpenSource solutions, I found just one framework STAF , any help on pointing out other similar framework would...

Automation on IE opening a new window

I try to load various URL in IE but always in the same tab (under IE7/8). The code works well except that it opens a new blank IE window every time. If I do not give a frame name to Navigate2, the new window is not created but I get a new tab every time which is not what I want. if (SUCCEEDED(OleInitialize(NULL))) { IWebBrowser2* pB...

How do you automate Javascript minification for your Java web applications?

Hello SO, I'm interested in hearing how you prefer to automate Javascript minification for your Java web apps. Here are a few aspects I'm particularly interested in: How does it integrate? Is it part of your build tool, a servlet filter, a standalone program post-processing the WAR file, or something else? Is it easy to enable and dis...