bon j'ai lu les tn Apple :
<http://docs.info.apple.com/article.html?path=AppleScript/2.1/fr/as1012.
html>
<http://docs.info.apple.com/article.html?path=AppleScript/2.1/fr/as178.h
tml>
et j'ai écrit le petit script d'essai suivant :
tell application "Finder"
set warns before emptying of trash to true
empty trash
end tell
(lancé depuis Editeur AS)
ça ne m'a pas demandé confirmation ???
--
« Je me sens très optimiste quant à l'avenir du pessimisme. »
(Jean Rostand)
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Patrick Stadelmann
In article <1jioit8.fu3z5e1o2dvqoN%, (Une Bévue) wrote:
bon j'ai lu les tn Apple : <http://docs.info.apple.com/article.html?path=AppleScript/2.1/fr/as1012. html> <http://docs.info.apple.com/article.html?path=AppleScript/2.1/fr/as178.h tml>
et j'ai écrit le petit script d'essai suivant :
tell application "Finder" set warns before emptying of trash to true empty trash end tell
(lancé depuis Editeur AS)
ça ne m'a pas demandé confirmation ???
Ca modifie la préférence du Finder quand on vide manuellement la poubelle. Quand c'est fait depuis un script, il n'y a jamais de confirmation.
Patrick -- Patrick Stadelmann
In article <1jioit8.fu3z5e1o2dvqoN%unbewusst.sein@google.com.invalid>,
unbewusst.sein@google.com.invalid (Une Bévue) wrote:
bon j'ai lu les tn Apple :
<http://docs.info.apple.com/article.html?path=AppleScript/2.1/fr/as1012.
html>
<http://docs.info.apple.com/article.html?path=AppleScript/2.1/fr/as178.h
tml>
et j'ai écrit le petit script d'essai suivant :
tell application "Finder"
set warns before emptying of trash to true
empty trash
end tell
(lancé depuis Editeur AS)
ça ne m'a pas demandé confirmation ???
Ca modifie la préférence du Finder quand on vide manuellement la
poubelle. Quand c'est fait depuis un script, il n'y a jamais de
confirmation.
Patrick
--
Patrick Stadelmann <Patrick.Stadelmann@unine.ch>
In article <1jioit8.fu3z5e1o2dvqoN%, (Une Bévue) wrote:
bon j'ai lu les tn Apple : <http://docs.info.apple.com/article.html?path=AppleScript/2.1/fr/as1012. html> <http://docs.info.apple.com/article.html?path=AppleScript/2.1/fr/as178.h tml>
et j'ai écrit le petit script d'essai suivant :
tell application "Finder" set warns before emptying of trash to true empty trash end tell
(lancé depuis Editeur AS)
ça ne m'a pas demandé confirmation ???
Ca modifie la préférence du Finder quand on vide manuellement la poubelle. Quand c'est fait depuis un script, il n'y a jamais de confirmation.
Patrick -- Patrick Stadelmann
unbewusst.sein
Patrick Stadelmann wrote:
Ca modifie la préférence du Finder quand on vide manuellement la poubelle. Quand c'est fait depuis un script, il n'y a jamais de confirmation.
Ah d'accord... -- « Je me sens très optimiste quant à l'avenir du pessimisme. » (Jean Rostand)
Patrick Stadelmann <Patrick.Stadelmann@unine.ch> wrote:
Ca modifie la préférence du Finder quand on vide manuellement la
poubelle. Quand c'est fait depuis un script, il n'y a jamais de
confirmation.
Ah d'accord...
--
« Je me sens très optimiste quant à l'avenir du pessimisme. »
(Jean Rostand)