automation

Automating PGP decryption

We would like to automate the decryption of PGP files to our site so they my be processed. Our clients send PGP encrypted files to us via FTP. We have written a service which consumes these files and does stuff with the data. The problem we are having is determining a good (perhaps easy) way to decrypt the files from the service or ...

Setting Word's printer through Office automation

I'm looking to do the same as in this question here, however I am developing in a .NET class library, referencing the Primary Interop Assemblies. The item returned from the dialog box collection when I do this wordApp.Dialogs[WdWordDialog.wdDialogFilePrintSetup] does not expose properties such as Printer and DoNotSetAsSysDefault. Doe...

Automating Mouse Movement and Clicks in Firefox programmatically

I am trying to create an automated clicker program in C# to make some administrative tasks quicker. In short, I will be using one program (Firefox) and will need a program to automatically move the mouse and click wherever I tell it to. At the moment I have this code, although I think I'm pretty far away from an actual solution. using ...

best way to automate updates installs

I wanted to know if there was a way to have an app automate to answer the questions.. I have created a batch file that starts the app in the start up folder. so I have 2 problems, one was deleting the batch file once it ran from that folder 2. answering the questions for the app? Is that even feasible? we don't have SMS which I was u...

Using conditional statements inside 'expect'

I need to automate logging into a TELNET session using expect, but I need to take care of multiple passwords for the same username. Here's the flow I need to create: Open TELNET session to an IP Send user-name Send password Wrong password? Send the same user-name again, then a different password Should have successfully logged-in at t...

post to form dynamically using curl and set div to show with a cookie

Hi I have a two part question. Using Curl is it possible to use a textbox on another page or site or div, that captures user input and posts it to a Stack Exchange / Stack Overflow 'Ask Question' Page so that the title of the question is then populated. something along the lines of http://stackoverflow.com/questions/ask?questiontit...

fetch invited contact details from outlook appointment with c#

I develop VB.net 2008 with C# Application for fetch appointment item from outlook 2003. I need to show the contact with their mobile number, which are stored in outlook contact related to the appointments in calender. int i = 0; Outlook.Application oApp = new Outlook.Application(); Outlook.NameSpace oNS = oApp.GetNamespace("MAPI"); oNS....

What are some Physical Mailing Services with APIs? (pdf to delivered letter)

I'm writing a bill generation service for a client, and I would like to program my self out of the most time consuming part of the process. It goes something like this. print X number of pdfs and envelopes, stuff envelops, stamp, and bring to post office It would only be a few hundred bills monthly to start but it could grow. I'm...

Update an embedded chart in a power point presentation using C#

All, I have a power point file that has an embedded chart, I want to use C# to: Load the power point file Update the chart with data from the database Create a new instance of the file and stream it to the client from a web page Any advice ...

Extract data from windows forms

Hello, I have an old windows forms app made with boardland c++. I need to extract all the contents of that app to transfer it to a web app. The app is similar to excel, it has columns and rows...and I need to extract that rows and columns. First aproach is to copy paste, but there are about 1gig of information...it will took days to s...

ms access date and time. Time must be 7:00 AM and user must not edit time.

I have a form where users input information for a test run on a particular date. This creates a table that i then link with another table based on the date and an ID. In this other table (filled by a form created by someone else) all of the times are 7:00 AM. Whoever created the form for that table did what I'm now asking about; since...

Programatic Image Scanning and Naming

I have a typical yearbook with photos and a name beneath each photo. Is there a programmatic way to scan all of the photos and save them with the name beneath the photo? ...

There is any Macro Recorder for Web Page fetching automation?

Selenium HQ records some web navigation and can replay it from Firefox. I want a similar thing, but it must have an API. ** UPDATE ** It turns out that Selenium has an API, but I will keep the question since there are alternatives. My objective is to fetch a web page periodically and save its contents to a database. The web content is...

Changing the page layout using Office Web Components

I am using Office Web components to fill an Excel template with values. The template is in Excel xml format, containing all relevant fields and layout options including the page layout, landscape in this case. I'm filling this template with some real fields using the code below. Set objSpreadsheet = Server.CreateObject("OWC11.Spreadshee...

Electric Cloud / BuildForge: worth the expense?

I just saw a demo of electric cloud and it was very interesting, but it is expensive. Pro: Excellent features - extract the secret sauce from my builds and make them more standardized with reusable steps - parallelize the build to speed it up and use my build farm more effectively - restart the build from any step - integrate tes...

How to automate/simplify this content submission scenario?

I'm trying to think a strategy to automate or simplify content submission. A submission is by default done through a form and counts as one entry (some text fields + a random number of file upload fields). Through a web interface, I can imagine this as a regular form. But how can I automate the process to simplify it? I don't have a pa...

To be a lazy developer or not to be a lazy developer?

Am I a lazy developer? Is it being lazy to use automated tools, such as code generators and such? Now, I could, if I had to, create all the data layers and entities I needed, but I choose to use CodeSmith to generate my datalayers and entities. I also use Resharper and I would say it fights with MSDeploy as to which gets installed first...

Is it possible to automate taking a screenshot of a portion of a Web page (e.g., denoted by a CSS selector or HTML parent element)?

I'm not sure if the title conveys the best approach to my problem, so let me step back a little bit. My company is setting up an advertisement affiliate program. We have a widget that will soon be displayed on numerous Web pages, and this widget will contain an advertisement block that will show various ads from our affiliate retailers....

Programmatically configuring MS-Word's Trust Center settings using C#

I have developed a simple C# Winforms application that loads MS-Word 2007 documents via COM automation. This is all very simple and straight forward, however depending on the document I need to programamtically Enable or Disable Macros as well as ActiveX controls. There is probably a way to store this in the registry, but I want to co...

How do I input data into <input> form using PHP?

Okay, basically, I have a large list of phone numbers in a text file and I need to submit them all into a website by copy and pasting the phone number into the input form on the website and hit submit. Now, how can I automate this using PHP? I have no access to the website with input form. ...