06-26-2012, 05:01 PM
Maybe better use scan function? Capture object images with "Find image" dialog.
enumeration of items
|
06-26-2012, 05:01 PM
Maybe better use scan function? Capture object images with "Find image" dialog.
07-12-2012, 01:52 PM
I need to setup the function so i can access the Arrays from other functions, but i am confusing myself with the logic. What i have so far is
Tree_Array int w=win("Calculator" "SciCalc") ;;QM Options dialog Access_Function function# ARRAY(Acc)&b ARRAY(str)&names int&i ARRAY(str)&s I know i am missing many things, but can you help me get on the right track again? Thank you
07-12-2012, 04:53 PM
07-13-2012, 02:44 PM
Thank you for the last piece of information it helped me out a lot. I hate to jump backwards, but is there a way to use GetChildObject and gather all invisible objects? I was looking through the GetChildObject function, and I could not figure out how to get all invisible objects. The (-1) gets all descendants i know, but does that include all invisible as well?
07-13-2012, 02:58 PM
07-13-2012, 08:48 PM
Perfect, sorry to backtrack into comparing files and stuff again, but i need to compare data. This is what i have so far
int w=win("Calculator" "SciCalc") ;;QM Options dialog
07-14-2012, 04:00 AM
Macro Macro1782
int w=win("Calculator") if need array for object properties Macro Macro1781 int w=win("Calculator")
07-16-2012, 01:56 PM
That is works perfectly, but after i inserted the code i had a thought. I want to keep the older version and keep it. Every time there is different data i want it to create a different "Compare.txt" file. So the first file will be "Compare_v1.txt" then the next different one will be "Compare_v2.txt". I know i need some kind of for loop that compares old data to new data, then an if statement that says something like "if different, then data.savefile(...)". I have a have a general idea of what it should look like, but i am unable to write out the code to make it work.
08-01-2012, 05:08 PM
I came up on another issue. After running the GetChildObject to get all the objects i just realized that there are a few objects that have the same name, role, and location. The only difference is the element number. The objects with the same name, role and location do the same thing, and i was wondering how i would setup my function to that if there is a repeat of a function ignore it.
I was thinking of doing a scan or find function to search through a file that was just made and then compare if there are more then 1 of the same objects. If there are more then 1 of the same objects i would then call in the objects that were saved in the .txt file. I am not really sure how or if it can be done with Quick Macro. Any advice would be grateful. Thank you |
« Next Oldest | Next Newest »
|