Jump to content

Fidel

Members
  • Posts

    16
  • Joined

  • Last visited

Profile Information

  • Location
    Brisbane, Australia

Fidel's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi FireFox, I've been trying to put together the DLL but am finding it difficult. I've asked a question on stackoverflow here Do you have any tips for creating the library? Thanks again, Fidel
  2. Hi, There's an external window that I would like to set a minimum window size on. I've seen this is possible for internal GUI windows using GUIRegisterMsg and WM_GETMINMAXINFO. So, is it possible to do the same thing but on an external window? Thanks, Fidel
  3. Very nice dude! I love how it doesn't require the DLL to be registered. p.s. It works on my win7 64-bit computer - how did you manage that??
  4. The trick is "$WS_EX_TOOLWINDOW" ie. $Form1 = GUICreate($title, $width, $height, $left, $top, BitOR($WS_DLGFRAME, $WS_POPUP), $WS_EX_TOOLWINDOW) or............. $hParent = GUICreate('') $hForm = GUICreate('MyGUI', 400, 400, -1, -1, -1, -1, $hParent)
  5. no worries, thanks
  6. Hello, I've added Opt("TrayIconDebug", 1) to the top of my script. It helps me debug by hovering the mouse above the tray icon. However, when I compile the au3 to an exe, the tray icon no longer shows the current line of code. Question: Is it possible to make the tray icon of a compiled script show the current line text? Ta, Fidel
  7. hey, that looks pretty good! I had to add this to the top of the script: $appHandle = 0 Is that correct? When the script is running, it shows the handle/class/x/y of a control, but it's also doing it for controls that are not in the topmost window...is there any way to fix that? ta, Fidel
  8. Hello all, I'm looking for a script that does the following (much in the same way as AutoIt Window Info tool). When you hover the mouse above ANY window control, it displays a tooltip beside the mouse showing the text of that control. I know it's possible because there exist functions such as _CtrlGetByPos. How do I take that a bit further? Thankyou! Fidel
  9. thanks for the quick reply, I will use this if there's not a more generic function to deal with all the other possibilities...
  10. Hello, I've got a string which I've read from an XML file. I'm extracting a bit of text from an element: <author>Bob &amp; John</author> Since I'm looking for the author tag, then doing a StringMid, I get the following: "Bob &amp; John" However, I'd like to get: Bob & John Is there a function I can call to remove XML escape characters? Thankyou, Fidel
  11. Hello, I have a set of jpg files that I want to combine into one big jpg. I imagine that something like this is possible using the GDI+ functionality: a) create a huge bitmap (i'm talking 20,000 pixels by 20,000 pixels) for each jpg I want to combine, draw it on the appropriate spot on the bitmap c) save the bitmap as a jpg Your help would be greatly appreciated Thanks, fidel
  12. this worked muttley WinGetTitle("[REGEXPCLASS:Prog+]", "")
  13. Hello, I'm looking for a window via its classname (because it does not have a title). The problem is that the class name changes whenever the program is run, but the beginning stays the same. eg. I run the program, it's classname is Prog123 I run the program again, it's classname is Prog456 I've tried: ControlGetText("[CLASS:Prog456]", "", "[ClassNN:Edit1]") That works fine. However, I want it to be more generic like this: ControlGetText("[CLASS:Prog]", "", "[ClassNN:Edit1]") As you can see, I only want to match the beginning of the class name. Is there a WinTitleMatchMode equivalent for classnames?? Many thanks, Fidel.
  14. found the answer: ControlSend ($studioTitle, "", $treeviewID, "+{F10}") cheers! fidel
×
×
  • Create New...