![]() The mouse and keyboard will generate events. Quick Idea: I have an idea to use message passing in my library. You should write a Technical Document and a Programmer's Guide for FOOL. How is the tree structured using Gnode & Node? ![]() What's the difference between a Gnode and a Node? Does a Gnode define where a sprite should be one screen? I am so confused. Oh so, main has all the points to each item, and it is passed it SI, and caller calls each item in main? putpixel : ret do nothing because it is just an example main dd node -$ - 4 ,item1 ,item2 ,item3 item1 dd node -$ - 4 ,item2 ,item3 : item2 dd node -$ - 4 ,item3 : item3 dd putpixel, 0, 10, 1, 2 ,color put a pixel at 0,10, 1 pixel large, 2 pixels high. It will come in handy for me later in my library. Then, each time a graphic item is executed, the X and Y values from parent will be added to x,y of current, and on return, x and y of current are restoredīut the FOOL syntax and program structure is a bit complex-I don't understand. If you make the node function, you will be able to support trees.Ĭode: struct wNone Window Node call dd ? funtions id to call for this item x1 dw? left y1 dw ? top x2 dw ? right y2 dw ? bottom width dw ? window width height dw ? window height title rb 128 window caption cache rb 64000 cache the screen data beneath the window ends Then, you see that everything is optional.Įven coordinates are optional because a window can be hidden, or non graphic. then, you have the start coordinates, and the count of pixels. It is more efficient for the graphic items to have X,Y, XL and YL. Then, each time a graphic item is executed, the X and Y values from parent will be added to x,y of current, and on return, x and y of current are restored. In fool, i use esi for the current item, and as graphic needs relative position, edi is used as parent item. Of course, you need to pass a parameter to the function, this parameter is the pointer to the item. Then, to execute, you take the first data, and use it as a pointer to a function, and call it. The id of the item is its adress, only its adress, and is not into the data structure. Does it work in DOS? (meaning, if I enter VESA mode in XP, would it work?)Ĭode: struct wNone Window Node call dd ? funtions id to call for this item x1 dw? left y1 dw ? top x2 dw ? right y2 dw ? bottom width dw ? window width height dw ? window height title rb 128 window caption cache rb 64000 cache the screen data beneath the windowends Yea your right, VGA 320x200 pixels are HUGE!!! I recently made a routine to DrawText in VGA and it doesn't look so pretty. I don't know where to find useful and sufficient information on VESA. To put a pixel is very difficult unlike the simple, AH=0Ch/Int 10h. I checked out a few stuff on VESA and I realized that it isn't as simple as VGA (mode 13h). Probably, the structure could hold information such as, height, width, etc.Ībout VESA. How do I check? Will the tree have this information? Do I can every 60 pixels on each for 20 lines to see if the cursor is there? I think I could have a structure that could have certain information on that object. So as long as the cursor is within the parameters of 100,170 and 160,190 then the action assigned to the button can be executed. Let's say we have the rectangle 100,170 to 160,190. ![]() any time you make a script and need to click coords, this is a script to get the coords you need to click.īasically, anytime you want to use autoit or another program that takes mouse coordinates, you can use this script to easily obtain many coordinates to have apps click for you.I still don't get the tree concept!. record mouse positions to use for an auto clicker, or for programs that take coordinate entry like Pirox AFK bot record mouse positions to level your enchanting (positions for "enchant", the item to enchant, and the ensuing "yes" to overrite the enchant), and then make a simple script to click locations and level enchanting record mouse coords for where to click the "yes" button for the thread about stealing items from the neutral AH Practical uses are mostly for beginner AutoIt scripters, examples Most people will probably find this useless, but im trying to contribute at least something. Here is what the output file will look like Pess INSERT/INS to capture the coordinates of wherever the mouse cursor is.Ī window will pop up, just type in the label you want, and it will record the position to positions.ini in the same directory the script is in. its a small autoit script so no virus scan should be necessary Start the script (you need AutoIt installed to run it - i would have compiled it to an exe so anyone could use but figured no one would trust a 0 rep. This is just a little AutoIt script i made to record the position of your mouse cursor.
0 Comments
Leave a Reply. |