Jump to content
AC Tool Forums
Sign in to follow this  
bhen

[help] on this script for printing

Recommended Posts

good day everyone anyone can help me how to this code can read data from excel file. i mean the constants value's

the constants value like k1 = 7043 is inside the excel file after he read the k1 it will procced to k2 something like that anyone can help me on this? I'm not expert so sorry in advance guys.

 

loop 1
Constants
//////////////
this area will be on excel

k1	=	7043
k2	=	70435

////////////////////

///mouse location//
m1 = 916, 212
m2 = 1101, 254
m3 = 907, 415
m4 = 959, 526
end

// mouse barode //

MousePos $m1


DoubleClick

delay 1000
keys $k1
delay 500

keys {RETURN}

//mouse printer//

MousePos $m2

delay 700
leftclick
delay 700

//mouse print count//
MousePos $m3


DoubleClick
delay 700

keys 2
delay 500

//mouse print//
MousePos $m4

leftclick
delay 700

end

 

Share this post


Link to post
Share on other sites

Well, as you have described your question. You state that the person who wrote this script is reading the excel file, with the script and using the values that is in the constants block. But, you failed to state what kind of Excel file.

But, that does not matter. Because in that whole script there is not a single line of code. That has anything to do with reading any file. So there is no way this script is reading a Excel file.

Heck, I can even tell if this is a complete script or only part of a script. But as I had stated, it is not reading any file.

 

Now, if you really want to know what this script is actually doing. Then I would suggest that you open up the AC Tool Help file. And look up each of the different commands and read what they actually do.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and to our Privacy Policy.