E
E
EGGOFFOX2021-07-30 07:57:52
User interface
EGGOFFOX, 2021-07-30 07:57:52

Do the coordinates of the cart label change if the screen resolution is changed?

I need to write a script using the pyautogui library. The bottom line is that I have to open the basket with this script at any screen resolution. Idea only base/changed*object's coordinates

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Dunaev, 2021-07-30
@Pasha13666

As already mentioned in the comments, there are easier ways to open the basket. On Windows, you can do this:

import os
os.startfile("shell:RecycleBinFolder")

In Linux, it all depends on the file manager used, but most often it will work:
import os
os.system("gvfs-open trash://")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question