Menu
Forums
Nouveaux sujets
Chercher dans les forums
Quoi de neuf ?
Nouveaux sujets
Nouveaux messages de profil
Activité récente
MacGeneration
MacGeneration
iGeneration
WatchGeneration
Je veux le.top
iOccasion
RefurbGeneration
Connexion
S'inscrire
Rechercher
Rechercher par titre uniquement
Par:
Rechercher par titre uniquement
Par:
Rechercher
Rechercher par titre uniquement
Par:
Rechercher par titre uniquement
Par:
Menu
Forums
Forum développement
AppleScript et Automator
Script réseau
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Vous utilisez un navigateur non à jour ou ancien. Il ne peut pas afficher ce site ou d'autres sites correctement.
Vous devez le mettre à jour ou utiliser un
navigateur alternatif
.
Répondre à la discussion
Message
<blockquote data-quote="Garkam" data-source="post: 13897521" data-attributes="member: 1166411"><p>Ok essaie ça :</p><p></p><p>[CODE=applescript]tell current application</p><p></p><p> set config_list to {"Automatic", "Iphone"}</p><p> set choix to choose from list config_list</p><p> say choix</p><p> </p><p> if choix contains "Automatic" then</p><p> do shell script "scselect Automatic"</p><p> else</p><p> do shell script "scselect Iphone"</p><p> end if</p><p> </p><p>end tell</p><p>[/CODE]</p><p></p><p>Si c'est "Maison" remplace "Automatic"</p></blockquote><p></p>
[QUOTE="Garkam, post: 13897521, member: 1166411"] Ok essaie ça : [CODE=applescript]tell current application set config_list to {"Automatic", "Iphone"} set choix to choose from list config_list say choix if choix contains "Automatic" then do shell script "scselect Automatic" else do shell script "scselect Iphone" end if end tell [/CODE] Si c'est "Maison" remplace "Automatic" [/QUOTE]
Insérer les citations…
Vérification
Publier votre réponse
Forums
Forum développement
AppleScript et Automator
Script réseau
Haut
Bas