launch app from browser

Stephen Barncard stephenREVOLUTION at barncard.com
Tue Jul 10 13:18:41 CDT 2007


>Quick, easy question;
>
>I need to launch a standalone from within a web browser,

Why?

>  but I know absolutely zero html etc.

well it's simple... play around with the OS cross-platform NVU and 
switch back and forth between compose and HTML. you'll learn quickly 
and can hack it right there. It's a lot easier to use a GUI. It also 
uploads to web servers.
http://www.nvu.com/download.php



here's a starter, but an absolute or relative location on the (I 
assume) local drive has to be specified.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
  http-equiv="content-type">
<title>THIS IS A LINK PAGE, dude</title>
</head>
<body>
<br>
Download file
<a href="file:///Users/user/Desktop/mybigfile.txt">MYBIGFILE.txt</a>
</body>
</html>

watch for line wraps in email.
this will not work on a server, by the way.





>  This would be an html file either installed on a user's hard drive 
>or being read from a CD-rom with Firefox, Explorer, Safari, etc. 
>The standalone is already installed on the hard drive. In rev the 
>button script is simply;
>
>on mouseUp
>   if the platform is "macOS" then
>     launch "/applications/eestikeeluus.app"
>   else
>     launch "C:\Program Files\eestiKeel\eestiKeel.exe"
>   end if
>end mouseUp
>
>How do I script a  button in this html file to do the same thing? 
>Please remember, I know no html.
>
>Cheers,
>
>Lars
>
>
>
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution


-- 


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -





More information about the use-livecode mailing list