web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Flow Problems

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello

I am still trying to create a flow that will allow me to open a file, save it as with a new format, and do this for hundreds of files. The flow i am trying to create is on a program called CadKey 98. I created mouse actions for the mouse to hover over teh "open file" icon, and it seems to work fine. But I then sent a key with the command to open a file {LControlKey}({O}) and nothing happens.

 

Please help

I have the same question (0)
  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    Why are you using the key shortcut if you have the mouse hoving on the 'open file' button? Just click.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I have tried the click option, but the command is not executed and I do not get any errors from this step. At times I think that this problem may be related to how old the program is ( Cadkey 1998) 

  • burque505 Profile Picture
    398 on at

    @Anonymous, you might try automating using images since the program is so old.

    Regards,

    burque505

  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    Try the following:

     

    1. Get details of UI element but choose location and size instead of the default own text.
    2. Convert text %AttributeValue['Left']% to number variable %Left%
    3. Convert text %AttributeValue['Top']% to number variable %Top%
    4. Convert text %AttributeValue['Width']% to number variable %Width%
    5. Convert text %AttributeValue['Height']% to number variable %Height%
    6. Send mouse click on coordinates X: %Left + Width / 2% and Y: %Top + Height / 2%

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I will send out an additional message with further details of what I am still having issues on.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The image below shows the program environment I am working with.

    aatala22_0-1619005319026.png

    So far, I have been able to launch the program and make the cursor hover over to the file open icon and left click.

    aatala22_1-1619005572478.png

      At this point, I would expect to see the following window open.

    aatala22_2-1619005668987.png

    Nothing happens after the left click is executed. I have seen some responses to my previous messages, but I feel this message explains the issue in greater detail. I am open to further suggestions at this point.

  • burque505 Profile Picture
    398 on at

    @Anonymous, you could try this approach, although since you're already using coordinates it might not work.

    Capture the image to click on, should look more or less like this:

    file-image-2.png

    You can use this action to capture the image and have the flow send a click to it when it runs.

    action.PNG

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    So, I did as you suggested, but the left click action does not trigger the program to open the "open" window for some reason.

    aatala22_3-1619011966952.png

     

  • burque505 Profile Picture
    398 on at

    I was afraid of that, since your flow using coordinates didn't work (and it seems like it should have). This is an interesting problem - I wish I had a copy of the program to experiment with, but I can't find it as abandonware anywhere.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Unfortunately, the program has no more technical support and it seems to be on a phase out period. Mt original task was to open each of thousands of files and save them into a dxf format, and i did not want to have a person do this type of repetitive work.

     

    Another way to approach this problem is by assigning the CRTl +O keys to open the "open" file window. I tried this approach by using the "send keys" action, but I did not get any response. I may have used the wrong syntax

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 419

#2
Vish WR Profile Picture

Vish WR 314

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard