Sha256: cb9fbd51d39a0deaeffae244940c09f4d007d561c6a4bc794d1d83c91d622870
Contents?: true
Size: 605 Bytes
Versions: 15
Compression:
Stored size: 605 Bytes
Contents
#!/usr/bin/env osascript -- Third: Click Finish Button set timeoutSeconds to 2.0 set uiScript to "click UI Element 1 of window 1 of application process \"Install Command Line Developer Tools\"" my doWithTimeout(uiScript, timeoutSeconds) on doWithTimeout(uiScript, timeoutSeconds) set endDate to (current date) + timeoutSeconds repeat try run script "tell application \"System Events\" " & uiScript & " end tell" exit repeat on error errorMessage if ((current date) > endDate) then error "Can not " & uiScript end if end try end repeat end doWithTimeout
Version data entries
15 entries across 15 versions & 1 rubygems