yraheem / robotframework-autoitlibrary

Automatically exported from code.google.com/p/robotframework-autoitlibrary
Apache License 2.0
1 stars 0 forks source link

Adding support for AutoItSetOption function. #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Sometimes it is necessary to tweak AutoIt options such as window title match 
mode, therefore we need support for AutoItSetOption.

My version is here:

    def AutoItSetOption(self, Option, Value):
        """
        Set up AutoIt settings.
        Reference: 
        AutoItX.chm::/html/com_interface/methods/AutoItSetOption.htm
        """
        #print a message to log
        self._infoKW(self.AutoItSetOption, Option, Value)
        self._AutoIt.AutoItSetOption(str(Option), int(Value))

Thanks!

Original issue reported on code.google.com by linuxcit...@gmail.com on 8 Jul 2011 at 2:29