Xcode 4 - Create shortcut for tabs
Is there a way to assign shortcut to applescript that can control tabs on Xcode 4 ? Something like this works for Safari, but not Xcode 4 :

    try
    	tell front window of application "Xcode" to set current tab to tab 1
    on error
    	tell front window of application "Xcode" to set current tab to last tab
    end try

(I have an error : `A property can’t go after this identifier.`)

I know I can switch tabs with `cmd-}`, I want to be able to go to a tab by its number

Xcode 4 - Create shortcut for tabs
===

Is there a way to assign shortcut to applescript that can control tabs on Xcode 4 ? Something like this works for Safari, but not Xcode 4 :

    try
    	tell front window of application "Xcode" to set current tab to tab 1
    on error
    	tell front window of application "Xcode" to set current tab to last tab
    end try

(I have an error : `A property can’t go after this identifier.`)

I know I can switch tabs with `cmd-}`, I want to be able to go to a tab by its number
