![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Create macro to execute the L on keyboard Topic Summary: Created On: 07/01/2022 04:56 PM Status: Post and Reply |
|
![]() |
![]() |
- Robert Snow | - 07/01/2022 04:56 PM |
![]() |
![]() |
- Lunis Orcutt | - 07/01/2022 05:08 PM |
![]() |
![]() |
- Robert Snow | - 07/03/2022 02:25 PM |
![]() |
![]() |
- noblemd | - 07/03/2022 02:49 PM |
![]() |
![]() |
- Robert Snow | - 07/03/2022 04:13 PM |
![]() |
![]() |
- noblemd | - 07/03/2022 05:27 PM |
![]() |
![]() |
- noblemd | - 07/03/2022 05:41 PM |
![]() |
![]() |
- Robert Snow | - 07/03/2022 06:43 PM |
![]() |
![]() |
- Robert Snow | - 07/03/2022 06:53 PM |
![]() |
![]() |
- Robert Snow | - 07/23/2022 02:23 PM |
![]() |
![]() |
- Robert Snow | - 07/04/2022 01:10 PM |
![]() |
|
Windows 10 Pro Dragon version 15.61 SketchUp Pro 22.0.354 64bit
I can call up different tools using the keyboard I type in a single key L would bring up my line drawing tool. What I have tried in the Command Browser was the following, which did not work: myCommand Name: Draw line Description: Draw a line in SketchUp Group: SketchUp Application Specific: SketchUp Application Command Type: Auto-Tax (Text and Graphics) Content: L I'm not even sure if I'm going to right direction. Bob ------------------------- Robert Snow |
|
|
|
![]() |
|
Try changing your Text & Graphics command to an Advanced-Scripting macro. It would look as follows:
Sub Main SendKeys "l" End Sub
If you prefer, you can optionally create a step-by-step command ------------------------- Change "No" to "Know" w/KnowBrainer 2022 |
|
|
|
![]() |
|
I can't find the information I'm looking for. I might have a better shot at what I'm doing if I could find the format when I want to create a macro. Example: Sub Main this is more simple in nature. I want to get understanding onto how I might add additional commands are action. Our even a if statement. I found many topics and Dragon referring to using the Command Browser and all the various commands. But nothing regarding the basic structure of the macro. Bob ------------------------- Robert Snow |
|
|
|
![]() |
|
'#Language "WWB-COM" = WinWrap Basic
There are also other Dragon specific commands. Every WinWrap Basic command is listed here (with an example for each command): https://www.winwrap.com/web2/basic/#!/ref/WWB-doc_language_def.htm
Examples that use Debug.Print
'#Language "WWB-COM" Sub Main Debug.Print CSByte(1.6) ' 2 End Sub You can substtute MsgBox - in the above convert the number to a String by using CStr() as in Sub Main MsgBox CStr(CSByte(1.6)) ' 2 End Sub ------------------------- Michael Noble |
|
|
|
![]() |
|
This what I;m looking for. How to under stand the formate to use the cobe. The structure.Thw following is way over my head but there must be standatrs on how to acompish this. I need a site or book or examples. I was hoping Dragon would have a few examples, I could learn with. The example below is only to show my lack of structure knowleage. The code it's self needs nothing to me. Its things like Case, Sub, EndIf Etc. I need to understand. Bob Private Sub Form_QueryUnload ( Cancel As Integer, _ UnloadMode As Integer ) Select Case BasicIdeCtl1.Shutdown Case -1 ' WinWrap® Basic execution is nested. Timer1.Interval = 100 Cancel = True Case 0 ' Shutdown okay. Case 1 ' Shutdown canceled by the user. Cancel = True End Select End Sub Private Sub Form_Unload ( Cancel As Integer ) Cancel = Not BasicIdeCtl1.Disconnect End Sub Private Sub Timer1_Timer ( ) If Not BasicIdeCtl1.InEvent Then Timer1.Interval = 0 Unload Me End If End Sub ------------------------- Robert Snow |
|
|
|
![]() |
|
Learn the Basic programing language - READ BOOKS To understand what commands do, start simple... Read the example explanations in WinWrap® | Basic Documentation Try the commands (statements) Substitute simple values in the examples - see what happens... For example the Select Case statement: '#Language "WWB-COM" Sub Main X = "A" ' Change this value to B then something other than A or B Select Case X ' the value to evauate Case "A" ' If X=A MsgBox "X=A" Case "B" ' If X=B MsgBox "X=B" Case Else ' X = something else MsgBox "X does not = A or B" End Select End Sub
------------------------- Michael Noble |
|
|
|
![]() |
|
How to learn programming? [Beginner's 101 Guide] (hackr.io) ------------------------- Michael Noble |
|
|
|
![]() |
|
Thank you. I'm going to dig into it tonight. I did find what I was looking for in Dragon. Dragon scripting language extensions quick reference Bob ------------------------- Robert Snow |
|
|
|
![]() |
|
They seem to offer a ton of different programs. Which one would be closest to dragon. Bob ------------------------- Robert Snow |
|
|
|
![]() |
|
I have started to use hackr and it is a good source. I also bought Dragon Pro A Set Further and it is a beatiful source for understanding. Thanks for the direction. Bob
------------------------- Robert Snow |
|
|
|
![]() |
|
I have since found out that the voice recognition program Nuance Dragon, by default, will execute all of the tool commands that have a single letter for execution. Bob ------------------------- Robert Snow |
|
|
FuseTalk Standard Edition v4.0 - © 1999-2023 FuseTalk™ Inc. All rights reserved.