diff --git a/examples/chooser.py b/examples/chooser.py index 87a0949..216eae7 100644 --- a/examples/chooser.py +++ b/examples/chooser.py @@ -1,7 +1,11 @@ +#--------------------------------------------------------------------- +# Chooser test # -# Demonstration of the new chooser usage +# This script demonstrates the usage of the class-based chooser. # - +# Author: Gergely Erdelyi +#--------------------------------------------------------------------- +from idaapi import Choose # # Modal chooser @@ -21,7 +25,6 @@ if ch > 0: else: print "Escape from chooser" - # # Normal chooser # @@ -43,4 +46,3 @@ class MyChoose(Choose): chooser = MyChoose([ "First", "Second", "Third" ], "MyChoose") # Run the chooser ch = chooser.choose() -