I have an empty project document. I'd like to add a file to it. Here is what I've tried. The example is minimal; the relevant portion of the event log follows in an AppleScript comment:
==tell application "BBEdit" set theProject to project document "myproject.bbprojectd" -- set doc to make new text document tell theProject set anItem to make new project item with properties {file:(POSIX file "/Users/me/myproject/Kicking/Kicking.tex") as alias} end tell end tell (* make new project item with properties {file:alias "Macintosh HD:Users:me:myproject:Kicking:Kicking.tex"} --> error " (MacOS Error code: -1701)" number -1701 from «class pexp» *) The POSIX file exists. How should I be doing this?
— F
-- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "support@barebones.com" rather than posting to the group.
Jul 23
Rich Siegel Re: AS: Adding a project item
Jul 23, 2010; 09:14
Rich Siegel
Re: AS: Adding a project item
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!