I know that Google Chrome & amp; Chromium is not excessive AppleScript is still capable but, I was wondering if there was a way to use "system events" to hide a particular window or tab?
Even I have so far ...
Tell "system events" to tell the "Google Chrome" process, windows in windows in the page The page name is set on the set of "If the Windows name is included in" ABC ", then" Android Command "ends here when the end repeated end
tell the end
I can reach the window that I want to hide, but to actually hide it Command can not be found
In addition, if repeat through it the tab inside the window, it would be better.
Thanks
System events can type keyboard commands for you, Look at the menu item and see if you want to have a keyboard shortcut to do. For example, each application should have a "window" menu. In the window menu there is a "shorten" command with the keyboard shortcut "cmd-m" so you can use your shortcut to hide your windows
Another thing is Just use "Command Down" to do this. You have to make sure that the application is at the forefront before doing so, so add the following at the beginning of your script.
To enable "Google Chrome" to be activated
Comments
Post a Comment