KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Sharing my script library
Topic Summary: Lots of KB macros shared on GitHub
Created On: 05/13/2021 10:48 AM
Status: Post and Reply
Linear : Threading : Single : Branch
 Sharing my script library   - dparent - 05/13/2021 10:48 AM  
 Sharing my script library   - Matt_Chambers - 05/13/2021 10:53 AM  
 Sharing my script library   - thalon - 05/14/2021 12:11 PM  
 Sharing my script library   - Lunis Orcutt - 05/14/2021 04:40 PM  
 Sharing my script library   - wristofdoom - 05/14/2021 06:44 PM  
 Sharing my script library   - dparent - 05/25/2021 10:44 AM  
 Sharing my script library   - dicdoc - 11/12/2021 07:55 PM  
 Sharing my script library   - dparent - 11/13/2021 12:33 PM  
Keyword
 05/14/2021 06:44 PM
User is offline View Users Profile Print this message

Author Icon
wristofdoom
Top-Tier Member

Posts: 326
Joined: 09/03/2020

I really want to just get a few of them working as standalones, like camelcase and under case, but they don't seem to work unless I add in all of the dependencies. Any advice for getting these to work on their own without installing every file that gets referenced?

Great library though, thank you for sharing.


-------------------------

Dragon Professional Individual v15.6. Windows 10. Knowbrainer 2017.

 05/25/2021 10:44 AM
User is offline View Users Profile Print this message

Author Icon
dparent
New Member

Posts: 8
Joined: 08/29/2018

Originally posted by: wristofdoom I really want to just get a few of them working as standalones, like camelcase and under case, but they don't seem to work unless I add in all of the dependencies. Any advice for getting these to work on their own without installing every file that gets referenced? Great library though, thank you for sharing.

Hi wristofdoom!

Probably the easiest thing to do in the long run is to create a C:\Users\Knowbrainer\CommonModules folder and put all the bas files in there.  Then you can simply reference the bas file that contains the function you want in your macro, like

'#Uses "C:\Users\KnowBrainer\CommonModules\utilities.bas"

That way, you don't have to copy anything around and can use any functions you want without extra work and all the references  should work.

There are a few macros that require MemoryForMacros which will take a little more set up, but the instructions are on my GitHub site.  The "camel" and "under case" functions do not need MemoryForMacros, so copying all of the bas files into the new CommonModules ought to do it.

Give it a shot and let me know!

-Doug

Statistics
32358 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 0 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 440 guests browsing this forum, which makes a total of 440 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2022 FuseTalk™ Inc. All rights reserved.