Hello Macscripter, in this topic i wanna show you how do an app based in AS language wich can traslate by google translator server. I have just a problem… is possible earn the result of translation in a display dialog? (even using google translator server)
set choice to button returned of (display dialog "Scegli la lingua di traduzione" buttons {"da Italiano a Inglese", "da Inglese a Italiano", "Annulla"} with title "Google Traduttore")
if choice = "da Italiano a Inglese" then
set _word to text returned of (display dialog "da Italiano a Inglese" default answer "" buttons {"Traduci", "Annulla"} with title "Google Traduttore" default button 1)
open location "https://translate.google.it/#it/en/" & _word
else if choice = "da Inglese a Italiano" then
set _word to text returned of (display dialog "da Inglese a Italiano" default answer "" buttons {"Traduci", "Annulla"} with title "Google Traduttore" default button 1)
open location "https://translate.google.it/#en/it/" & _word
end if
Ps: Why the display dialog haven’t red, yellow and green buttons?