automation

automate installation + running of iphone app in simulator outside of xcode

I'd like to install + run my app built outside of xcode (through xcodebuild) through a similar sort of command line tool. How could I get it on the simulator? I've looked at a few related posts: http://stackoverflow.com/questions/1108076/where-does-the-iphone-simulator-store-its-data http://stackoverflow.com/questions/692064/cleaning-...

Writing web forms filler/submitter with QT C++

Hello! I'm scratching my head on how to accomplish the following task: I need to write a simple web forms filler/submitter with QT C++, it does the following: 1) Loads page url 2) Fills in form fields 3) Submits the form Sounds easy, but I'm a web developer and can't find the way how to make QT accomplish the task, I only managed to l...

Can I use window hooks in C# to determine if a window gains or loses focus?

I've written a c# application which automates an instance of IE. I'd like to know when internet explorer gains focus and when it looses focus. From the SHDocVw.InternetExplorer object I can get it's HWND. From there how can I create a message hook to receive WM_KILLFOCUS and WM_FOCUS events (assuming those are the correct events to be l...

Photoshop Automation won't let me choose a filename

Hey, today I tried to create a photoshop automation that saves me an area of an image that i've masked. The Steps are: Copy Flattened (CTRL+CMD+C), New File, Paste, Save For Web, Close without save My Problem: The Save for Web Step always choose the same filename and overwrites the old file without question. How do I get Photoshop ...

Using Jquery with Seleninum RC user-extension.js

Hi everyone, I want to include Jquery to our current automation project running Selenium RC ( written in java ). So we can rely on that JS library for writing our java script code extending the current user-extension.js. I have heard and searched the web and many say it can be done, by include the source in the user extension o even ...

OpenOffice Automation create chart in calc using Delphi

Hello could someone please help me with the following, I try to create an OpenOffice calc chart using the OOoTools.pas interface. The code is this: /////////////////////////////// CODE ////////////////////////////////// procedure TForm1.ProcessChart(aFilename : String); Var oTheFile, oAllSheets, oMySheet, oCharts, ...

Why does my IMessageFilter not always work?

I'm working on Word automation and to get rid of "Call was rejected by callee" / "the message filter indicated that the application is busy" errors I implemented an IMessageFilter. The messagefilter works like a charm when I automate Word directly like: Word.Documents.Open(...) Document.SaveAs(...) But when I call TOleContainer.DoVer...

Script for automated torrent downloads (from announce urls in IRC)

Hi! Some time ago I read a discussion in /r/linux and someone mentioned a script that checks new messages in IRC channel (in irssi client) and if they contain announce urls for torrents, they are passed to a torrent client (rtorrent) for downloading. Sadly, I didn't bookmark it, nor I could find it now. Maybe someone has a similar scrip...

Add a blog by sending a mail to a certain emailadress

Hi all, For our friends-site I want to create a function where I, and my friends, can send an email to a special emailadres: [email protected]. I want to use the given subject as the blog-title and the mail-body to be the blog-entry. The timestamp the mail was sent must become the timestamp the blog is saved (at least this timestamp mus...

R Programming: Automating Merge of Character Strings

Hi there, I'm trying to automate some of the systems at work here specifically to do with report generation based on survey data. Lets say i have 3 comments for 1 question. current_comments <- c("too slow", "not fast enough", "bad speed") Basically what i want to do is merge the comments into one string separated by a "-" too look ...

OpenOffice automation translate basic code to Delphi

Hello please help to translate the next line of basic code to Delphi for the OOoTools.pas interface. oChart.Diagram.SymbolType = com.sun.star.chart.ChartSymbolType.SYMBOL1 I know that the SYMBOL1 part is an enumeration and I think I have to use the MakePropertyValue fumction but how? ...

VS2010: Automatically insert date and initials to single line comments

Greetings Friends, What is the best way (least amount of keystrokes) to get Visual Studio 2010 to automatically insert the current date and my name/initials whenever I put a single line comment into my codebase? This should support C# and it'd be even better if it worked in my .aspx pages too. Thanks -- I know someone out there has the...

I need to know how to automatically authenticate in Flickr

Everything I have tried requires the end user to sign in to yahoo...this won't work because the end user doesn't know the password or the username. This should be automated otherwise flickr wont work ...

Flex UI testing automation

Hello all, We have a flex based UI whose functionality (eg: login, logout) needs to be tested periodically in IE 7. Manual testing takes a lot of time and hence we want to automate it. EDIT: We dont have the source code of this app uder test so cannot use something like FlexUnit. Is there a way to automate this testing? I have heard o...

OpenOffice Automation Delphi how create a scattered chart from non-adjacent columns

Hello, can someone please help me on how to create a XYdiagram from non-adjacent columns? I want to do this in Delphi using the OOoTools.pas interface. This is the working code where I can only select adjacent columns: User The_Fox helped me a lot with some issues I had, thanks for that. procedure TForm1.ProcessNewChart(aFilename: Stri...

OpenOffice Automation Delphi how use a callfunction

Hello, please help me with the following: I want to determine the maximum value in an open office calc column using the OOoTools.pas interface. This as fas as I come: Procedure FindMaximum(oMySheet : Variant); Var oFuncService : Variant; Begin oFuncService := CreateUnoService('com.sun.star.sheet.FunctionAccess'); ShowMes...

updating fields automatically

hi im new to programming i have this small system for room reservations (school requirement). i have this question that is it possible to update the fields of my table on specific date? i have three tables naming users , reservations, and rooms. i want to update the field of the rooms on specific date, like if the date_out in the rooms ...

How do I auto update a site RSS feed

Within a site I am working on, the previous developer put together a very rudementary function to re-create the RSS Feed at the click of a button. I need to be able to have the RSS Feed continuously up-to-date without clicking on the button and running the function. This is written in C# Can anyone help me on what to do please? ...

retrieve single cell value in Excel automation function with c#

i need to retrieve a single cell instead of Excel.Range in my method. using Excel = Microsoft.Office.Interop.Excel; ... public object vReadNumber(Excel.Range targetRange) { ... Doing Something With targetRange ... } any idea? ...

How do I generate a word 2007 document with graphs using a c# .net program?

I have successfully done this using "MSGraph.Chart.8" in VS 2010 and c# and the graphs look ancient and pixelated like back in 1995 or so. The help online seems all the same. like this one... http://support.microsoft.com/kb/316384 I really need to generate these word documents with nicer graphs in code, or at least edit an existin...