In reply to twtwtw
I think this is a system problem, the system could not fail to execute a script for any unavailability of another application, and it can open another instance of it,
On the other hand, to implement something to bypass that was scheduled by the mac osx, it would not begood behavior.
I cleared my log, and found a bug of unknown cause, or by executor or by implemented code.
25/04/12 20:15:00,171 com.apple.launchd.peruser.501: (com.apple.quicklook.config[6284]) Bug: launchd_core_logic.c:4230 (25397):9
25/04/12 20:15:00,172 com.apple.launchd.peruser.501: (com.apple.quicklook.config[6284]) Bug: launchd_core_logic.c:4180 (25397):9
25/04/12 20:15:00,172 com.apple.launchd.peruser.501: (com.apple.quicklook.config[6284]) Bug: launchd_core_logic.c:4181 (25397):9
25/04/12 20:15:00,172 com.apple.launchd.peruser.501: (com.apple.quicklook.config[6284]) Bug: launchd_core_logic.c:4182 (25397):9
25/04/12 20:15:00,172 com.apple.launchd.peruser.501: (com.apple.quicklook.config[6284]) Bug: launchd_core_logic.c:4189 (25397):9
25/04/12 20:18:07,417 com.apple.launchd.peruser.501: ([0x0-0x35035].com.apple.AppleScriptRunner) Bug: launchd_core_logic.c:4151 (25397):24
25/04/12 20:18:07,418 com.apple.launchd.peruser.501: ([0x0-0x35035].com.apple.AppleScriptRunner) Bug: launchd_core_logic.c:4224 (25397):9
25/04/12 20:18:07,418 com.apple.launchd.peruser.501: ([0x0-0x35035].com.apple.AppleScriptRunner[6869]) Bug: launchd_core_logic.c:4180 (25397):9
25/04/12 20:18:07,418 com.apple.launchd.peruser.501: ([0x0-0x35035].com.apple.AppleScriptRunner[6869]) Bug: launchd_core_logic.c:4181 (25397):9
25/04/12 20:18:07,418 com.apple.launchd.peruser.501: ([0x0-0x35035].com.apple.AppleScriptRunner[6869]) Bug: launchd_core_logic.c:4182 (25397):9
25/04/12 20:18:11,601 AppleScript Runner: CPSGetFrontProcess(): This call is deprecated and should not be called anymore.
25/04/12 20:18:11,665 com.apple.launchd.peruser.501: ([0x0-0x36036].com.apple.AppleScriptRunner) Bug: launchd_core_logic.c:4151 (25397):24
25/04/12 20:18:11,666 com.apple.launchd.peruser.501: ([0x0-0x36036].com.apple.AppleScriptRunner) Bug: launchd_core_logic.c:4224 (25397):9
25/04/12 20:18:11,666 com.apple.launchd.peruser.501: ([0x0-0x36036].com.apple.AppleScriptRunner[6880]) Bug: launchd_core_logic.c:4180 (25397):9
25/04/12 20:18:11,666 com.apple.launchd.peruser.501: ([0x0-0x36036].com.apple.AppleScriptRunner[6880]) Bug: launchd_core_logic.c:4181 (25397):9
25/04/12 20:18:11,666 com.apple.launchd.peruser.501: ([0x0-0x36036].com.apple.AppleScriptRunner[6880]) Bug: launchd_core_logic.c:4182 (25397):9
25/04/12 20:18:15,801 AppleScript Runner: CPSGetFrontProcess(): This call is deprecated and should not be called anymore.
25/04/12 20:18:15,869 com.apple.launchd.peruser.501: ([0x0-0x37037].com.apple.AppleScriptRunner) Bug: launchd_core_logic.c:4151 (25397):24
25/04/12 20:18:15,869 com.apple.launchd.peruser.501: ([0x0-0x37037].com.apple.AppleScriptRunner) Bug: launchd_core_logic.c:4224 (25397):9
25/04/12 20:18:15,870 com.apple.launchd.peruser.501: ([0x0-0x37037].com.apple.AppleScriptRunner[6891]) Bug: launchd_core_logic.c:4180 (25397):9
25/04/12 20:18:15,870 com.apple.launchd.peruser.501: ([0x0-0x37037].com.apple.AppleScriptRunner[6891]) Bug: launchd_core_logic.c:4181 (25397):9
25/04/12 20:18:15,870 com.apple.launchd.peruser.501: ([0x0-0x37037].com.apple.AppleScriptRunner[6891]) Bug: launchd_core_logic.c:4182 (25397):9
25/04/12 20:18:20,227 AppleScript Runner: CPSGetFrontProcess(): This call is deprecated and should not be called anymore.
25/04/12 20:18:46,506 Dock: kCGErrorIllegalArgument: CGSSetWindowListGlobalClipShape: Invalid window 0x7d
25/04/12 20:18:46,506 Dock: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
25/04/12 20:18:46,530 Dock: kCGErrorIllegalArgument: CGSSetWindowTransformsAtPlacement: Failed
25/04/12 20:18:46,545 Dock: kCGErrorIllegalArgument: CGSSetWindowListGlobalClipShape: Invalid window 0x7d
25/04/12 20:18:46,546 Dock: kCGErrorIllegalArgument: CGSSetWindowTransformsAtPlacement: Failed
25/04/12 20:18:46,546 Dock: kCGErrorIllegalArgument: CGSOrderWindowListWithOperation
25/04/12 20:18:46,547 Dock: kCGErrorIllegalArgument: CGSOrderWindowList