I have a very simple script that is trying to open a file in BBEdit
read only, but when run, it tells "Finder" instead of "BBEdit" to open
the file:
tell application "Finder"
set alias2 to file "blah-blah-blah"
end tell
tell application "BBEdit"
activate
open alias2 opening in front_window with read only
end tell
The Event Log shows that it actually splits the 'tell application
"BBEdit"' into two 'tell' blocks, one telling "BBedit" and then
"Finder":
tell application "Finder"
get file "draft-ietf-lemonade-notifications-07.txt" of folder "draft-
gellens" of folder "IETF" of folder "randy" of folder "Users" of disk
"TiLand"
document file "draft-ietf-lemonade-notifications-07.txt" of
folder
"draft-gellens" of folder "IETF" of folder "randy" of folder "Users"
of disk "TiLand"
end tell
tell application "BBEdit"
activate
end tell
tell application "Finder"
open document file "blah" of folder "blah" of disk "blah" with «class
RdOn» given «class OpnI»:«constant ****FrtW»
end tell
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or
confirmed) problem with the software, please email to "[EMAIL PROTECTED]"
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---