KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: trouble using variable in kb; this macro was worjking in dmpe and longer here-need some help
Topic Summary:
Created On: 05/05/2020 09:02 AM
Status: Post and Reply
Linear : Threading : Single : Branch
Keyword
 05/05/2020 09:02 AM
User is offline View Users Profile Print this message

Author Icon
dicdoc
Top-Tier Member

Posts: 207
Joined: 07/31/2014

This macro was triming all space and useless signs in a phone number, butit seems I'm not even transferring the clipboard to y variable.

Can someone help me figure out what's the idfference in kb ?

 

==

 Dim sel As String
 SendKeys "^c", 1
 sel = Clipboard

sel = sel & " $$"
 sel = Replace$(sel, Chr$(32), "")
 sel = Replace$(sel, Chr$(9), "")
 sel = Replace$(sel, Chr$(10), "")
 sel = Replace$(sel, Chr$(13), "")
 sel = Replace$(sel, "-", "")
 sel = Replace$(sel, "/", "")
 sel = Replace$(sel, ".", "")
 sel = Replace$(sel, "*", "")
 sel = Replace$(sel, "(", "")
 sel = Replace$(sel, ")", "")
 sel = Trim (sel)
 Clipboard sel


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

Memory: 16GB Microphone Brand and Model: Rec Mic II Operating System: win 10, latest update; Surface Book 2, Processor (CPU) Type & Speed: I7 8650 Soundcard Brand and Model: none Speech Software: Dragon Medical Practice Edition, french version: 4.0 Using KnowBrainer?: No

 05/05/2020 10:15 AM
User is offline View Users Profile Print this message

Author Icon
dicdoc
Top-Tier Member

Posts: 207
Joined: 07/31/2014

auto answer : a wait was need before replace



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

Memory: 16GB Microphone Brand and Model: Rec Mic II Operating System: win 10, latest update; Surface Book 2, Processor (CPU) Type & Speed: I7 8650 Soundcard Brand and Model: none Speech Software: Dragon Medical Practice Edition, french version: 4.0 Using KnowBrainer?: No

Statistics
31622 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 0 users logged in.
The most users ever online was 3936 on 09/08/2015 at 11:44 AM.
There are currently 328 guests browsing this forum, which makes a total of 328 users using this forum.

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