scripting Dataviz Maclink - how?
scripting Dataviz Maclink - how?
- Subject: scripting Dataviz Maclink - how?
- From: "Charles Arthur, UKClimbing Editor" <email@hidden>
- Date: Tue, 17 Dec 2002 22:22:56 +0000
Hi..
I'm trying to script the conversion of an RTF file to a MSWD file
using Maclink Plus, which allegedly is scriptable. (But is not
recordable.)
The relevant part of the dictionary:
translate - translate the specified file(s)
translate reference -- objects to translate. Can be a list of
files or an object spefifier
[file alias] -- the specifier of the file(s)
[to alias] -- the specifier to translate the file(s). Can be a
full path string or an alias to a folder
[as string] -- the document kind to translate to
[with profile string] -- the profile to translate with
Note that there's no result output. So you can't even tell whether
it's worked or not, except by looking and seeing that (in my case)
nothing's happened.
for example I tried
set thefile to choose file
tell application "Maclink Plus"
translate thefile as "Microsoft Word document" -- as that's what the
Finder says the kind of the doc that I want it to be is
end tell
Nothing happens - no output file.
My question: anyone tangled successfully with this beast?
Replies by emails as well as to the list welcome (I'm on digest)
Charles
--
http://www.ukclimbing.com : 1,000+ British crags, 350+ British climbing walls
- searchable by distance rock type, etc, with 5-day weather forecasts
for every one - plus maps, articles, news, and the New Routes
database. There's even a cool shop attached...
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.