Re: Applescript coding
Re: Applescript coding
- Subject: Re: Applescript coding
- From: Nigel Garvey <email@hidden>
- Date: Sun, 24 May 2015 22:04:29 +0100
Robert Poland wrote on Sun, 24 May 2015 06:29:31 -0600:
>> On May 24, 2015, at 5:16:AM, Nigel Garvey
>><email@hidden> wrote:
>>
>> In my message of Sun, 24 May 2015 12:00:20 +0100, I wrote:
>>
>>> defaults write -app 'script editor' ApplePersistence -bool no
>>
>>> • The individual "Do you want to save…?" dialogs are all of the older
>>> type with the convenient, one-handed, Control-D shortcut for "Don't
>>> Save".
>>
>> The shortcut is of course Command-D. Sorry about that. 8-}
>>
>> NG
>
>Strange, on all my machines for as long as I remember Command-D sets the
>Save To location.
Hi Robert.
In "Save as…" dialogs, yes, Command-D is the shortcut for navigating to
the desktop.
What I was talking about is this. Until a couple of system versions ago,
if you tried to close a document which had unsaved edits, a small dialog
would appear asking if you'd like to save it. This dialog had three
buttons: "Don't Save", "Cancel", and "Save", whose keyboard shortcuts
were respectively Command-D, Command-., and Return. If you chose "Save"
and the document didn't yet have a file associated with it, you'd then
get a "Save As…" dialog allowing you to choose a name and location for
the file. In this second dialog, as already noted, Command-D was the
shortcut for the desktop.
While these dialogs are still used by some applications (such as
TextWrangler), many apps now use a system whereby if an edited document
already has a file associated with it, you get the small dialog, but
with a "Revert Changes" button instead of a "Don't Save" button. This
new button doesn't have a shortcut, as far as I know. But if the
document's not been saved before, instead of the small dialog, you get a
larger one which is a combination of "Would you like to save…?" and
"Save as…". It has the three buttons "Don't Save", "Cancel", and "Save"
AND the navigational facilities for saving to a file. Since Command-D
can't serve for both "Don't Save" and navigation to the desktop, Apple
has decided to keep this shortcut applied to the navigational function.
Instead, in this kind of dialog, the shortcut for "Don't Save" is
Command-Backspace.
Besides the possibility for confusion in a mixed-application
environment, Command-Backspace isn't as ergonomically convenient as
Command-D if you're right-handed and use an English keyboard — if you'll
pardon my parochiality. ;) And not having any shortcut at all for
"Revert Changes" is just as flow-interrupting. That's why I was pleased
to get back the old dialogs in Script Editor.
NG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden