3
我試圖打開應用程序Spotify,並將其移動到背景。我可以很容易地打開Spotify與是否可以使用Scripting Bridge打開應用程序,但將其移至背景?
SpotifyApplication *Spotify = [SBApplication applicationWithBundleIdentifier:@"com.spotify.client"];
[Spotify activate];
但Spotify的前景,覆蓋我的窗戶。使用iTunes,我可以使用
iTunesApplication *iTunes = [SBApplication applicationWithBundleIdentifier:@"com.apple.iTunes"];
[iTunes run];
但是這是iTunes的特定方法。這可能嗎?