Re: scripting Dataviz Maclink - how?
Re: scripting Dataviz Maclink - how?
- Subject: Re: scripting Dataviz Maclink - how?
- From: email@hidden
- Date: Tue, 17 Dec 2002 23:25:23 +0000
There is no need to translate an rtf file to a Microsoft Word file
via Maclink Plus because Microsoft Word can open .rtfs. You can
either double click on the rtf document and it will open in Word or
you can open the MSWD application then choose "Open" from the File
Menu then select the rtf you want to open via the dialog box. You can
even select .rtf from the list of file types to open when you are in
this dialog box.
HTH
Oz
At 22:22 +0000 17/12/02, Charles Arthur, UKClimbing Editor wrote:
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.
_______________________________________________
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.