Jump to content

tuape

Active Members
  • Posts

    189
  • Joined

  • Last visited

About tuape

  • Birthday 11/30/1975

tuape's Achievements

Prodigy

Prodigy (4/7)

0

Reputation

  1. Hi, This might be caused by incorrectly freeing memory in Systray UDF. See this post for more info. I would advice you and anyone else using Systray UDF to get the latest version from here. I'm sorry for the inconvenience. I had completely missed a warning on VirtualFreeEx documentation
  2. Hi, Unfortunately I had completely missed this in VirtualFreeEx documentation in MSDN: "dwSize The size of the region of memory to free, in bytes. If the dwFreeType parameter is MEM_RELEASE, dwSize must be 0 (zero). The function frees the entire region that is reserved in the initial allocation call to VirtualAllocEx." This was causing a huge memory leak when running these functions in a loop. Corrected UDF in the first post.
  3. A scripting language based on AutoIt v2. @Smoke_N: Hmm...I don't see them being exactly same. He was talking about reference image and you were talking about reference pixel array / pixelchecksum. I might be wrong. But yes, both ways work. ImageSearch is quicker, though...
  4. ...probably because some people think it's important. Larry's functions are awesome, but they are not the same --> you don't have a human recognizable reference image anywhere. That is a big difference. AutoHotkey has an imageSearch function that does just what you ask. What I did was that I compiled an AutoHotkey function so that when I call it with command line parameters, it finds the image on screen (if it's there). That function in Autohotkey is accurate and very fast, much faster than Larry's code or a couple of dll's recommended previously on this forum. BTW, for me it seems that neither one of you didn't quite get what the other one meant.
  5. I would assume your application, BRNClientTrayApp.exe, is closed at some point and _SysTrayIconIndex returns -1. Then you try to read the tooltip text of icon which index is -1.
  6. What do you mean? _SysTrayIconTooltip() is included on the udf and AFAIK both udf and test are updated.
  7. * bump * Can someone with Win2000 please try if getting tooltip texts work on that? Thanks.
  8. @gafrost / @catchfish: Thanks for the modifications! They should be now added to the latest version. @rbhkamal and others who need to get tooltip text: See the first post and example. A function to get tooltip text is added.
  9. How about this: $var = DriveGetDrive ( "CDROM" ) CDTray($var[1], "open")
  10. @Buffo: Modified the first post. Hopefully I didn't break anything. @this-is-me: Did you get it working?
  11. I thik button ID should be the id on struct TB_BUTTON, 2. Unfortunately I'm away for a while, but if you can't get this working I could try it during the weekend.
×
×
  • Create New...