• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
another question related to the applescript in XCode 2.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

another question related to the applescript in XCode 2.1


  • Subject: another question related to the applescript in XCode 2.1
  • From: Dmitry Markman <email@hidden>
  • Date: Sat, 1 Oct 2005 11:23:51 -0400

Hi
why the following script doesn't delete the requested group?

    set root_group to root group of front project
    repeat with g in groups of root_group
        if (name of g is "Source") then
            tell root_group
                delete g
            end tell
            exit repeat
        end if
    end repeat

thanks


On Sep 30, 2005, at 11:59 PM, Scott Tooker wrote:

This should work, though I'm still looking at why your code snippet doesn't work:

tell application "Xcode"
tell root group of front project
make new group
end tell
end tell

Scott

On Sep 30, 2005, at 8:37 PM, Dmitry Markman wrote:

Hi
How I can add new group into the root group of the project

I tried the following:
make new group at  root group of the project "myproject"

it doesn't work

thanks


Dmitry Markman

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

Dmitry Markman

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: adding new group with applescript in XCode 2.1
  • Next by Date: Re: Using AppleScript to access a Copy File Phase in an Xcode project
  • Previous by thread: Re: adding new group with applescript in XCode 2.1
  • Next by thread: Re: Using AppleScript to access a Copy File Phase in an Xcode project
  • Index(es):
    • Date
    • Thread