Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)
Sends a command message to the KI frontend.
See PlasmaKITypes.py for list of commands

        def PtSendKIMessage(command,value):
    """Sends a command message to the KI frontend.
See PlasmaKITypes.py for list of commands"""
    pass
        


src/m/o/moul-scripts-HEAD/Python/xCheat.py   moul-scripts(Download)
def KIPhasedAllOn(args):
    import Plasma
    import PlasmaKITypes
    Plasma.PtSendKIMessage(PlasmaKITypes.kKIPhasedAllOn,0)
 
                                entry.save()
                    # update the 
                    Plasma.PtSendKIMessage(PlasmaKITypes.kGZUpdated,0)
                    return
                except ValueError:
 
    # Finally, update the KI display
    Plasma.PtSendKIMessage(PlasmaKITypes.kGZUpdated,0)
 
 
        entry.chronicleSetValue("")
        entry.save()
    Plasma.PtSendKIMessage(PlasmaKITypes.kGZUpdated,0)
    # get rid of the CGZ marker games
    MGs = [ 'MG01','MG02','MG03','MG04','MG05','MG06','MG07','MG08','MG09','MG10','MG11','MG12','MG13','MG14']

src/m/o/moul-scripts-HEAD/Python/plasma/PlasmaKITypes.py   moul-scripts(Download)
                # save update to chronicle
                PtUpdateGZGamesChonicles(GZPlaying,MarkerGottenColor,MarkerToGetColor,MarkerGottenNumber,MarkerToGetNumber)
                Plasma.PtSendKIMessage(kGZUpdated,0)
    return (GZPlaying,MarkerGottenColor,MarkerToGetColor,MarkerGottenNumber,MarkerToGetNumber)