Re: Invisible Unix "Icon" File
Re: Invisible Unix "Icon" File
- Subject: Re: Invisible Unix "Icon" File
- From: "Mark J. Reed" <email@hidden>
- Date: Fri, 5 Nov 2010 09:29:01 -0400
If you do
id of return
in AppleScript, you'll get 13. The first 26 character id's correspond
to control+ the corresponding letter of the alphabet: 1 is control-A,
2 is control-B, etc. So backspace is also control-H, tab is
control-I, linefeed is control-J, return is control-M. It's common,
especially in UNIXland, to represent control-X as ^X.
When typing in Terminal you can reliably generate these characters by
actually holding down the control key and pressing the letter key, but
in other applications the keystrokes might be interpreted differently.
On Friday, November 5, 2010, Michael Wood <email@hidden> wrote:
> On 5 November 2010 00:28, Shane Stanley <email@hidden> wrote:
>> On 5/11/10 9:19 AM, "Emmanuel LEVY" <email@hidden> wrote:
>>
>>> I know someone said something else and maybe I'm just plain wrong, but
>>> as I remember it the name was "Icon" followed by return.
>>
>> That's my recollection, too.
>
> A "return" or "carriage return" is represented by a Control-M
> character, so there is no conflict here :) (It is also sometimes
> shown as '\r'.)
>
> --
> Michael Wood <email@hidden>
> _______________________________________________
> 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
>
_______________________________________________
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