Jump to content
Macro Express Forums

Brain Virus

Members
  • Posts

    43
  • Joined

  • Last visited

Everything posted by Brain Virus

  1. Feel free to post your macro solution, someone might have the same question. I for one am interested in seeing your simpler solution.
  2. what if the area he checks contains 25 pixels... 5x5 pixel 1,1 could be 123456 and the macro would stop... but pixel 1,2 is 0 the macro would have stopped before reaching the second pixel @ funnyboy, either mine or Alans method would work. However, i recommend Alans... its a bit better because it will stop after finding the pixel... say there are 1000 pixels to check.. and number 250 is the black pixel you want.. it will stop at 250 while mine will check all 1000 although... if you add an if %N1% (the boolean) equals 1 end repeat that would stop it. So actually, in retrospect you have 2 ways to accomplish the same thing
  3. im not sure that would work... say he was looking for color 0. say the first pixel he finds is 654321. that does not equal 0 and the macro would stop he could repeat until %N1% = 0 but that would go in an endless loop if 0 is never found. I think a boolean system like the one i suggested would work for him. if i am wrong or misunderstanding your coding, please correct me.
  4. Okay, say you are looking for pixel color 0 aka black Set var %N1% to 0 Get pixel value into var %N2% Do all the checking for the pixels After each pixel check do a if %N2% equals 0 (black) then set %N1% to 1 Then after you check the pixels If %N1% equals 1 end repeat I am doing this on my phone so sorry for the brevity. Let me know if you have any questions
  5. can you post the macro so we can look at the coding? What are you using for your hot key? does that do anything in the program?
  6. I have made quite a few that range from resetting pw in bulk, moving them, creating copies of accounts, assigning login scripts and setting home folders. It pretty easy to work with. Some tips for navigation. when you open the profile window for the account and you want to get to another tab (you cant use controls for this in 2003): shift+tab up to highlight the general tab then arrow left or right to cycle through to the proper tab to get to a specific field: alt+(letter) example alt+m on the general tab will jump down to the email field. To make sure you get the right user: Do a pixel check for black on the picture of the little guy to the left of the search results and one space down. Have it pause if it returns a black pixel, this will allow you to select the correct user if you get multiple results the quickest way to highlight the search result is text type arrow left to bring up the right click menu when you have a user highlighted text type <APP> to navigate the move menu have the macro type the first couple letters of the OU you want, then arrow left to drill down, then repeat until you get to the correct OU Let me know if you have any questions and i would be more than happy to assist you.
  7. what do you mean by not working? Is it not running at all, or is it breaking while it is running?
  8. What is the error or problem? Your can check the resolution by doing a set variable from width and height and then export that to a .txt to check. The other thing, how are you connecting to the system? RDP or a vnc client? If you are connecting with RDP, when you disconnect, it will log out the session. Try using a VNC or logmein.com
  9. You can do text type: <TAB><TAB><TAB><TAB><TAB><TAB><TAB>.. etc all on one line then after that put the delay option that tell it wait for the text playback to complete. or you can look into using controls to see if you can use it in that application
  10. no worries, Hows the deployment? anybody having issues?
  11. Hi to automate it without mouse clicks, you can do this: arrow down to select the next mp3, the text type <APP> command brings up the context box like if you had right clicked on it and then m selects the option to rename it. <TEXTTYPE:<ARROW DOWN>><TEXTTYPE:<APP>><TEXTTYPE:m>
  12. Sunil here is the demo on parsing data. since the fields are in a set order it should work for you. just have all the text on the screen copied to a variable. Parse.mex
  13. There are 2 ways that i can think. With ME3 you can just have it check after every action to see if its there. to keep your code short just do: IF window title on top run macro"popup closer" end IF then write a macro that will close that pop up or in ME PRO you can run macros at the same time, so you can just make a macro that activates when that window activates.
  14. Here is a macro that will do just that. It saves the selections to a variable then displays it at the end. Poll_Macro.mex EDIT I looked at your code, and understand what you are trying to do now. I figured out the issue. on the first menu, you have the destination variable set for T5 and the next boxes are doing their logic off of T1. Also, on the first set of option dialog boxes, you have the destination variable set to T1 instead of the T2 that the second set is basing the logic off. and the last set of diag boxes have been changed to output to. Here is the corrected macro variables can be frustrating at first tocmo0nlord_Tree_Macro_Fixed.mex
  15. To clarify, you have a set of answers/options. and you want people to choose one answer/option and then be presented with the next set, then be presented with a third etc. Then you want to be able to take those results and display them? If so i can write you a quick macro that will do that.
  16. Here is something rough that I came up with. Its accurate within 4 pixels. (it scrolls 5 pixels at a time, you can adjust that to make it even smoother, and it will be more accurate, but it will be slower, which may or may not be the ticket for you) To see it in action: 1. Run the macro, then click anywhere on the screen. Keep the mouse still for a half second. 2. Move to some other random location on the screen and click there. Again wait a half beat. 3. The macro will jump back to point 1 and then scroll over to point 2 4. When its within 4 pixels, it will display a Dialog box stating the macro is complete. Mouse_Scroll_To_Random.mex
  17. well does the pixel you need to check always appear at the same spot? if so double click the get pixel command and then launch the mouse locator from the dialog box that pops up. and then you can define where to search for the pixel. that will also tell you what ME sees the pixel color as. Then you just need to find all the colors and plug them into the macro.
  18. Here is a little macro with some comments to show you the structure. Pixel_Color_Logic.mex
  19. The logic looks right, what is your question/problem?
  20. You dont have to if you define all the macros in the variable. but depending on the situation like if you are appending to another variable then yes you do <CLEARVAR1:A:ALL> clears all variable If you explain what happens and maybe post some of the code we can look through it and try to figure it out.
  21. You pose a good question... I couldnt find anything in ME or ME Pro (granted i am not super familiar with ME Pro) I tried hunting around online for a tool that might snag the source and save it, but they looked kind of sketchy. I did find a vbs script that might work for this, Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long Public Function DownloadFile(URL As String, LocalFilename As String) As Boolean Dim lngRetVal As Long lngRetVal = URLDownloadToFile(0, URL, LocalFilename, 0, 0) If lngRetVal = 0 Then DownloadFile = True End Function Private Sub Form_Load() 'example by Matthew Gates (Puff0rz@hotmail.com) DownloadFile "http://www.allapi.net", "c:\allapi.htm" End Sub its just what i was able to hunt down while searching for a solution.
  22. It kinda looks like you wanting all the spaces removed correct? What about in the sometext area?
  23. Make sure that the text type is set to type text normaly. Also you could do a keyboard command of alt down, and then text type d. then alt up
  24. You can use macro express to call Imacro macros. I am happy you mentioned that plugin. I am going to be meshing it with some funky macros that i have at work. It should work great
×
×
  • Create New...