![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Lowercase/uppercase <text> Topic Summary: How can I find/write a command like that? Created On: 04/13/2019 03:24 PM Status: Post and Reply |
|
![]() |
![]() |
- missink | - 04/13/2019 03:24 PM |
![]() |
![]() |
- R. Wilke | - 04/13/2019 03:47 PM |
![]() |
![]() |
- missink | - 04/13/2019 05:51 PM |
![]() |
![]() |
- locution | - 04/13/2019 08:06 PM |
![]() |
![]() |
- Alan Cantor | - 04/13/2019 10:34 PM |
![]() |
![]() |
- Edgar | - 04/14/2019 12:57 PM |
![]() |
![]() |
- Lunis Orcutt | - 04/14/2019 02:06 PM |
![]() |
![]() |
- missink | - 04/19/2019 04:41 PM |
![]() |
![]() |
- locution | - 04/19/2019 05:06 PM |
![]() |
![]() |
- PG LTU | - 04/19/2019 06:36 PM |
![]() |
![]() |
- Scribe | - 05/23/2019 11:56 AM |
![]() |
![]() |
- PG LTU | - 05/23/2019 02:35 PM |
![]() |
|
Sub Main Dim lowerCase As String Dim upperCase As String
lowerCase = LCase (ListVar1) MsgBox lowerCase upperCase = UCase (ListVar1) MsgBox upperCase End Sub The above is a proof of concept I call it "Test <dictation>"; I made it a global command. The next step would be to adapt to the code to your needs; I would probably create 2 new global commands: Lowercase All <dictation> a single command might look like: list: "scules" with the contents: Lowercase Capitalize and the command would be:
would look like: Sub Main Dim upperCase As String
upperCase = " " & UCase (ListVar1) & " " ' somewhere on the forum is code for inserting smart spaces ' I didn't bother to use it in the above and if being lazy I would use: ' upperCase = UCase (ListVar1) ' and manage the leading and trailing spaces in dictation SendKeys upperCase , 1 End Sub ------------------------- -Edgar |
|
|
|
FuseTalk Standard Edition v4.0 - © 1999-2023 FuseTalk™ Inc. All rights reserved.