Bonjour tous le monde,

Alors voila je vois pas du tous ou ca cloche on a bien la variable nbrvideo qui est égale au choix mais pour le "if" ca passe pas du tous je comprend vraiment pas ca sort toujours négativement si quelqu'un pourrais m'aider ca serait super merci d'avance.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
set temp to choose from list {"1", "2", "3"} with title "Choose on this list" with prompt "How much youtube video boosted ?" OK button name "Select" cancel button name "Annulez" default items {"1"} with multiple selections allowed
set nbrvideo to temp
if nbrvideo = "1" then
	display dialog "on trouve 1"
	-- insert if actions here
end if
if nbrvideo ≠ "2" then
	display dialog "on trouve 2"
end if
if nbrvideo ≠ 3 then
	display dialog "on trouve 3"
end if