> You can use the entire line that you would use in the appropriate
> command window, even changing the command process if need be, even
> changing priority.  You can also elevate the process with 'open
> process elevated' which might get past the blocks (presumably asking
> for a password if needed).  The latter might be good in that the
> solution is not so much to find if it works but to make it work.
> Well, if that works.  I haven't tried it, but I assume you can do the
> command line string and elevated process at the same time.

Right, Phil Davis posted an example of this today:

on mouseUp
  constant kRestartApache = "apachectl -k graceful"
  open elevated process kRestartApache for neither
  If the result<> empty then
  answer "Could not restart server."
  close process kRestartApache
  end if
  -- process will normally close itself when finished
end mouseUp


Ken Ray
Sons of Thunder Software, Inc.
Email: [email protected]
Web Site: http://www.sonsothunder.com/


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to