Caso você tenha que disponibilizar um aplicativo ou instalado no qual o seu usuário precisa ser redirecionado para uma URL na internet é muito simples. Utilize o código abaixo para gerar um Applescript para esta tarefa
say "Hello, my name is Jaccon, please type you name here" using "Fred" set nameUser to "User" display dialog "Entre com seu nome aqui" default answer nameUser with icon note buttons {"Cancelar", "OK"} default button "OK" with title "Jaccon Worm" set typeUser to text returned of result if typeUser is not "" then do shell script "echo 'Ola..' " & quoted form of typeUser say "Hi" & typeUser using "Fred" end if tell application "Terminal" do script "clear ; echo 'can you help me?'" & typeUser & "; exit" say "can you help me ? " & typeUser using "Fred" do script "clear ; echo 'common im late! i waiting you...'" say "common im late, i waiting you man" using "Fred" close window 1 close window 2 end tell say "To learn more read my website" using "Fred" set urlLink to "http://jaccon.com.br" open location urlLink say "bye.. bye..." beep beep
Seja Membro Gratuítamente
Assine a newsletter para receber em seu email as publicações atualizadas neste blog