[2.0.4] Mac: not possible to get SikuliX to front with App.focus("SikuliX") --- workaround --- fixed 2.0.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
********* workaround (1.1.0 final +)
# a function that runs an applescript, that brings SikuliX to front
def sikulixToFront():
cmd = '''
applescript
tell application "System Events"
set xapp to first item of (processes whose displayed name is "SikuliX")
end tell
set frontmost of xapp to true
'''
runScript(cmd)
# test: Safari to front
switchApp("Safari")
wait(2)
#instead of App.focus(
sikulixToFront()
popup("continue?")
-------
1.1.0(2015-
When Script Runs Popup or Input is hidden behind the main screen
Is there anyway to Force it to appear ontop
my workaround is to make the text so long that some of it appears on the right hand side and I can click on it to bring it to the front
(Running from command line)
Changed in sikuli: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.1 |
description: | updated |
Changed in sikuli: | |
milestone: | 1.1.1 → 2.0.5 |
summary: |
- [1.1.0] Mac: not possible to get SikuliX to front with - App.focus("SikuliX") --- workaround + [2.0.4] Mac: not possible to get SikuliX to front with + App.focus("SikuliX") --- workaround??? |
Changed in sikuli: | |
status: | Fix Committed → In Progress |
Changed in sikuli: | |
importance: | High → Low |
importance: | Low → Wishlist |
Changed in sikuli: | |
status: | In Progress → Fix Committed |
summary: |
[2.0.4] Mac: not possible to get SikuliX to front with - App.focus("SikuliX") --- workaround??? + App.focus("SikuliX") --- workaround --- fixed 2.0.6 |
Changed in sikuli: | |
importance: | Wishlist → Critical |
milestone: | 2.0.5 → 2.0.6 |