Search found 21 matches

by nodochau
Fri Sep 13, 2019 4:39 pm
Forum: Beginners
Topic: total noob needs help with loop and image search
Replies: 3
Views: 52

Re: total noob needs help with loop and image search

save your images as image_1.bmp, image_2.bmp....image_8.bmp in your folder
Let>k=0
Repeat>k
Add>k,1
.......C:\your folder\image_%k%.bmp,SCREEN,0.7,1,XArr,YArr,NumFound,CCOEFF
If>NumFound>0
MouseMove>XArr_0,YArr_0
LClick
Endif
Until>k=8
by nodochau
Fri Jun 28, 2019 3:40 pm
Forum: General Discussion
Topic: Onevent or Waitkeyboard
Replies: 4
Views: 356

Re: Onevent or Waitkeyboard

Yeah, good idea.
I will try it. There is no mouse in my place. :)
Thanks
by nodochau
Fri Jun 28, 2019 10:20 am
Forum: General Discussion
Topic: Onevent or Waitkeyboard
Replies: 4
Views: 356

Re: Onevent or Waitkeyboard

Thanks a lot JRL. This code for WaitKeyDown. Do you have any idea of touching on the screen instead of using the keyboard? :)
I greatly appreciate your help.
by nodochau
Thu Jun 27, 2019 1:12 pm
Forum: Beginners
Topic: ENTRY PASSWORD IN DIALOG
Replies: 1
Views: 235

ENTRY PASSWORD IN DIALOG

Hello All,
I am creating a Dialog to ask users entry their password to go to the next step. When users type their PW in the box how can we change it to asterisk symbol only?
For ex: Instead of showing 12345 PW on screen, I want this ***** is shown when user types the PW.
Thanks
by nodochau
Wed Jun 26, 2019 12:31 pm
Forum: General Discussion
Topic: Onevent or Waitkeyboard
Replies: 4
Views: 356

Onevent or Waitkeyboard

Hello All,
I have a touch screen and I want to touch the screen (at anywhere on screen) and it will activate my program.
Do you have any ideas?
Thanks a lot
by nodochau
Wed May 15, 2019 3:45 pm
Forum: General Discussion
Topic: Position of spaces
Replies: 14
Views: 993

Re: Position of spaces

Thanks a lot hagchr.
It worked. Now I learn new stuff.
by nodochau
Mon May 13, 2019 12:58 pm
Forum: General Discussion
Topic: Position of spaces
Replies: 14
Views: 993

Re: Position of spaces

Thanks a lot Dorian. It worked for me and I have another problem to solve. I would like to separate lower case, uppercase and number. Example abcdEFGH03-25-2019. Here is my code: Let>text=abcdEFGH03-15-2019 Let>pattern=[^\d/-] Regex>pattern,text,0,matches,num,1,,text1 MDL>text1 Let>pattern=[^a-z ] R...
by nodochau
Fri May 10, 2019 10:16 am
Forum: General Discussion
Topic: Position of spaces
Replies: 14
Views: 993

Re: Position of spaces

Is it this?
I have text=abcdEFGH1234
can I set a pattern=(^a-z) to retrieve the EFGH1234 only? that what I've learned from regex101.com
Regex>pattern,text,0,matches,num,1,,text
?
by nodochau
Thu May 09, 2019 3:18 pm
Forum: General Discussion
Topic: Position of spaces
Replies: 14
Views: 993

Re: Position of spaces

Hi JRL,
I appreciate your help.
It worked great for me.
Regex is the one that I need to learn how to use it. Can you please explain more about it? The help in MS does not help me much.
Thanks
by nodochau
Tue May 07, 2019 10:53 am
Forum: General Discussion
Topic: Position of spaces
Replies: 14
Views: 993

Re: Position of spaces

Here is my scripts: Let>str1=I go to Cali today. Let>str2=I won't go to Cali tomorrow. Separate>str1,space,var1 Separate>str2,space,var2 Let>k=0 Repeat>k Let>k=k+1 Position>var2_%k%,str1,1,pos If>pos=0 MDL>var_%k% is not in str1 Endif. Until>k={%var1_count%-1} So I want to have a MDL which has all w...
by nodochau
Mon May 06, 2019 5:17 pm
Forum: General Discussion
Topic: Position of spaces
Replies: 14
Views: 993

Re: Position of spaces

Hi JRL, Thank you for your code. It made my life easier. I have sentence1: I go to Cali today. sentence2: I won't go to Cali tomorrow I can use separate and position commands to find words in sentence 2 but not in sentence 1. I get a problem is: How can I MDL all the words in separate lines at the e...
by nodochau
Mon May 06, 2019 2:42 pm
Forum: General Discussion
Topic: Position of spaces
Replies: 14
Views: 993

Re: Position of spaces

Thanks a lot.
by nodochau
Fri May 03, 2019 6:18 pm
Forum: General Discussion
Topic: Position of spaces
Replies: 14
Views: 993

Position of spaces

Hello all,
Do you have any ideas of pointing out the position of all spaces in a sentence?
Ex: I go to Cali today.
I want to know all spaces position in that string.
Thanks a lot
by nodochau
Wed Apr 24, 2019 2:24 pm
Forum: General Discussion
Topic: Run script with Touch Screen
Replies: 1
Views: 281

Run script with Touch Screen

Hello All, I want to know that are we able to create a dialog saying: PLEASE TOUCH "OK" BUTTON TO RUN THE PROGRAM. I mean that I want to create a dialog box with the greeting above and an OK button which is linked to the specific program. The user just touches on the OK button and the program will s...
by nodochau
Tue Feb 26, 2019 12:04 pm
Forum: General Discussion
Topic: Text Capture in scanned documents
Replies: 5
Views: 894

Re: Text Capture in scanned documents

Hi Marcus,
Please tell me what command line options from OS that I can use.
Thanks