Hi, @dawn
I'm going to guess that the reason you've not have much response to your post is that no-one is familiar with the spellcheck application you're using.
A couple of things you could check, though:
- Does the Server.Spellcheck object actually support OLE automation?
- Can you automate it in VB(A|S) using the code you've written?
Our (my) ignorance of your spellchecker aside, there doesn't seem to be anything wrong with your code which would also account for the lack of replies. My advice would be: "try it in VBS and see if it works".
Oh, and Win32::OLE isn't perfect either. Some stuff that works in VBS and "runs" perfectly in perl doesn't actually "do" anything - but I've only seen that happen when trying to automate Outlook, so far.
HTH - Mark
PS: if the reference is a list doesn't that mean OLE will cast is as an Variant Array() or worse, a Collection?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.