Hi Roni, Here is the script, it is intended to forward port 80 to 8080 for a pseudo web server I build. Running it uncompiled works and does not generate any errors.
try set theConfirmation to (do shell script ¬ "ipfw add 400 fwd 192.168.1.9,8080 tcp from any to 192.168.1.9 80" password ¬ "************" with administrator privileges) on error beep end try I tried tell/end tell but that did not work. Regards, Paul On 2 Jul, 2013, at 19:08 :40, Ronda Brown <ro...@mac.com> wrote: > Hi Paul, > > Did you end the block with "end tell"? > After you are finished with a command or string of commands for a given > application, you end the block with “end tell". > After you are done entering the code, click on the “Compile” hammer icon > > Cheers, > Ronni > Sent from Ronni's iPad4 > > On 02/07/2013, at 6:22 PM, Paul Willemse <p...@thelink.to> wrote: > >> Hi All, >> >> I am trying to compile a very simple Applescript. When I click on the >> compile button (the hammer) nothing happens. >> >> Annoying as I need to run the script as an app on start-up. >> >> Thanks in advance. >> >> Regards, >> >> Paul >> -- The WA Macintosh User Group Mailing List -- >> Archives - <http://www.wamug.org.au/mailinglist/archives.shtml> >> Guidelines - <http://www.wamug.org.au/mailinglist/guidelines.shtml> >> Settings & Unsubscribe - >> <http://lists.wamug.org.au/listinfo/wamug.org.au-wamug> > -- The WA Macintosh User Group Mailing List -- > Archives - <http://www.wamug.org.au/mailinglist/archives.shtml> > Guidelines - <http://www.wamug.org.au/mailinglist/guidelines.shtml> > Settings & Unsubscribe - > <http://lists.wamug.org.au/listinfo/wamug.org.au-wamug> -- The WA Macintosh User Group Mailing List -- Archives - <http://www.wamug.org.au/mailinglist/archives.shtml> Guidelines - <http://www.wamug.org.au/mailinglist/guidelines.shtml> Settings & Unsubscribe - <http://lists.wamug.org.au/listinfo/wamug.org.au-wamug>