Try adding a delay before processing, maybe 500ms. Some applications take a little while to create their main window. Does the application run in a window or is it a fullscreen application? Some fullscreen apps (like games) won't be moved by the triggers.