osx - How to show window using command line in Mac -


i work several webstorm projects opened (sometimes 5 or 6) , gets annoying have keep searching through desktops find right one. make worse, mac changes order of desktops, can't know project , have search through of them.

does know if there's command line can run show specific window? e.g. have terminal window opened 3 tabs, projects 1, 2 , 3, , want go on project 2 terminal tab , type show me desktop webstorm window of project 2 showing. possible @ all?

i know can run $ wstorm . open project, if run project opened nothing happens.

thanks!

the osascript command can used if window names contain text can used identify them. using example textedit, having 2 windows open, 1 file "file1.txt" , other "file2.txt", following command show window "file2.txt"

osascript -e $'activate application "textedit"\ntell application "textedit" set index of window 1 name contains "file2" 1' 

Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -