#!/usr/bin/env python #################### Template ############## # This is a Template, with funktions that all LtMacros should have! | #________________________________________________________________| from time import sleep # Needed for delays import LtMacroAPI # Needed for Click to work. ###########This code is needed for LtMacro Kill funktion.## import os pid = str(os.getpid()) pidfile = open("./ltmacros/running.pid", 'w') pidfile.write(pid) pidfile.close() ( ( windowID, junk1, junk2 ), junk3 ) = LtMacroAPI.getwindowclick() ######################################## # Make the Macro below this line.