Another AppleScript 9 to 10 problem

23 views
Skip to first unread message

Steve Samuels

unread,
Jul 21, 2011, 4:02:56 PM7/21/11
to BBEdit Talk
The following script works in 9.6.3 but not in 10. Can anyone suggest
a work around?

Thanks,

Steve

---------------------
tell application "BBEdit"
set theOriginalFile to file of text document 1
end tell
tell application "Finder"
container of theOriginalFile as text
end tell
______________

Christopher Stone

unread,
Jul 24, 2011, 7:45:02 AM7/24/11
to bbe...@googlegroups.com
On Jul 21, 2011, at 15:02, Steve Samuels wrote:
The following script works in 9.6.3 but not in 10. Can anyone suggest a work around?
______________________________________________________________________

Done:

tell application "BBEdit"
set theOriginalFile to file of text document 1 as alias
end tell
tell application "Finder"
set theOriginalFilesContainer to container of theOriginalFile as alias
end tell

--
Chris

Reply all
Reply to author
Forward
0 new messages