Search found 63 matches

by Niroj@Work
Thu Dec 31, 2009 6:00 am
Forum: General Discussion
Topic: Irregular Behaviour of GetTextInRect!
Replies: 2
Views: 4751

And also the result is irregular even though the same rectangle I am using...

I think "GetTextInRect" is not powerful like "GetWindowTextEx"... :!:
by Niroj@Work
Thu Dec 31, 2009 5:33 am
Forum: General Discussion
Topic: MacroSchedular Vs OLE VB SCRIPING Vs QTP
Replies: 4
Views: 7249

MacroSchedular Vs OLE VB SCRIPING Vs QTP

Hello Friends, I am not aware of QTP or OLE VB scripting. When I started using Macroscheduler people started asking questions why only macroscheduler? Some one told that he can do all this using simple OLE VB scripting.. Some one told QTP and etc...etc... And I don't know the perfect answers... If y...
by Niroj@Work
Sat Dec 26, 2009 5:26 am
Forum: Technical / Scripting
Topic: Difference between two strings
Replies: 2
Views: 3365

Difference between two strings

Suppose:

Let>str1=12345neil
Let>str2=125neil

How to get the diffrence "34"? Null replacement is not working..
by Niroj@Work
Sat Dec 26, 2009 4:12 am
Forum: General Discussion
Topic: RegEx...????
Replies: 2
Views: 4757

The problem here is that I am catching this kind of expressions dynamically from a text based application. .
If using RegEx I catch a text {kjkjkjkjjk...} raplaced in %str%, can I assgin it to a variable as:

Let>string="%str%"?
Will not it take " also??
by Niroj@Work
Fri Dec 25, 2009 10:57 am
Forum: General Discussion
Topic: Irregular Behaviour of GetTextInRect!
Replies: 2
Views: 4751

Irregular Behaviour of GetTextInRect!

GetTextReset SetFocus>putty* GetTextInRect>633,443,644,450,str mdl>str ======================== The above should show me as single letter but this is displaying multiple letter.. Also some time I found like the result is varing... Why this is happening? Does GetTextInRect for smaller rectangle like ...
by Niroj@Work
Tue Dec 22, 2009 11:14 am
Forum: General Discussion
Topic: RegEx...????
Replies: 2
Views: 4757

RegEx...????

Please Check the Code below: =========================== Let>TrimmedStr={ niroj thbs } RegEx>\s+$,%TrimmedStr%,0,matchArr,TotMatches,1,,TrimmedStr RegEx>^\s+,%TrimmedStr%,0,matchArr,TotMatches,1,,TrimmedStr MessageModal>"%TrimmedStr%" The above code is throwing an error.."Unknow Identifier Niroj" No...
by Niroj@Work
Tue Dec 22, 2009 6:41 am
Forum: Beginners
Topic: Runing command using Telnet Connection! like run a DB query
Replies: 1
Views: 3329

Runing command using Telnet Connection! like run a DB query

Hi, I don't have a DB driver for INFORMIX 9.4. Can I get the ODBC driver for free? If not can I use Telnet to do the same? i.e. I want do run a db query in HP unix prompt like this: Result=` dbaccess DB_Name>/dev/null SELECT emp_id FROM emp WHERE emp_name=$name EOFSQL` later I can FTP the same to my...
by Niroj@Work
Mon Dec 21, 2009 1:41 pm
Forum: Beginners
Topic: Capture group in RegEx?!
Replies: 3
Views: 4995

Thanks Bob for your valuable information. I used \s,\d etc because I needed it like that.. e.g. I want IGNORE "abcd" not IGNORE123"abcd" ... Yes I wanted $1, $2 and $4 only. Actually I wanted to catch them outside the RegEx command; but MatchMe_1 or $1 was not working... Ok I will use replacing meth...
by Niroj@Work
Fri Dec 18, 2009 12:01 pm
Forum: Beginners
Topic: Capture group in RegEx?!
Replies: 3
Views: 4995

Capture group in RegEx?!

