Search found 22 matches

by stev3n
Sat Dec 15, 2007 6:48 pm
Forum: Beginners
Topic: One time dialog and repeated hotkeys
Replies: 13
Views: 12716

I saw the blog http://www.mjtnet.com/blog/2007/11/20/exes-and-hotkeys/ , and I tried this and it still didn't work. What am I doing wrong?
by stev3n
Sat Dec 15, 2007 2:05 pm
Forum: Technical / Scripting
Topic: remove duplicate jpegs from folder
Replies: 11
Views: 14497

Are duplicates named similarly or randomly? And also, would two duplicates be two true duplicates? If so they would have the same size and you could maybe do something with looking at their file sizes
by stev3n
Fri Dec 14, 2007 3:23 pm
Forum: Beginners
Topic: One time dialog and repeated hotkeys
Replies: 13
Views: 12716

Alright, I have one more final problem to this script. I want to be able to use the hotkeys in this script until I shut the script off. I'm not understanding why it's just not in a continuous loop. Both of these, when I press them, keep repeating, and don't stop. I only want them to do their subrout...
by stev3n
Thu Dec 13, 2007 1:18 pm
Forum: Beginners
Topic: One time dialog and repeated hotkeys
Replies: 13
Views: 12716

Code: Dialog>Dialog1 Caption=Dialog1 Width=313 Height=247 Top=557 Left=322 RadioGroup=msRadioGroup1,msRadioGroup1,8,8,121,145,No Mage%CRLF%Fire Blast%CRLF%Fire Wave%CRLF%Guthix%CRLF%Saradomin%CRLF%Zamorak,-1 CheckBox=msCheckBox1,Steel Skin,136,48,97,False CheckBox=msCheckBox2,Ultimate Strength,136,7...
by stev3n
Thu Dec 13, 2007 1:05 pm
Forum: Beginners
Topic: One time dialog and repeated hotkeys
Replies: 13
Views: 12716

That works fine for the check boxes, but the radio buttons still aren't responding? I don't get any messagemodal for them with that
by stev3n
Thu Dec 13, 2007 1:10 am
Forum: Beginners
Topic: One time dialog and repeated hotkeys
Replies: 13
Views: 12716

Just one more question.. maybe

What would the "if" be then?

So how do I decipher between which radio was pressed, and decide to do something if it was? And the same if a checkbox was checked?
by stev3n
Wed Dec 12, 2007 5:31 pm
Forum: Beginners
Topic: One time dialog and repeated hotkeys
Replies: 13
Views: 12716

If you want to present several options and allow the user to select multiple choices, use a Radio Button Group. Don't radios only allow one choice? I currently have a radio selection for the options that I want to use for once choice, and I have 3 check boxes for the other. Wouldn't that be best? A...
by stev3n
Wed Dec 12, 2007 2:24 pm
Forum: Beginners
Topic: One time dialog and repeated hotkeys
Replies: 13
Views: 12716

One time dialog and repeated hotkeys

My goal is to create a dialog box, which asks for two inputs Input one has a combo box which you can only select one option. This option, I want it to do the macro normally (no matter what option you pick), but depending on the option, midway through it, does a certain action. The action would be re...
by stev3n
Sat Dec 01, 2007 1:43 pm
Forum: Technical / Scripting
Topic: Disabling Mouse
Replies: 1
Views: 3295

Disabling Mouse

After doing some searching, I noticed http://www.mjtnet.com/forum/viewtopic.php?t=645&start=0&postdays=0&postorder=asc I've tried this and it seems not to work, and it is also 4 years old, but I don't seem to see anything in the help file to quickly/temporarily disable mouse input. Is there any othe...
by stev3n
Mon Nov 26, 2007 8:32 am
Forum: Beginners
Topic: Moving to a pixel color
Replies: 1
Views: 3546

Moving to a pixel color

What is the easiest way to move to a certain pixel color on a certain window?
by stev3n
Wed Nov 07, 2007 5:37 pm
Forum: Beginners
Topic: Advancing OCR
Replies: 8
Views: 13387

That's what I thought I might have to do, but I just thought it would take a very long time. Anyways, I've gotten the coords (all 81), and I'm having problems with the sample OCR script to take just a screenshot of a certain section. ScreenCapture>242,311,273,342,C:\sod\1.bmp VBEval>DoOCR("C:\sod\1....
by stev3n
Wed Nov 07, 2007 4:29 am
Forum: Beginners
Topic: Advancing OCR
Replies: 8
Views: 13387

Advancing OCR

I have the OCR script as posted in the sample scripts section. Here's what I'm trying to do: Take a screenshot of a selected area The area is seperated in a gridlike form [soduku] I'd like to be able to use the OCR for every square to determine which square is a number and which is just a space And ...
by stev3n
Thu Nov 01, 2007 5:14 pm
Forum: Beginners
Topic: Moving Mouse to Bitmap On Screen
Replies: 10
Views: 10758

Alright, I got it going pretty decently I believe. Is there any way to simplify this? Label>LevelOne FindImagePos>C:\blocks\ott.bmp,SCREEN,0,1,X,Y,NumFound If>NumFound>0 GoTo>SeekOTT FindImagePos>C:\blocks\oww.bmp,SCREEN,0,1,X,Y,NumFound If>NumFound>0 GoTo>SeekOWW FindImagePos>C:\blocks\bt.bmp,SCREE...
by stev3n
Thu Nov 01, 2007 3:17 pm
Forum: Beginners
Topic: Moving Mouse to Bitmap On Screen
Replies: 10
Views: 10758

Well here's what I'm trying to achieve:

Find ott.bmp
Click there
Look again for ott.bmp
Click there
Until there are no ott.bmp
then stop clicking and eventually move to the next function
by stev3n
Thu Nov 01, 2007 3:08 pm
Forum: Beginners
Topic: Moving Mouse to Bitmap On Screen
Replies: 10
Views: 10758

That seems to only click once, and then the script ends
Sign up to our newsletter for free automation tips, tricks & discounts