automation

Command line tool to add resources to an Xcode project

I've got an Xcode project that creates a standard application that can be branded in multiple ways and contain some custom content. At the moment I have a Resource "Resources > Tour Packages" with the custom files under this. At the moment every time I want to brand the app a different way I have to delete the old files from this resourc...

Excel: getting the selected rows back

I'm using Microsoft.Office.Interop.Excel, and I can't find a way to return the selected rows. What I mean by "selected" is, the row numbers themselves when you click on the row gutter on the left and select one or more contiguous or non-contiguous rows (which highlights the whole row.) This is different from selecting a region or area ...

Symbolic link to latest file in a folder

Hello, I have a program which requires the path to various files. The files live in different folders and are constantly updated, at irregular intervals. When the files are updated, they change name, so, for instance, in the folder dir1 I have fv01 and fv02. Later on the day someone adds fv02_v1; the day after someone adds fv03 and so...

Stop/Run windows service and building a solution

Hello, I'd like to have a script that stops a certain windows service,build or rebuild a solution and runs the service after the build process finished. Should I use Msbuild for this ? Or is there any other way ? ...

Axapta V3 - how to access worksheet.pagesetup properties from x++

Does anyone know how to access the PageSetup properities of an Excel worksheet via COM from x++ code. I can do all the formatting I require for a custom report but can't access PageSetup object. Any pointers / suggestions appreciated. ...

Deploying an Excel UDF

I have an excel UDF that calls a web service . The UDF code is an automation addin code which is a C# class library and I created an installer for it. When I run the set up, no reference to the particular addin code appears in the toos-->addins-->automation addins list of excel and the function does not apepar in the formula bar. I am us...

Detecting state changes in Internet Explorer

I'm trying to automate some tests on Internet Explorer. How can I find out if the state of the webpage being shown is changed? Is there any way to know when the page finished loading, if it changes, if it is scrolled, etc.? I want to know how I can get this state information from another running process. ...

delete session files after a time from creation

hello, I am saving my sessions in another directory from /temp directory. say /session directory.( using session_save_path("session") ) also, there is a code to kill the session after 10 minuets from creation and logout. but I mentioned that if the user logs in and for example shut down his computer, my log out and session destroy cod...

QTP - testing while browser/page title changes

Hi, I am trying to make simple testing but failed because I have no clue how to handle with browser title that changes during the testing. Simple example: Google>Find "blabol" Once its done, the browser title in QTP changes its name to "Google - results....". This is obviously problem when the search text is a variable that changes bet...

error while trying to create DTE2 Interface object with ruby

I am trying to use ruby win32ole lib and DTE2 Interface to control visual studio 8 \ tried this require 'win32ole' ide = WIN32OLE.new('EnvDTE80.DTE2') and received this error unknown OLE server: EnvDTE80.DTE2 what am I doing wrong, can this work at all ? ...

How does Auto-Adjust in Images work ?

How does Auto-Adjust in Images work ? example : ...

How to export the result into different tabs of Excel in Toad for Data Analyst?

Hi, Does anyone know how to export results from more than one query into different sheets of the same Excel workbook using the report automation in TOAD for data analyst? Thank you ...

Is there a way to automate the generation of PowerPoint slides ?

I have a bunch of data in a database and I want to generate some tables in PowerPoint. I had started doing this manually but I thought there might be a way I can simply write some code to take my data from the database and output it onto a PowerPoint slide. Any advice here? ...

Good Ideas for Automating Common CRUD Operations in Rails

Short version: What are some good ways to allow the end user to define "processes" or sequentially executed CRUD operations in a fairly large project, so they can build templates for common processes (like creating 2 tickets for each new event posted automatically)? Something like Cucumber, but for CRUD operations..., or even Selenium? ...

Duplicate range in Excel via C#

Hi, I have well defined Excel range, let's say "A5:I9" for example. I would like to multiply the complete rows of these range via C#. "Multiply" means to copy the range several times below itself, shifting the rest of the document down. Any hint how to do that? I'm fighting with the Range.Insert and Range.Copy methods for quite some tim...

How can i add a toString() function for every class file, automated in Eclipse?

Hi, I'm doing a AS3 project in Eclipse and trace alot of values. I though it would be nice to have a toString() function in every class, at the bottom of each class as the last function, but i dont want to do this by hand for 500+ files. Is there a quick and good way of doing this automated? How would you go about this? Thanks in adv...

XML data to HTML form and back

I am storing data in XML databases. Now I want users to be able to edit certain records. E.g. my db could look like this: <items> <item id="1"> <prop_a>some text</prop_a> <prop_b>TRUE</prop_b> <prop_c>29.01.2010</prop_c> ... </item> // next item and so on Is there a tool which can generate a html form (for which ...

How to automate building and deploying a BPEL application

I need to automate the building and deployment of (several) BPEL applications to a weblogic server. I now do it using jDeveloper 11g, but I guess there should be some command line tools to do it. (I come from a Microsoft /.NET / Visual Studio background, and I can automate the deployment of my .NET applications using the command line an...

Java: Are there some tools out there which are able to refactor X[][] to List<List<X>>?

Hello, everyone! I have to refactor an existing project, which is not that small. It contains a lot of arrays declarations and accesses: (X is not a generic type, it's just a placeholder). declarations: X[] and X[][], access: someArray[i] and someArray[i][j]. I have to rewrite everything to use generic Lists: declaration: List<X> and L...

What's the best language to automate this Windows task involving Outlook and Excel?

Hi, I need to automate a particular task that involves: Fetching mails from my mailbox based on a set of criteria - from a particular user, has a particular pattern of subject line, etc. Parsing the mail body of each mail and extracting some content (the mails have an almost fixed pattern) Creating an Excel sheet with a particular te...