Question #288655 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/288655

tranquillo posted a new comment:
In my main project are subfolders "Process.sikuli" that contains
"Process.py" and this contains:

from sikuli import *
  
def list():
    cmdout = run('wmic.exe process list status')
    processList = cmdout.split("\n")
    def procTrim( str ):
        strs = str.split(' ')
        return strs[0].strip() 
    list = map(procTrim ,processList) 
    return list

This will be called in the main script with import and reload().

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to