Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
check non internet applications
Flaming Flamingo
1/9/2008 6:46:00 AM
Hi,
Has anyone experience with non internet applications?
I would like to check if Word is active and if so, close it.
A test Iâ??m making opens a file (pdf, doc, etc), has to checks if it
opens correct and then close it.
Any pointers are welcome!
Cheers,
Flaming Flamingo
--
Posted via
http://www.ruby-...
.
1 Answer
Richard Conroy
1/9/2008 12:10:00 PM
0
On Jan 9, 2008 6:45 AM, Flaming Flamingo <giel@degekste.com> wrote:
> Hi,
> Has anyone experience with non internet applications?
> I would like to check if Word is active and if so, close it.
>
> A test I'm making opens a file (pdf, doc, etc), has to checks if it
> opens correct and then close it.
Theres lots of good stuff on Ruby on Windows
(
http://rubyonwindows.bl...
) . Its
certainly possible to open word docs and program against them with
their OLE interface.
PDF requires different (cross platform) APIs.
Its pretty fun to open a word doc in IRB and start navigating around
it. I haven't done much in
the way of exception handling though with OLE (because I don't really
know the API), but
I get the impression that it will fail fast, and fail appropriately
for your tests.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
check non internet applications
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password