Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 56 characters in body
Source Link
David C
  • 308
  • 1
  • 4
  • 16

There are several articles here that address this question, but none offer the help to connect-the-dots.

The attached screen shot shot shows Accessibility Inspector for the button in question, which answers to 'process java'. It also shows the properties of the window (bottom) and 2 code strings to have AppleScript press the continue button. These are:

if exists (button "Continue" of window 1) then
    click button "Continue" of window
else if exists (button "continue" of window 1) then
    click button "continue" of window 1

Click on image to expand

I am almost certain 'tab' and 'space bar' might work for this. But, can it be done through the window? If so, how?

EDIT: Tried to get info about the buttons with:

 get every button of window 1 of process "java"
    --> {button 1 of window "Security Warning" of application process "java",
         button 2 of window "Security Warning" of application process "java",
         button 3 of window "Security Warning" of application process "java"}

It appears the buttons are 'close, zoom & minimize'. (upper left 3 dots)

There are several articles here that address this question, but none offer the help to connect-the-dots.

The attached screen shot shot shows Accessibility Inspector for the button in question, which answers to 'process java'. It also shows the properties of the window (bottom) and 2 code strings to have AppleScript press the continue button. These are:

if exists (button "Continue" of window 1) then
    click button "Continue" of window
else if exists (button "continue" of window 1) then
    click button "continue" of window 1

Click on image to expand

I am almost certain 'tab' and 'space bar' might work for this. But, can it be done through the window? If so, how?

EDIT: Tried to get info about the buttons with:

 get every button of window 1 of process "java"
    --> {button 1 of window "Security Warning" of application process "java",
         button 2 of window "Security Warning" of application process "java",
         button 3 of window "Security Warning" of application process "java"}

There are several articles here that address this question, but none offer the help to connect-the-dots.

The attached screen shot shot shows Accessibility Inspector for the button in question, which answers to 'process java'. It also shows the properties of the window (bottom) and 2 code strings to have AppleScript press the continue button. These are:

if exists (button "Continue" of window 1) then
    click button "Continue" of window
else if exists (button "continue" of window 1) then
    click button "continue" of window 1

Click on image to expand

I am almost certain 'tab' and 'space bar' might work for this. But, can it be done through the window? If so, how?

EDIT: Tried to get info about the buttons with:

 get every button of window 1 of process "java"
    --> {button 1 of window "Security Warning" of application process "java",
         button 2 of window "Security Warning" of application process "java",
         button 3 of window "Security Warning" of application process "java"}

It appears the buttons are 'close, zoom & minimize'. (upper left 3 dots)

New attempt with button 1, button 2 and button 3
Source Link
David C
  • 308
  • 1
  • 4
  • 16

There are several articles here that address this question, but none offer the help to connect-the-dots.

The attached screen shot shot shows Accessibility Inspector for the button in question, which answers to 'process java'. It also shows the properties of the window (bottom) and 2 code strings to have AppleScript press the continue button. These are:

if exists (button "Continue" of window 1) then
    click button "Continue" of window
else if exists (button "continue" of window 1) then
    click button "continue" of window 1

Click on image to expand

I am almost certain 'tab' and 'space bar' might work for this. But, can it be done through the window? If so, how?

EDIT: Tried to get info about the buttons with:

 get every button of window 1 of process "java"
    --> {button 1 of window "Security Warning" of application process "java",
         button 2 of window "Security Warning" of application process "java",
         button 3 of window "Security Warning" of application process "java"}

There are several articles here that address this question, but none offer the help to connect-the-dots.

The attached screen shot shot shows Accessibility Inspector for the button in question, which answers to 'process java'. It also shows the properties of the window (bottom) and 2 code strings to have AppleScript press the continue button. These are:

if exists (button "Continue" of window 1) then
    click button "Continue" of window
else if exists (button "continue" of window 1) then
    click button "continue" of window 1

Click on image to expand

I am almost certain 'tab' and 'space bar' might work for this. But, can it be done through the window? If so, how?

There are several articles here that address this question, but none offer the help to connect-the-dots.

The attached screen shot shot shows Accessibility Inspector for the button in question, which answers to 'process java'. It also shows the properties of the window (bottom) and 2 code strings to have AppleScript press the continue button. These are:

if exists (button "Continue" of window 1) then
    click button "Continue" of window
else if exists (button "continue" of window 1) then
    click button "continue" of window 1

Click on image to expand

I am almost certain 'tab' and 'space bar' might work for this. But, can it be done through the window? If so, how?

EDIT: Tried to get info about the buttons with:

 get every button of window 1 of process "java"
    --> {button 1 of window "Security Warning" of application process "java",
         button 2 of window "Security Warning" of application process "java",
         button 3 of window "Security Warning" of application process "java"}
Source Link
David C
  • 308
  • 1
  • 4
  • 16

How to locate UI Button for AppleScript using Accessibility Inspector

There are several articles here that address this question, but none offer the help to connect-the-dots.

The attached screen shot shot shows Accessibility Inspector for the button in question, which answers to 'process java'. It also shows the properties of the window (bottom) and 2 code strings to have AppleScript press the continue button. These are:

if exists (button "Continue" of window 1) then
    click button "Continue" of window
else if exists (button "continue" of window 1) then
    click button "continue" of window 1

Click on image to expand

I am almost certain 'tab' and 'space bar' might work for this. But, can it be done through the window? If so, how?