Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It´s only writing the filename.ext on file manager, not the full path. #33

Open
cesarbhering opened this issue Jun 9, 2020 · 1 comment

Comments

@cesarbhering
Copy link

Hi!

Im trying to use PyAutoIt to select a file and hit "open", but it is not writing the full path to the file, just the fila nema and extension, and because by default the file manager doesn't start in the directory the file is in, i get an error saying the file doesn't exist.

Can someone help ?

handle = "[CLASS:#32770; TITLE:Open]" autoit.win_wait(handle, 60) autoit.control_set_text(handle, "Edit1", 'C:\\codigos\\TCBot\\LastIdeaCropped.png') autoit.control_click(handle, "Button1")

image

@HWolfW
Copy link

HWolfW commented Aug 13, 2020

Does the open box start with anything in the Edit1 field when it opens or is it blank at first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants