Hi!

After I upgrade to OS X Mavericks and OS X Yosemite and I start to have 
some problems with some scripts I frequently used before without any 
problems on BBEdit. Now I can no more copy, cut or paste with the keys 
CMD-C/V/X on Applescript display dialogs on BBEdit. Here is a very simple 
example:

tell application "BBEdit"
    activate
    set theText to the clipboard
    set DialogResult to display dialog ¬
        "Try to copy/cut/paste with CMD-C/V/X“ default answer theText 
buttons ¬
        {"Cancel", "Insert"} default button "Insert" cancel button "Cancel" 
with title "Test CMD-C/V/X“
end tell

It works fine if I run the script from the script editor. But if I run the 
script from BBEdit, I cannot copy, cut or paste with the keys CMD-C/V/X. I 
still can copy, cut or paste with the mouse, but it's not the same. I 
search BBEdit documentation and this forum, but I do not find any answer or 
solution to this problem.

In the meantime I found that I still can use CMD-C/V/X in Applescript 
display dialogs if I call “System Events” instead of BBEdit with the 
Applescript “tell” command, but then I have some other problems or 
inconveniences I want to avoid in my scripts.

Any ideas about a solution for this question? Thanks in advance.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to