Hi,
I have also tried creating different file names for the include. Still this will execute the first file that is loaded. Please help me with this issue.
Regards,
Aks
Search found 18 matches
- Thu Nov 13, 2008 1:09 pm
- Forum: Beginners
- Topic: Execute a variable
- Replies: 18
- Views: 18610
- Thu Nov 13, 2008 10:04 am
- Forum: Beginners
- Topic: Execute a variable
- Replies: 18
- Views: 18610
Hi, I am using the following block of code to execute commands in macro scheduler that are sent by an external script. WriteLn>%TEMP_DIR%\_temp.scp,r,cmd Include>%TEMP_DIR%\_temp.scp DeleteFile>%TEMP_DIR%\_temp.scp MessageModal>PostData HTTPRequest>server_addr,,POST,PostData,cmd,,,, Until>cmd,DONE e...
- Thu Nov 06, 2008 4:05 pm
- Forum: Beginners
- Topic: Scripting Help
- Replies: 1
- Views: 3819
Scripting Help
I am trying to create a http client in macro scheduled script which has to connect to the server which is launched in the same system. let>s_ip=http://myIp:8989 let>cmdResult=RUNNING HTTPRequest>s_ip,,POST,result=cmdResult,cmd,,,, messageModal>cmd Netstat shows that the server is launched. But i get...
- Thu Nov 06, 2008 10:16 am
- Forum: Beginners
- Topic: Image Recognition Help
- Replies: 13
- Views: 12469
- Wed Nov 05, 2008 1:45 pm
- Forum: Beginners
- Topic: Image Recognition Help
- Replies: 13
- Views: 12469
- Wed Nov 05, 2008 10:50 am
- Forum: Beginners
- Topic: Image Recognition Help
- Replies: 13
- Views: 12469
I tried doing that but i guess i am going wrong in specifying the dimension of the image. Needle image dimensions is 32x29 FindImagePos>needle,SCREEN,0,0,Xs,Ys,n If>n>0 //for this example just get first match Let>x1=Xs_0 Let>y1=Xs_0 Let>x2=x1+32 Let>y2=y1+29 ScreenCapture>x1,y1,x2,y2,c:\newbmp.bmp E...
- Tue Nov 04, 2008 10:03 am
- Forum: Beginners
- Topic: Image Recognition Help
- Replies: 13
- Views: 12469
- Tue Nov 04, 2008 8:44 am
- Forum: Beginners
- Topic: Image Recognition Help
- Replies: 13
- Views: 12469
Hi Marcus, yes i refered the demo as well as blog on image recognition. Using the same approch given in the blog a smaller image is found in the screen image using FindImagePos. Now as you explained FindImagePos will return the cordinates of the smaller image. Using these cordinates can i recapture ...
- Mon Nov 03, 2008 11:25 am
- Forum: Beginners
- Topic: Image Recognition Help
- Replies: 13
- Views: 12469
Image Recognition Help
Hi, If i have to achive an end to end automation using only image recognition feature then how do i script the following scenerio: There is a checkbox on one of the window opened inside a remote desktop screen. The image of this chekbox and its message is my reference image. Now screenCapture will c...
- Wed Oct 22, 2008 11:07 am
- Forum: Beginners
- Topic: Loading external dll
- Replies: 9
- Views: 8900
Hi Marcus, I tried the following code: LibLoad>myLib.dll,hLib Remark>Registering with framework lib LibFunc>hLib,LibRegister,rc,MacroEngine,Handle If i debug the first line macro scheduler message box pops up saying 'Access violation at address 00000015.Read of address 00000015' And if i place the d...
- Wed Oct 22, 2008 7:06 am
- Forum: Beginners
- Topic: Loading external dll
- Replies: 9
- Views: 8900
- Tue Oct 21, 2008 10:46 am
- Forum: Beginners
- Topic: Loading external dll
- Replies: 9
- Views: 8900
Hi Marcus, I tried the following code to use a function in the external dll: LibLoad>F:\myLib.dll,hnd LibFunc>hnd,LibRegister,check,ref:MacroEngine,ref:Handle MessageModal>check LibFree>hnd variable check should contain a string. But while running this code i got "access violation error". I have pre...
- Fri Oct 17, 2008 9:40 am
- Forum: Beginners
- Topic: Accessing variable inside Vbstart-VBEnd block
- Replies: 3
- Views: 5380
- Thu Oct 16, 2008 3:03 pm
- Forum: Beginners
- Topic: Accessing variable inside Vbstart-VBEnd block
- Replies: 3
- Views: 5380
Accessing variable inside Vbstart-VBEnd block
Hi, let>res=This is a test message VBSTART dim res msg=res MsgBox(msg) VBEND What is missing in the above code snippet? Or the only way to link vbscript and macro is to use function and sub commands of vbscript? Meaning: let>res=This is a test message VBSTART Sub DisplayMessage (msg) MsgBox msg End ...
- Thu Oct 16, 2008 10:09 am
- Forum: Beginners
- Topic: Execute a variable
- Replies: 18
- Views: 18610
Hi Marcus, I tried out the steps you have mentioned. I ran the following code snippet: Let>check=message>checking command WriteLn>%TEMP_DIR%\_temp.scp,r,check Include>%TEMP_DIR%\_temp.scp DeleteFile>%TEMP_DIR%\_temp.scp I could not see a message box with "checking command" message. I have to get giv...