Here is the LAUNCH EXTERNAL PROCESS line for command-shift-F9

osascript -e 'tell application "System Events"' -e 'key code 101 using {shift 
down, command down}' -e 'end tell'


If the current user needs to be reset, I use the loop below to wait until the 
Runtime Explorer window is up.


$iTry:=0
$delay:=0
$find:=False
$winName:=Wildcard+"Runtime Explorer"+Wildcard

Repeat 
  DELAY PROCESS(Current process;$delay)
  ARRAY LONGINT($aWin;0)
  WINDOW LIST($aWin;*)
  For ($iWin;1;Size of array($aWin))
    If (Get window title($aWin{$iWin})=$winName)
      $find:=True
      $iWin:=Size of array($aWin)
    End if 
  End for 
  $delay:=60
  $iTry:=$iTry+1
Until ($find | ($iTry>=10))


John DeSoi, Ph.D.


> On May 5, 2018, at 9:09 AM, Chip Scheide <4d_o...@pghrepository.org> wrote:
> 
> care to post the code for the external key posting?

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to