to setMinTime()
# network row
try
tell application "System Events" to tell application process "QLab" to tell (first window whose description contains "settings") to tell (first row of table 1 of scroll area 1 whose accessibility description of UI element 1 is "General") to select
end try
tell application "System Events" to tell application process "QLab" to tell (first window whose description contains "settings") to tell (first row of table 1 of scroll area 1 whose accessibility description of UI element 1 is "network") to tell application "System Events" to tell application process "QLab" to tell button 1 of window 1 to click
tell application "System Events" to tell application process "QLab" to set focused of text field 3 of window 1 to true
tell application "System Events" to tell application process "QLab" to set value of text field 3 of window 1 to (timeBetweenGo as text)
tell application "System Events" to tell application process "QLab" to perform action "AXConfirm"
end setMinTime
to setMinTime()
# network sor kiválasztása and
try
tell application "System Events" to tell application process "QLab" to tell (first window whose description contains "settings") to tell (first row of table 1 of scroll area 1 whose accessibility description of UI element 1 is "General") to select
end try
# Set minTime between eachGo
tell application "System Events" to tell application process "QLab"
set focused of text field 3 of window 1 to true
set value of text field 3 of window 1 to (timeBetweenGo as text)
perform action "AXConfirm"
end tell
end setMinTime
set timeBetweenGo to 15
do shell script "echo '/settings/general/minGoTime " & timeBetweenGo & "' | nc -4 -u -w 0 localhost 53535"
tell application "System Events"
select row 1 of table 1 of scroll area 1 of window 1 of application process "QLab" whose description contains "settings" whose accessibility description of UI element 1 = "General"
click button 1 of window 1 of application process "QLab"
set focused of text field 3 of window 1 of application process "QLab" to true
set value of text field 3 of window 1 of application process "QLab" to "10"
perform action "AXConfirm" of application process "QLab"
end tell
tell application "System Events"
select row 1 of table 1 of scroll area 1 of window 1 of application process "QLab" whose description contains "settings" whose accessibility description of UI element 1 = "General"
set focused of text field 3 of window 1 of application process "QLab" to true
set value of text field 3 of window 1 of application process "QLab" to "10"
perform action "AXConfirm" of application process "QLab"
end tell