Search found 29 matches

by bossydog9
Thu Jan 30, 2020 6:23 pm
Forum: Enhancement Suggestions
Topic: Return image size in FindImagePos function
Replies: 6
Views: 11953

Return image size in FindImagePos function

Suggestion: A return_offset value 9 that returns the width and height of the image. Whilst not actually an offset, I think an exception could be made and it wouldn't be out of place. Also, since the top-left position (return_offset=0) and the bottom-right position (return_offset=4) can be returned, ...
by bossydog9
Thu Jan 30, 2020 12:32 am
Forum: General Discussion
Topic: Missing Code Builder Items
Replies: 2
Views: 5045

Missing Code Builder Items

The following items that appear in the File Handling section of F1 Help are missing from the File Handling section of the Code Builders tab: IfNotDirExists IfNotFileChanged IfNotFileExists The following item that appears in the Window Functions section of F1 Help is missing from the Window Functions...
by bossydog9
Tue Jan 28, 2020 9:31 pm
Forum: Technical / Scripting
Topic: Serious performance issue with FindImagePos
Replies: 4
Views: 2779

Re: Serious performance issue with FindImagePos

I've have done some further testing and have found that the speed is dependant on the source of the image, the haystack and the search type. The most dependable searches rely on the source of the image being the Image Capture Tool. The following shows the 100% success rate for 3 images captured by t...
by bossydog9
Sun Jan 26, 2020 4:33 pm
Forum: Technical / Scripting
Topic: Image bleed-through in editor tabs
Replies: 2
Views: 1753

Image bleed-through in editor tabs

I opened a second tab in the MS editor and used the IR Wizard to insert a FindImagePos statement. The generated comment line was inserted above the statement along with the selected image. However, on returning to Tab 1, I found that the image on Tab 2 had bled through to Tab 1. The image remained o...
by bossydog9
Sat Jan 25, 2020 4:02 pm
Forum: Technical / Scripting
Topic: Abbreviated dialog definitions
Replies: 2
Views: 1817

Abbreviated dialog definitions

In one of the sample scripts, FindImagePos Test.scp, a dialog has been defined by a number of lines in the form: object=propertyvalue1,propertyvalue2,propertyvalue3,... instead of the verbose code generated by the Dialog Designer. E.g.: Dialog>Dialog1 Caption=Dialog1 Width=384 Height=257 Top=458 Lef...
by bossydog9
Thu Jan 23, 2020 9:45 pm
Forum: Technical / Scripting
Topic: Serious performance issue with FindImagePos
Replies: 4
Views: 2779

Serious performance issue with FindImagePos

Amongst the Macro Scheduler Blog pages is an article entitled "Ultra Fast Image Recognition and Text Capture Coming" and dated November 26, 2007. It is specific to Macro Scheduler 10 so version 14 should have the same, if not better, performance. Unfortunately, I haven't seen this kind of performanc...
by bossydog9
Wed Jan 22, 2020 11:01 pm
Forum: Technical / Scripting
Topic: Function to retrieve dimensions of a bmp/png/jpg image
Replies: 3
Views: 2217

Re: Function to retrieve dimensions of a bmp/png/jpg image

Thanks, Dorian & JLT, the very same thought went through my head when I saw the AutoSize property in the Dialog Designer. Cheers.
by bossydog9
Wed Jan 22, 2020 1:40 am
Forum: Enhancement Suggestions
Topic: Tab background colour/font
Replies: 0
Views: 11899

Tab background colour/font

It would be nice to be able to set the background colour of the current tab to a more discernable colour. It's a very light grey on my screen. Making the font bold would also work.

If you're editing multiple macros with similar code, it can get a bit confusing.
by bossydog9
Wed Jan 22, 2020 1:36 am
Forum: Enhancement Suggestions
Topic: Bug: Macro editor title incorrect
Replies: 0
Views: 12002

Bug: Macro editor title incorrect

Hi, The macro editor doesn't display the correct title when you have more than one macro open (via File>Open in New Tab... menu item). It always shows the name of the first macro to be opened. Also, when you have multiple tabs, you can't right-click on the first one to close it. And it would be nice...
by bossydog9
Tue Jan 21, 2020 3:22 pm
Forum: Technical / Scripting
Topic: Function to retrieve dimensions of a bmp/png/jpg image
Replies: 3
Views: 2217

Function to retrieve dimensions of a bmp/png/jpg image

Hi,
Is there a function that returns the dimensions (width & height) of a bmp/png/jpg image? e.g.

Code: Select all

GetImageDimensions>image_filename,width,height
by bossydog9
Mon Jan 13, 2020 3:09 pm
Forum: General Discussion
Topic: Typo in online manual
Replies: 1
Views: 5291

Typo in online manual

There is a typo on this page of the online manual: https://www.mjtnet.com/manual/index.html?radiogroup_object_properties.htm On the RadioGroup Object Properties page it defines the property SelectedItem as Returns the index of the selected radio button . It actually returns the text for the selected...
by bossydog9
Fri Jan 10, 2020 1:38 am
Forum: Technical / Scripting
Topic: Finding an image that has changed size
Replies: 3
Views: 2324

Finding an image that has changed size

Many developers use multiple screens on their machines, often with varying resolutions. For example, I have two 1920 x 1080 resolution screens and a 1680 x 1050 resolution screen. This can be an issue when using FindImagePos. An image found on the 1680 x 1050 will not be found on the larger screens ...
by bossydog9
Thu Jan 09, 2020 12:05 am
Forum: Technical / Scripting
Topic: Sending Blocks of Text
Replies: 3
Views: 2270

Re: Sending Blocks of Text

Thanks for the quick reply, Dorian. Inserting the system variable %CRLF% in the var1 text achieved what I wanted, perfectly. Many thanks. Let>var1=In the Automating Windows for Beginners video, it demonstrates sending text to Notepad using a Send> & Press Enter pair for each line.%CRLF%%CRLF%Is ther...
by bossydog9
Wed Jan 08, 2020 1:16 pm
Forum: Technical / Scripting
Topic: Sending Blocks of Text
Replies: 3
Views: 2270

Sending Blocks of Text

Hi, In the Automating Windows for Beginners video, it demonstrates sending text to Notepad using a Send> & Press Enter pair for each line. Is there a way of sending a block of text (and building a string variable) all at once using something like the heredoc method of delimiting multi-line strings i...
cron
Sign up to our newsletter for free automation tips, tricks & discounts