Re: 'sort' command-alternative?
Re: 'sort' command-alternative?
- Subject: Re: 'sort' command-alternative?
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 06 Oct 2002 15:55:10 -0700
On 10/6/02 3:22 PM, "John Delacour" <email@hidden> wrote:
>
> Why the HTML since it doesn't open in my favorite browser but just in
>
> TextEdit again?
>
>
This seems to be a Finder problem or something wrong in the system.
>
I was trying
>
>
tell application "Finder" to open file f2 using application file id
>
"com.microsoft.explorer"
>
>
and IE was crashing. I have since updated to 5.2.2 using software
>
update and now it works fine. But id "com.omnigroup.omniweb" won't
>
work, and this is another question, because neither does id
>
"com.qualcomm.eudora" (where is this new thing documented ??)
The good old-fashioned way works:
tell application "Finder"
set {file type of file f2, creator type of file f2} to {"html", "MSIE"}
open file f2
end tell
opens it in IE. AppleScript 1.8 went back to assigning "TEXT" file type and
"ttxt" creator type to files made by 'open for access'. (In AS 1.6 no file
type and no creator type were assigned.) Even if your .html extension
overrides "TEXT" file type, the "ttxt" creator type will get TextEdit to
open it in OS X, assuming it can cope with .html which it evidently can. So
there's nothing wrong with the System, at least.
>
>
Note the hidden talents of TextEdit, though! It displays an html
>
file! It does all sorts of other magic too. I can drag Chinese text
>
from a Nisus window in Classic to a TextEdit window and it is
>
automatically converted to Unicode.
>
>
> It seems pretty nifty, though. What capabilities does an app
>
> need to have to display a decimal Unicode number in this way as HTML? Will
>
> "any" HTML app do or must it have been specially implemented for Unicode?
>
>
IE will display this hiragana character, because it can convert it,
>
but it won't display "real" unicode because it's restricted by WASTE.
>
It seems crazy to me that since both OE and IE are WASTE based,
>
Microsoft don't hand Marco a very large cheque and tell him to get on
>
with it.
Yeah. They may have something better in mind, however...
>
>
Omniweb is the best Unicode-capable browser and in general a very
>
nice browser. I paid up for it very quickly, but you can use it
>
forever for nothing if you want. Mozilla (yuk) will also display
>
Unicode, but I couldn't bear to stay in it long enough to find out
>
how well it performs. As to Netscape, I don't know and I don't care.
>
Omniweb serves also as a source editor. Version 4.1.1 was delivered
>
today and I heartily recommend it.
Yes, using creator code:"OWEB", it displayed one of your Greek diacritical
characters (x0390).
--
Paul Berkowitz
_______________________________________________
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.