I want to perform a right click on the system tray icon but right click does not work in pywinauto when executed on RDP - automation

I'm running the script in rdp session where i have installed pywinauto
click_input gives me an error like win32api.SetCursorPos((200,95)) error: (5, 'SetCursorPos', 'Access is denied.')
thereby i replaced it with click method,
but i wanted to do a right click on system tray icon, where click_input(button='right') doesn't work. Please help me with any alternate method of right click which works on rdp session.
thanks in advance

Related

Smart card reader not dedected - PCSC Error - 0x8010002e

My system was working fine but now my any application is not detecting the smart card reader ( SCM Microsystem) attached in the system while it is displaying in device manager.
Here I tried to get the exact error with trying C++ code (winscard.h) to connect the reader,
reader_status = SCardListReadersA(hContext, NULL,(LPSTR) &szReaders, &dwReadersSz);
and here it is giving error - 0x8010002e
Is there any advice here
It seems it was happening because of wrong registry values.I thought to share my work for other one. What I tried is :-
Right-click on the key HKLM\SOFTWARE\Microsoft\Cryptography\Calais and select Permissions...
Click Add.
Click Advanced.
Click Locations.
Click on the computername and click OK.
In the window 'Select user or groups', click on Find now.
Select LOCAL SERVICE.
Click OK.
In the window 'Select user or groups', click on OK.
In the window 'Permissions for Calais', click on LOCAL SERVICE and make sure 'Full control' , 'Read' and 'special permissions' is allowed.
restart the system and it worked.
found solution here

Antlr4 on Windows7 - Parse Tree Inspector doesn't pop up when TestRig is called with -gui switch

Antlr4 on Windows 7.
Facing issue when running "TestRig with -gui option at cmd with administrative privilege"
CLASSPATH is set as advised on ANtlr site.
"-tokens" and "-tree" TestRig options work fine but "-gui" fails.
With '-gui' switch, parse tree inspector is seen in background but it does'nt pop up and hangs.
Snapshot attached:
Apparently the window containing the tree is not visible or is too small. Hit ctrl + right click then maximize. Not sure why windows does that.
This works for me:
Leave the mouse over the Java icon until the small preview window appears, then move to it, right click and choose the maximize option.
demo
Just wait a couple minutes and right-click on the Java window (the interface which shows the tree) and choose Minimize.

XamlSpy prevent me from doing actions

I installed XamlSpy using NuGet in my UWP app.
I debug my application and connect it successfully using the XamlSpy.
The problem is that every mouse hover is responses by XamlSpy what prevents me from clicking on buttons etc'...
How can I start inspect only when needed ?
I tried CTRL+Shift without success...
How can I start inspect only when needed
According to this article, Ctrl+Shift is worked for XAML Spy 2. By testing on my side, I guess you are using XAML Spy 3.
In that case, when you are using the XAML Spy desktop app to inspect, the "Select Visual" button which is for moving your mouse to the app, and click to select a visual in the user interface, is highlighted by default. You may need to click it to not highlight the button to stop inspecting, and click again can start inspecting again when you needed.

Can't update Android Studio - no "Update and Restart" button

My Android Studio (0.4.3 now) often displays a message that is ready to update, but the alert does not have an "Update and Restart" button:
I want to install this update but I don't know how I can do this. After I click the "Remind Me Later" button few times, the fourth button on the left is sometimes visible, allowing me to download and install the update. I haven't discovered any pattern when this button shows up and when it doesn't.
Why isn't it always visible?
This is bug https://code.google.com/p/android/issues/detail?id=56737. If you dismiss the dialog and check for updates again, you usually get the button you're looking for. I don't know why this happens.
I have found a temporary solution for this problem (until they release a fix for it).
When Android Studio opens and the update popup shows up without the button, close it with the X button.
Press Ctrl+Shift+A to open action search dialog, enter Event Log and open it.
There will be a message telling that Android Studio is ready to update and the word update is a link that will open a window with an Update and restart button.
Actually this issue is kind a bug not really a bug :). This is what you need to do
When an update is available, you'll see a balloon notification in the IDE.
Two important known issues:
1. The first time, you'll see a dialog that asks you to accept this channel. You need to press "More info" to accept this channel, otherwise you won't get notified about updates.
2. If you press the "Ignore This Update" button, there is currently no mechanism available to revert that decision and Android Studio will never tell you about that update ever again.
For more info. visit : Android Tools Project Sitebelow is snap from android tools official site
I am not sure why the button is not available, It might be possible that the version you have currently can't be upgraded to the latest version directly.
In such cases follow the steps mentioned below :
Download the latest OS respective Android Studio as zip(sdk excluded) from here :
http://tools.android.com/download/studio/canary
Extract the downloaded Zip file somewhere
Close Android studio if running.
Go to current Android Studio installation directory.
Take a backup(safer side) of that and replace everything except sdk directory
with the content of extracted Zip file .
This also allows you to update studio in an offline system.
Clicking on 'ignore updates' and rerunning Check for updates for a couple of times did the trick for me.

Display icon overlay without restart explorer

Please help me how can I display the icon overlays without restarting the explorer.exe?
The problem Im in stuck here is the fact that I must always close the explorer.exe in taskbarmanager and re-open it. I want the way no need to restart shell like that. Any way in C++ ?
Have a shortcut to a batch-file that kills explorer.exe and restarts it. Restart it twice, once for the desktop and then for the explorer window itself (if needed (or just press Windows+E)).