jcohen/xcode4-perforce-services — Issue #1: picking file and xcode id
Author: jani9000
Created: 2011-12-01 23:20:06+00:00
State: open

I'm running Xcode 3.2.6 on OS X 10.6.8 and the applescript part didn't work. The application id wasn't recognized. After I changed it to:

tell application "Xcode"

..the file picked seemed to be a random one instead of the current open file. Changing the script to this seemed to fix the issues for me:

on run {input, parameters}
tell application "Xcode"
set output to associated file name of window 1
end tell
end run