I have this code:
If $choixListAction == "ACTION1" Then HotKeySet("{ENTER}", "_getPos") EndIf Func _getPos() Global