On 8/1/11 12:44 AM, Admin wrote:


Hello again.

One more.

What is the correct code to run a file
(in this case, self extracting .exe files) in LiveCode.

Here are the
code I have written (with help) and it does not work:

  if the platform
is "MacOS" then
  open file
"http://www.campstaffusa.com/newdb/uploadpic_swt_mac.exe";
  else
  open
file "http://www.campstaffusa.com/newdb/uploadpic_swt.exe";
  end if

  if
the platform is "MacOS" then
  open file
"http://www.campstaffusa.com/newdb/resume_swt_mac.exe";
  else
  open file
"http://www.campstaffusa.com/newdb/resume_swt.exe";
  end if

Try "launch url" instead of "open".

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to