<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating a keyboard shortcut in SAS 9.4 in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599195#M16464</link>
    <description>&lt;P&gt;I don't see anything in the Enhanced Editor commands that looks likely for Propcase.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And I can see why not as there are some folks that use varaiables like AgeAtArrest, or PaymentDate. Propcase would not know in the case of compound words like that to leave alone or create as shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of the things that I actually use Excel for is to turn file layout documentation into SAS Input, Format and Label statements as often the documentation comes as a table that can be copied and Pasted into Excel. I add a column with the desired variable name (if needed)&amp;nbsp;and then can use an Excel formula to create&amp;nbsp;cells with string values like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;varname = "Text from the description column"&lt;/P&gt;
&lt;P&gt;That I can copy into the editor as a Label entry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The description column could be modified using the Excel propcase.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2019 22:10:23 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-10-24T22:10:23Z</dc:date>
    <item>
      <title>Creating a keyboard shortcut in SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599124#M16437</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;does anyone know if it is possible to create a keyboard shortcut like CRTL+SHF+L for propcase?&lt;/P&gt;
&lt;P&gt;I am looking to create a keyboard shortcut: CRTL+SHFT+P to convert text into propcase instead of typing it in.&lt;/P&gt;
&lt;P&gt;Just like how CTRL+SHIFT+L convert all the text into lower case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;KC&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 18:47:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599124#M16437</guid>
      <dc:creator>Kc2</dc:creator>
      <dc:date>2019-10-24T18:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a keyboard shortcut in SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599160#M16441</link>
      <description>&lt;P&gt;It would help to know what editor you are using.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can certainly create abbreviations for propcase, or perhaps modify the keys menu.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 20:50:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599160#M16441</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-10-24T20:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a keyboard shortcut in SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599162#M16443</link>
      <description>Hi Paige,&lt;BR /&gt;I am using the enhanced editor. I am not looking to create an abbreviation for propcase. I want to create a keybord shortcut which transforms the select text to propcase. If I copy my la my labels from a word.doc file into SAS instead of manually updating them I would like to be able to select the text and press CTL+SHT+alphaKey to have the text converted to propcase just like CTL+SHT+L does when it allows the user to convert the selected text in lower case.</description>
      <pubDate>Thu, 24 Oct 2019 20:57:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599162#M16443</guid>
      <dc:creator>Kc2</dc:creator>
      <dc:date>2019-10-24T20:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a keyboard shortcut in SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599189#M16458</link>
      <description>&lt;P&gt;The PROPCASE SAS language function is only available when you run SAS code, and it applies only to SAS data. So I don't think you can create a shortcut that would apply this to the text of your SAS program - that functionality would have to be added to the enhanced editor. Given the editor has been a legacy, maintenance-only product for many years I can't see this happening.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 22:05:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599189#M16458</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-10-24T22:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a keyboard shortcut in SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599191#M16460</link>
      <description>&lt;P&gt;In the enhanced editor, you can create an abbreviation, so for example whenever you type PR or any other string you want (lower or upper case, it doesn't matter) and press ENTER, the string propcase appears in your code.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 22:21:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599191#M16460</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-10-24T22:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a keyboard shortcut in SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599195#M16464</link>
      <description>&lt;P&gt;I don't see anything in the Enhanced Editor commands that looks likely for Propcase.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And I can see why not as there are some folks that use varaiables like AgeAtArrest, or PaymentDate. Propcase would not know in the case of compound words like that to leave alone or create as shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of the things that I actually use Excel for is to turn file layout documentation into SAS Input, Format and Label statements as often the documentation comes as a table that can be copied and Pasted into Excel. I add a column with the desired variable name (if needed)&amp;nbsp;and then can use an Excel formula to create&amp;nbsp;cells with string values like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;varname = "Text from the description column"&lt;/P&gt;
&lt;P&gt;That I can copy into the editor as a Label entry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The description column could be modified using the Excel propcase.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 22:10:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599195#M16464</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-10-24T22:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a keyboard shortcut in SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599303#M16486</link>
      <description>&lt;P&gt;Thank you everyone.&lt;/P&gt;
&lt;P&gt;Too bad this functionality doesn't exist. I will move the text file to excel, update them in excel and then do a SAS import.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 12:04:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599303#M16486</guid>
      <dc:creator>Kc2</dc:creator>
      <dc:date>2019-10-25T12:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a keyboard shortcut in SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599305#M16488</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/3443"&gt;@Kc2&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create a keyboard macro in the Enhanced Editor that comes very close to this functionality (difference: not &lt;EM&gt;selected text&lt;/EM&gt;, but the &lt;EM&gt;next word&lt;/EM&gt; is converted to mixed case):&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;From the main menu select Tools --&amp;gt; Keyboard Macros --&amp;gt; Macros...&lt;/LI&gt;
&lt;LI&gt;Press the "Create..." button.&lt;/LI&gt;
&lt;LI&gt;Enter a suitable keyboard macro name and description and put together the commands shown in the screenshot below from the list of "Commands" (after selecting the respective "Categories" or category "All"). When finished, confirm with OK.&lt;/LI&gt;
&lt;LI&gt;Press the "Assign keys..." button.&lt;/LI&gt;
&lt;LI&gt;Click into the field "Press new shortcut key" and press the desired shortcut key (e.g. Alt+P). Make sure that it is "Currently assigned to: None." Confirm with OK.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="propcase.png" style="width: 500px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33391iA1430DC9F7CAACD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="propcase.png" alt="propcase.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/3443"&gt;@Kc2&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;If I copy ... my labels from a &lt;STRONG&gt;word.doc&lt;/STRONG&gt; file into SAS ...&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then another option would be to perform the conversion in Word: select the text to be converted and press &lt;STRONG&gt;Shift&lt;/STRONG&gt;+(&lt;EM&gt;up to three times&lt;/EM&gt; &lt;STRONG&gt;F3&lt;/STRONG&gt;).&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 12:05:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-keyboard-shortcut-in-SAS-9-4/m-p/599305#M16488</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-10-25T12:05:56Z</dc:date>
    </item>
  </channel>
</rss>

