Jump to content

[SOLVED] cannot open foreground


yumaru

Recommended Posts

  1. I have a app1 in Desktop1
  2. I have a app2 in Desktop2
  3. I bring up Alfred in Desktop2 and type app1
  4. I hit Enter 
  5. But app1 remain in Desktop1 and not move to the Desktop1

 

I am sorry that my English is so bad😭

If you cannot understand, plese click googleDribeURL and watch( the meaning of "デスクトップ1" in the video is  'Desktop1' in English)

 

I'm looking forward to your response!!

Edited by yumaru
careless mistake,
Link to comment

Welcome @yumaru,

 

This is expected behaviour. The same thing happens if you tell application "app_name" to activate in AppleScript, open -a "app_name" in a terminal, or click the application’s name in the Dock. Alfred asks the app to come to the front — how that’s handled is up to macOS. Apple determined the best way would be to bring you to the app (switch virtual desktop) rather than bring the app to you. That makes sense, as the surrounding context of your work will be maintained.

 

I’m not aware of a programatic way to do what you ask. Apple doesn’t give us much control over the virtual desktops.

Link to comment
  • vitor changed the title to [SOLVED] cannot open foreground

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...