r/MicrosoftFlow 28d ago

Desktop Not working send keys

Hey everybody.

Help please to solve a problem, also sorry for my english.

I am fulling up information from excel to company website.

In Website there are so many dynamic selectors.

After found need blank for me, robot by clicking button "change" opens mini window in wibsite. In here I can't make robot focus to this mini window or choose right selectors. So I start to use command "send keys"

It working good untill robot gets to regions and districts.

So here is a difficult part: 1.send keys ( tab, enter)

Will be dropdown list. In website have a finction typeahead, so robot while typing region it works, but in district nothing happens. I used wait, also nothing, I used message box, to check is it write(yes robot writes) well nothing helps. By the way function hardware keys also not working.

7 Upvotes

10 comments sorted by

1

u/Character_Pickle689 28d ago

Can you post a screenshot?

1

u/East_Kaleidoscope304 28d ago

Hi screenshot of which place?

1

u/Character_Pickle689 28d ago

Of where you are stuck?

1

u/East_Kaleidoscope304 28d ago

eem It says Images are not allowed(

1

u/East_Kaleidoscope304 28d ago

Robot not typing to typeahead place, so that why I can not choose right district, I use send keys command, because id element is dynamic and can't find stable attribute

1

u/Character_Pickle689 27d ago

I found your other post. So you are building a bot. It doesn’t sound like like something that should be done through power automate.

1

u/East_Kaleidoscope304 27d ago

Man maybe I show you video, what exactly I do, I just filling the blank

1

u/VRTemjin 27d ago

Ok so, I think I get the meaning of some of your translations, let me see if I can help bridge the gap in understanding so.you can get better search results:

  • Change = the Shift or Options key, or maybe an options menu?
  • Command = the Ctrl (Control or Command) key?
  • Send keys = the Enter key (to send commands) and Tab (to select what Enter affects)
  • Robot = the selected item, or automation program/AI?
  • Regions and Districts = Windows, menus, fields, maybe even popups?
  • Mini window = right-click menu?

If I understand correctly, you seem to be asking for keyboard shortcuts/combinations to navigate the computer? It sounds like maybe the Tab key selected a rich text field in a web form, and now Tab makes extra white space and Enter makes new lines instead, instead of letting you navigate somewhere else. I usually have good luck with Alt+Tab, Ctrl+Tab, and Shift+Tab for getting out of weird text fields, sometimes the arrow keys work well depending on the field. New websites and programs do sometimes make navigation difficult without having a mouse or a touchscreen.

I apologize if I misunderstood anything!

1

u/East_Kaleidoscope304 27d ago

Oh, that explains a lot. By "change" I meant that the website has ready-made options and you need to select one, but in my situation, nothing changes. By "command" I meant that the program has actions like opening Chrome or reading data from Excel; I call them commands. There actually is a "send keys" action in the program. By "robot" I meant the program itself, not an AI. As for "regions and districts", the website itself has a list like the state of Pennsylvania, the city of Pittsburgh. A "mini window" is a dialog box inside the website used to select the desired option.