Hi all, Can you people plz tell me whether RegEx can catch strings using "( )" or not? code: Let>exeStep=IGNORE "Error !*Child" PRESS WITHIN 2 RegEx>^\s*IGNORE\s+"([^"]*)"((\s+PRESS\s+\S+)|(\s+ENTER\s+\S+)|(\s+TYPE\s+\S+))\s+WITHIN\s+(\d+)\s*$,%exeStep%,0,MatchMe,cnt,0 Can I get MatchMe_1, MatchMe_2...
by Niroj@Work
Fri Dec 18, 2009 5:10 am
Forum: Technical / Scripting
Topic: Calling a child script within a loop by using Include>
Replies: 1
Views: 2359

Sorry

Sorry... I made a mistake.. Yes we can call any script any number of times from main script...

Actually I made a mistake by putting a "goto" in the child script directly to the CloseAll label.. It was a bug..

Sorry .. plz don't waste your time for my stupidity 8)
by Niroj@Work
Fri Dec 18, 2009 4:54 am
Forum: Technical / Scripting
Topic: Calling a child script within a loop by using Include>
Replies: 1
Views: 2359

Calling a child script within a loop by using Include>

Hi Guys, Currently I am facing problem when I am calling a child script from the main script or parent script which is included in a loop . What is happening is though the no of sheets read from the excel sheet is 2 but the called script is able run only once. I tried in many ways to do the same.. b...
by Niroj@Work
Thu Dec 17, 2009 10:49 am
Forum: Beginners
Topic: Get X,Y pos where a specifix text appears
Replies: 2
Views: 3463

Thanks Mtettmar, But most of time it is hanging... I am trying in different way by copying the window using "GetWindowTextEx" and spliting it for newlines and search it by using regular pattern matching... My main motive was to reach the matched text by using arrow keys. That's why I need to get the...
by Niroj@Work
Thu Dec 17, 2009 6:40 am
Forum: Beginners
Topic: Get X,Y pos where a specifix text appears
Replies: 2
Views: 3463

Get X,Y pos where a specifix text appears

Hi All, Can I get the relative X,Y position on a window where a specific Text is found? Also, can I catch the text linewise on a window screen? What Exactly I am doing: ---------------------------- 1)Finding a specific TEXT1 on the screen 2)If the TEXT1 is FOUND >Start reading TEXT line by line TILL...
by Niroj@Work
Mon Dec 14, 2009 1:57 pm
Forum: Technical / Scripting
Topic: Getting Error While doing Regular Pattern Matching--- Trim
Replies: 2
Views: 3038

Re: Getting Error While doing Regular Pattern Matching(Trim)

SRT>Trim Let>TrimmedStr=Trim_Var_1 //Trimming out spaces at beg and end RegEx>^\s+,%TrimmedStr%,0,matchArr,TotMatches,1,,TrimmedStr RegEx>\s+$,%TrimmedStr%,0,matchArr,TotMatches,1,,TrimmedStr //Trimming out any invisible chracters RegEx>^[^\d\w\~`!@#$%^&*()_\-+={}|\\\]\["':;?/.>,[^\d\w\~`!@#$%^&*()...
by Niroj@Work
Mon Dec 14, 2009 1:41 pm
Forum: Technical / Scripting
Topic: Getting Error While doing Regular Pattern Matching--- Trim
Replies: 2
Views: 3038

Getting Error While doing Regular Pattern Matching--- Trim

SRT>Trim Let>TrimmedStr=Trim_Var_1 //Trimming out spaces at beg and end RegEx>^\s+,%TrimmedStr%,0,matchArr,TotMatches,1,,TrimmedStr RegEx>\s+$,%TrimmedStr%,0,matchArr,TotMatches,1,,TrimmedStr //Trimming out any invisible chracters RegEx>^[^\d\w\~`!@#$%^&*()_\-+={}|\\\]\["':;?/.>,[^\d\w\~`!@#$%^&*()_...
Sign up to our newsletter for free automation tips, tricks & discounts