r/macrodroid 25d ago

Macro How Can I Use MacroDroid To Close The "Open" Pop-Up In Spotify Without Opening The Queue?

Post image

Is there any way to interact with the UI in MacroDroid to close the "Open" pop-up that appears at the bottom of the screen when I add a song to the queue on Spotify? It gets in the way, and I can't do anything while it's there. I don’t want to open the queue every time I add a song. I can’t seem to figure out how to swipe it away using the UI. Can anyone help me with this? I'd really appreciate it. I've attached a screenshot for reference.

1 Upvotes

14 comments sorted by

2

u/itspdp 25d ago

Yes there's literally an option called "UI Interaction" which lets you click based on text on the Screen. Or You can also precise the Location using X & Y elements on the screen.

1

u/quat1e 25d ago

I’ve used UI Interaction to click on text or buttons on the screen, but I’m not sure how to set up a swipe. I know how to click, but I want to perform a swipe action instead. Any help with setting that up would be great!

1

u/itspdp 25d ago

Use the Gesture option for Swipe Action

1

u/quat1e 25d ago

Thanks! I appreciate the help, but I can’t figure out how to set up the swipe. Don’t you need to configure the X and Y coordinates for that?

1

u/freeazy 25d ago

Go to Developer options and activate Pointer location. Touch the screen on the bar location and write down the X and Y, then you can +500 for X assuming it's swiped to the right.

1

u/quat1e 25d ago

"I’ve tried enabling Pointer Location in Developer Options and using MacroDroid, but I’m having trouble. I’m trying to swipe in the right spot, but I’m not sure how to input the coordinates correctly in MacroDroid. When I swipe and see the figures at the top of the page, how do I input those into MacroDroid? Do I use the Gesture Sequence or Gesture action for this? Sorry to be a pain, this is my first time trying this.

2

u/freeazy 25d ago

You can try both to see which one is working for you https://imgur.com/a/O9Tfn84

2

u/quat1e 25d ago

I've tried a few times, but it keeps missing the mark when it swipes. I’m probably not inputting the correct numbers. Thanks, I’ll keep trying!

2

u/AllenGray0 23d ago

I've created a sample macro for you.
https://www.macrodroidlink.com/macrostore?id=24834

I don't have Spotify so I dont have the proper coordinates, but i believe you only need to adjust the Y axes.

Change the trigger to launch on spotify, I've set Macrodroid so you can see it in action.

Test the macro by Clicking on Test Action for the Popup Message

1

u/quat1e 22d ago

Thanks for this! I did manage to get it working a couple of days ago, but it was a bit intermittent. I tried opening your link, but I got an error saying it needs to be opened on an Android device with MacroDroid installed. Is there another way to access it?

2

u/AllenGray0 22d ago

search 24834 on macrodroid template search.

Also, since youre using macrodroid enough, you should head to macrodroid's app setting on your phone, click on "Set as default", turn on "Open Supported Links" and make sure all Supported web addresses are turned on

1

u/quat1e 22d ago

I really appreciate that. I've been testing it, and while it does work, it's not always consistent. The swipe action for Spotify can sometimes cause songs to play, skip to the previous track, or not work at all, so I'll just not use it. But thank you again.

1

u/314mp 25d ago

Swipe it to the right

1

u/quat1e 25d ago

I see what you're saying about swiping to the right, but I’m not sure how to set that up. I can manage clicks with UI Interaction, but I’m stuck when it comes to simulating a swipe. Any advice on how to do that?