Is there a Way of telling Appleskript to Open Mission control > Screen Mirroring > Select ipad? - automation

So currently I am working on a Macbook Pro which Screen is cracked! the problem is I need to somehow execute a skript that i can activate with the Touchbar of my macbook to tell To
open the Mission Control
Select the Screen Mirroring
Select the Ipad.
Is there any way?
otherwise the Same Would be
Apple Symbol
system settings
Display
click on the plus icon
Select ipad
i am really new to skripting or coding!
But I would be really grateful about some useful links or starting points!
I tried to find some other ways, but the other ways are outdated...According to the skripts I haven't found any thing which brings me closer to solve my problem.
I downloaded a screen mirroring app, but i think there must be a shorter way to use this feature...
Thanks in advance!

Related

sikuliX cant find image

I am just learning to use SikuliX and for some reason it worked on a few attempts but after awhile it started to not detect the image that i want to click.
This is the screenshot of my sikuli. Not sure what the error is about.
I am using a mac so i want sikuli to click on the search icon button at the top right hand corner.
This is my matching preview.
Sorry my problem seems so trivial but yet i am not able to understand why it is not working.
I realised it could be an issue regarding multi - monitor environments.

IntelliJ doesn't display... at all

I have a bug which is completely over the planet. IntellIJ doesn't display. It's on, yet doesn't display.
It worked well before, last thing I did was re-setting up new dependencies on my code and (nothing to do with that) re-setting SDK for other reasons, both of which shouldn't be linked to display properties.
As you can see it's working, I see the pop up windows:
But doesn't display:
Yet I can see IntelliJ windows with Shift + Tab:
and yes, my screen doesn't duplicate, so it's not hidden in another dimension or something
I tried:
restart computer
uninstall install IntelliJ
uninstall install IntelliJ without previous parameters
try other JetBrains software, like DataGrip, it works and displays well
call a homeopathic doctor
Unsuccessfully. So I knee and await before your judgement of this critical situation.
I have this exact same behavior happen to me when I use IntelliJ at work and then go home and try to use it via Remote Desktop. Its very strange (regardless of which monitor I leave it on at work when I leave).
If I hover over it in the task bar and then hover over the thumbnail for the running app, I can right click and tell it to maximize and it magically comes back into focus. Sometimes I have to tell it to restore and then to maximize before this works.
Occasionally even this doesn't work and I have to close it, re-open, and do the same. It makes no sense, so I understand your frustration.
It works
As John Humphreys - w00te mentionned, click right over the thumbnail (I insist: the thumbnail ! Not the taskbar icon) and then select maximize and voilà.
Bon appétit.
Thanks for your contribution and I hope it will help some people in need here.
I have had this issue when I have moved from a dual monitor setup to a single monitor setup or a different dual monitor set up. The issue here that intellij window seems to save and use the coordinates of the last dual window setup to render the window. It doesn't matter you restart your computer, it will always try and render to that position, even if that position is not visible on the new monitor set up. On windows there is an easy way to fix this issue. Go to your display setting and flip the order of the windows. The intellij window should now be visible. you can drag the window to the your other monitor and re-arrange the windows back to the order you had previously. After that, you can place the intellij window wherever you want.
In my case I noticed there is a 1 pixel thick gray line on my screen, turns out that was the IDEA window and I could resize upon hovering that line. Needless to say it wasn't me shrinking it.
I have this same behavior, It happens to me when I connect a monitor in extended mode and move the intellij window to the monitor, then disconnect without moving it back. No other solution other than to connect to monitor again and bring it back to the original window for me works.
On mac, select the app from the app tray so that the menu for it appears up top. Then on the menu up top, go to Windows->Zoom and it should expand to fill the viewport.
From there you can drag it down to size and reposition.

Intellij cursor keeps following mouse and highlight

For some reason Intellijs text cursor keeps following my mouse and highlighting everything. Is there some setting that can do that? I can't seem to find it from searching the settings. Where else could it be?
If you have a touchscreen try touching it somewhere. It helped me to solve the issue.
Found the solution in this thread on the JB website.
I use a touch screen monitor and i deal with the same issue. my mouse cursor remained in selecting state and highlight every thing.
I touch somewhere on the my monitor screen once and solved this problem without closing app.
Other solutions are:
close and open app
/ restarting computer
I had that problem twice on two different computers in different jetbrains IDEs, gogland and pycharm.
The solution, as annoying as easy, restarting of the machine. Restarting the IDE or even up/downgrading did not help.
Solution
Go to setting
Search for mouse
In the editor action, edit the Add rectangular selection on mouse drag

when using intellij running dual monitors on ubuntu, how to get menu to get menu popup not to drift back to first window?

I use idea on ubuntu linux w/ 2 monitors. I often pull up 2 projects so I can copy stuff from one to the other, and I have one project in a window on
one monitor screen, and the other on the second screen.
My problem is this: when I open the second project in the 'non-primary' monitor screen, and i click on an item in the top level menu bar
the menu pop up displays on the primary monitor screen...not the secondary one... it does not matter if I have the project in the secondary
monitor window maximized or not... the pop up just drifts over to the primary monitor screen..
it is not a fatal error.. I can move my mouse over to the first monitor window and click on the sub menu i want..
but it is so annoying. I'm wondering if this is a bug, or perhaps there is a work around for it ?
Also posted on IntelliJ user community board. If they answer, I will post the response here.
That is unfortunately a Ubuntu specific bug. I recommend you vote for and track it: Pop-up dialogs are sometimes misplaced on Ubuntu 12.04 with dual screens
I can suggest 2 workaround solutions for this issue.
Workaround 1
I use Intellij on my right hand side monitor. But the menus are displayed on left hand side monitor. So, I opened "Displays" configuration and moved the right hand side monitor to the left. Now, the menus are displayed on the correct monitor. Note that, the monitor is still stays on my right hand side:).
Workaroud 2:
Downgrade to JDK 1.6.

Windows 8 app live tile has "X" in the bottom right corner

Just today I started noticing an "X" symbol in the bottom right of my live tiles, see picture.
I'm a little concerned, as I'm currently in the certification queue, that this means I've missed something from the package - a default badge image, for example. Do you know what this means?
The answer appears to be that your developer licence has expired!
when I tried to build something I got a popup alerting me to the problem and asking me to log in to my account again. At which point I was given a new developer licence, was able to build again, and all the crosses magically disappeared! :o)
I imagine the only reason your apps were still working was because they were still in a suspended state so weren't going through a proper launch cycle. The X means it won't run anymore as you don't have a valid licence.