La ricerca ha trovato 3 risultati

da Alessio Forconi
ven, 03 nov 2017 23:33
Forum: Programmazione
Argomento: Intercettare valore button predefinito Applescript
Risposte: 4
Visite : 3880

Re: Intercettare valore button predefinito Applescript

Dato che mi sono interstardito ho continuato a provare e ho trovato questo workaround che usa la clausola gave up , che è quello che succede quando si lascia scorrere l'intervallo definito con giving up after n set choice to display dialog "Scegli Si o No " buttons {"Yes", "No"} default button "Yes"...
da Alessio Forconi
mer, 01 nov 2017 19:28
Forum: Programmazione
Argomento: Intercettare valore button predefinito Applescript
Risposte: 4
Visite : 3880

Re: Intercettare valore button predefinito Applescript

Ahimè no, neanche con true o false funziona. In realtà ho visto con display dialog "Si o No?" buttons {"Yes", "No"} default button 1 giving up after 5 set the my_choice to the button returned of the result if my_choice is "Yes" then display dialog "Yes" else if my_choice is "No" then display dialog ...
da Alessio Forconi
mer, 01 nov 2017 16:57
Forum: Programmazione
Argomento: Intercettare valore button predefinito Applescript
Risposte: 4
Visite : 3880

Intercettare valore button predefinito Applescript

Salve a tutti, mi sto scontrando con un problema in Applescript. Probabilmente è anche stupido ma non riesco a farlo. In pratica avendo questo display dialog "Si o No?" buttons {"Yes", "No"} default button 1 giving up after 5 dopo 5 secondi il button 1 (cioè Yes, giusto?) viene selezionato di defaul...

Vai alla ricerca avanzata