automation

c# and excel automation - ending the running instance

I'm attempting Excel automation through C#. I have followed all the instructions from Microsoft on how to go about this, but I'm still struggling to discard the final reference(s) to Excel for it to close and to enable the GC to collect it. A code sample follows. When I comment out the code block that contains lines similar to: Sheet.C...

Quickly Convert (.rtf|.doc) Files to Markdown Syntax with PHP

I've been manually converting articles into Markdown syntax for a few days now, and it's getting rather tedious. Some of these are 3 or 4 pages, italics and other emphasized text throughout. Is there a faster way to convert (.rtf|.doc) files to clean Markdown Syntax that I can take advantage of? ...

Automobile Programming languages

What programming languages are most commonly used on automobile systems? What type of data is collected while it is running? What platform does it use? I am also interested in the new hybrid/electric automobiles, what languages and platforms do they use? Thanks! ...

cron jobs to upload a file via FTP

Is it possible to use CRON to upload a file via FTP? If yes how can I call FTP to run an upload? ...

WIA Automation for scanner color intent is not working

I cannot get my Canon Pixma MP150 to scan a color scan from c# code. The following code is resulting in a black and white image, or if I change the value of 6146 to 2 then a grayscale image is created. I would like to be able to have a color scan from code. I know the scanner does color images because I can do one through the xp wizard i...

Auto rotation when iPhone rotate..

hi I am new in iPhone development... now i developed one Test application.in it 4 view is there.. my problem is that..when i rotate my simulator first 2 view will rotate automatically( landsacpe and Portrate mode).. but 3 and 4 not rotating . that time i got one exception.. that is //------------------------------------------------...

How to use the Automation object model of Microsoft Office packages (Word, Excel, etc.) in "plain" COM/ActiveX

I finally found the object model documentation for Microsoft Office. However it talks about interop assemblies and stuff that sounds like .NET. I don't use .NET directly, and I don't really want to learn much about it. Is there a way to just use plain COM/ActiveX classes/interfaces to automate MS Word/Excel? ...

Automate/Script Building a Virtual Image

Hi, I would like to script a build of a virtual machine from a base image, with a number of files and folders being copied across to the target machine, and some software also installed on it. Is this possible? Which technology is best suited to this - VMWare, Virtual PC/Server or Virtual Box? The solution has to run on WS2003 or WS2...

Can I use GNU Screen completely transparently/automatically?

Screen is amazing, of course, but I don't want to have to think about it. I often ssh to a machine, start doing a bunch of stuff, and then think "gosh, I wish I had thought to start a screen session before doing all that so I could reconnect to this from home later". I'd like to have screen automatically started whenever I log in to a ...

How To Get the Range of a Page Using Word Automation

How do you find the range of page n in Microsoft Word using office automation? There appears to be no getPageRange(n) function and it is unclear how they are divided. ...

Are there any free alternatives to Silktest?

Does anyone know if there are any (ideally free) alternatives to SilkTest for automated GUI application testing? [Edit] This is a Windows-only GUI written in C++/CLI if that makes a difference. ...

automating web activity which includes form submission, javascript, and SSL

I'm attempting to automate login into my small community bank, navigating through several links, and then downloading the .OFX. I can't seem to find a good open source tool which is robust enough to handle this case. Automation frameworks like mechanize can't handle the Javascript. I need this to be run in a graphic-less environment (v...

FTP - Only want to keep latest 10 files - delete LRU

Hey everyone, I have created a shell script to backup my webfiles + database dump, put it into a tar archive and FTP it offsite. Id like to run it X times per week however I only want to keep the latest 10 backups on the FTP site. How can I do this best? Should I be doing this work on the shell script side, or is there an FTP command t...

Lock down Word & PowerPoint features

Does anyone know of a way to lock down (remove/hide/disable) Word & PowerPoint in Office 2007? Simply put I want to disable the user from using some functionality in them (mostly formatting). Some ideas of ways to do it, which I just can’t seem to find solutions based on: Word has a protect document option which locks some features a...

How can i compare two rows of datatable in QTP

How can i compare two rows of datatable in QTP ...

Executing The Same Command In Multiple Shell Scripts

I'm using the following to to tee output of a command into a file: logs/`basename $0`-`basename $1`.`date +%F--%R\`.log And since this same syntax belongs in several different shell scripts, I'd really like it to only appear once. My first thought was to put it in another shell script: export LOGFILE=logs/`basename $0`-`basename $1`...

AutoIt for Java

I need to automate UI testing of a software that my module is plugged in. I do not have an access to code of the host so I need something like AutoIt. Since AutoIt does not work with Swing, is there any AutoIt like GUI automation tool for JAVA based applications? ...

Automating driver installation on Windows XP

I have a sound card driver and I need to automate the installation of it on windows. Is there any way to achieve this. ...

Excel Automation: Open existing Excel file as "new"

Hi, i want to have a "one-click" excel export feature for my application. I therefore need to create an excel file in a temporary location, because i need to use a third-party component to do so. I want Excel then to open up the file. I can get to that point, however Excel always remembers the location it loaded the file from. Id like ...

Automate browser navigation and data extraction

Hi, I am trying to automate data extraction from a website and I really don't know where to start. One of our suppliers is giving us access to some equipment logging data through a "Business Objects 11" online application. If you are not familiar with this online app, think of it as a web based report generator. The problem is that I am...