Can't retrieve custom title of OSX terminal tabs -


i'm trying select terminal tab in osx , send keystrokes it. terminal in osx 10.8.4 doesn't seem store "terminal" tab's custom title, if set custom title inspector. ideas? here code i'd use select right tab:

tell application "terminal"   set allwindows number of windows    repeat 1 allwindows     set alltabs number of tabs of window     repeat j 1 alltabs       if custom title of tab j of window contains "blah"         set frontmost of window true         set selected of tab j of window true       end if     end repeat   end repeat end tell  

i'm working on older version of osx, couldn't duplicate problem (your code works fine me), perhaps try:

if ((custom title of (current settings of (tab j of (window i)))) string) contains "blah" 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -