Scripting Xcode 4.1
Scripting Xcode 4.1
- Subject: Scripting Xcode 4.1
- From: Steve Mills <email@hidden>
- Date: Thu, 22 Sep 2011 09:04:18 -0500
Does anyone know how to get the selected files in the Project Navigator pane of an Xcode project window? If that's not possible, how about the file being viewed in the Standard Editor?
Using Script Debugger's Explorer, I see two "file documents". #1 is not open in its own window, but is buried under a dozen other more recent files when I look in the Recent submenu of that one popup. #2 is the file that is indeed open in the Standard Editor. I see no reason why it only lists those 2 files, or why the visible document is showing up at #2.
Stranger yet is that it shows only one "project document", yet I have 2 projects open and the one being shown in the Explorer is not the frontmost project. I just wanna write some scripts to run Perforce commands on selected files, since Xcode doesn't do Perforce integration any more.
--
Steve Mills
Drummer, Mac geek
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden