[X-Unix] Standard Protocol Equivalent for Terminal "open" Command??

David Ledger dledger at ivdcs.demon.co.uk
Sat Nov 3 01:24:58 PDT 2007


At 13:46 -0700 2/11/07, Rick Gordon wrote:
>Because what I would prefer is to simple be able to key in a 
>double-clickable URL into an email, rather than have to explain to a 
>newbie how to use Terminal, negotiate a file path, or even create 
>and attach an AppleScript to an email.

You can get to files with the file:// specifier. 
<file:///Applications/> will show the contents of /Applications in a 
browser. (Note the triple /). This may or may not be recognised by an 
email client. Eudora can't. Users can report size and last modified 
time from the list. Because most applications are bundles they show 
as directories and have to be opened further.

You can not run any program from a browser. It's a fundamental part 
of browser design that they mustn't. If they could all security would 
be breached. When the web started and the early browsers appeared 
they were a major security concern until the community was convinced 
that browsers could neither run programs nor write files other than 
their own (bookmarks, cookies etc.). The fact that they could store 
cookies was a concern for a while being as cookies are arbitrary 
data. That's why JavaScript was developed. JavaScript was a new 
language written to have no ability to run other programs or write to 
disc.

David


-- 
David Ledger - Freelance Unix Sysadmin in the UK.
HP-UX specialist of hpUG technical user group (www.hpug.org.uk)
david.ledger at ivdcs.co.uk
www.ivdcs.co.uk


More information about the X-Unix mailing list