Search found 454 matches

by MJs
18 Nov 2015, 17:06
Forum: Ask For Help
Topic: Finding the total lines in a colossal file
Replies: 13
Views: 3137

Re: Finding the total lines in a colossal file

just some ideas, since that's a big file and lots of lines to parse line by line can I suggest splitting the file for example some how to three parts and operate on them that way, that way you negate the 1GB limit even though reading about File Object and using it would help you in this case can you...
by MJs
18 Nov 2015, 15:08
Forum: Ask For Help
Topic: need help: script counting wondows
Replies: 2
Views: 646

Re: need help: script counting wondows

first: you already have the windows count after you call WinGet in the ID variable, from docs for WinGet while OutputVar itself is set to the number of retrieved items (0 if none) second, may be something like that: #SingleInstance windowsneeded = 3 Loop { WinGet, numwindows, list, ahk_class ...,, P...
by MJs
16 Nov 2015, 17:28
Forum: Ask For Help
Topic: Why a Sub is Only Executed Once?
Replies: 5
Views: 1361

Re: Why a Sub is Only Executed Once?

first let me apologize for a second time about that class thing. can you see the log using this script and may be you can tell what's going on Gui, +Resize Gui, Add, Button, gCopyList, Copy List Gui, Add, ListView, xm y+5 w500 h500 hWndhList, N°|Title|Info Gui, Show, AutoSize NoActivate, What's goin...
by MJs
15 Nov 2015, 16:43
Forum: Ask For Help
Topic: Why a Sub is Only Executed Once?
Replies: 5
Views: 1361

Re: Why a Sub is Only Executed Once?

sorry for being redundant: can you check for that class name? even though it's uncommon yet I believe it's possible. OK, simply put: the code won't execute if the window under the mouse's class isn't what's specified, NOT when the active window change. is that what you want? this is just to collect ...
by MJs
15 Nov 2015, 16:36
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 358
Views: 202095

Re: AutoGUI - GUI Designer and Script Editor

@MJs: Very good. Let's see what can be done. @Alguimist: thank you very much for your consideration, as I believe your AutoGUI is the best out there with respect to all other GUI Creaters, which are also good. You've probably already considered this, but try to incorporate a ToolTip to display the ...
by MJs
15 Nov 2015, 16:35
Forum: Scripts and Functions
Topic: Reisze GUI Control using only the mouse
Replies: 3
Views: 2066

Re: Reisze GUI Control using only the mouse

first: it's just a simple example or somewhat a concept for the Gui Creators that I'm more than happy for them to use it and integrate it to their code, I already asked Alguimist if he could implement it Let's see what can be done. the 'preview' rectangle when moving or resizing is not accurate for ...
by MJs
15 Nov 2015, 15:49
Forum: Ask For Help
Topic: Why a Sub is Only Executed Once?
Replies: 5
Views: 1361

Re: Why a Sub is Only Executed Once?

not fully following the script but "active window has changed if it is" is actually when the window under the mouse is of class "PokerStarsTableFrameClass" OR "Antares Game Client Window Class" one more thing: shouldn't you change "Antares Game Client Window Class" to the actual Antares Game Client ...
by MJs
13 Nov 2015, 15:32
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 358
Views: 202095

Re: AutoGUI - GUI Designer and Script Editor

Alguimist, if you're interested, you can take a look here http://autohotkey.com/boards/viewtopic.php?f=6&t=10382 for resizing with the mouse.
by MJs
13 Nov 2015, 15:30
Forum: Ask For Help
Topic: Compare text with AHK
Replies: 6
Views: 1449

Re: Compare text with AHK

from what I can see, it's the braces after the first else: !y:: xl := ComObjActive("Excel.Application") loop { loopnr := A_Index if (xl.Range("B3").Offset(loopnr-1,0).Value = "") break xl := ComObjActive("Excel.Application") number1:= xl.Range("B3").Offset(loopnr-1,0).Text ; Josefen Huge number2:= x...
by MJs
13 Nov 2015, 10:35
Forum: Ask For Help
Topic: Compare text with AHK
Replies: 6
Views: 1449

Re: Compare text with AHK

still the same: !y:: xl := ComObjActive("Excel.Application") number1:= xl.Range("B4").Text ; Josefen Huge number2:= xl.Range("C4").Text ; JOSEFEN, HUGE StringReplace, dummynumber1, number1, `,,, all ; no comma, with number1 variable is still intact, the data is still intact also StringReplace, dummy...
by MJs
13 Nov 2015, 10:32
Forum: Scripts and Functions
Topic: Reisze GUI Control using only the mouse
Replies: 3
Views: 2066

Reisze GUI Control using only the mouse

simply put: most AHK GUI creators if not all (that I've seen) don't add a sizing and moving method with the mouse only without the need for Ctrl or Shift like resource editors, with blocks on the edges to resize the selected control, this is just a simple script that does just that. this is not a GU...
by MJs
13 Nov 2015, 09:57
Forum: Ask For Help
Topic: Compare text with AHK
Replies: 6
Views: 1449

Re: Compare text with AHK

can't you just remove the comma before the comparison, if that's all there is to it! or add comma before the first space something like this: !y:: xl := ComObjActive("Excel.Application") number1:= xl.Range("B4").Text ; Josefen Huge number2:= xl.Range("C4").Text ; JOSEFEN, HUGE StringReplace, number1...
by MJs
13 Nov 2015, 09:28
Forum: Ask For Help
Topic: How to determine classsNN of a control by its color or by its location in autohotkey?
Replies: 54
Views: 10887

Re: How to determine classsNN of a control by its color or by its location in autohotkey?

I'm not sure if it would be a good idea changing the path you're on with "Just Me" but there might be another way, using Microsoft Active Accessibility, can you try using this program http://www.ranorex.com/support/user-guide-15/ranorex-spy.html to see if it can get the text you're looking for, or h...
by MJs
13 Nov 2015, 09:06
Forum: Ask For Help
Topic: ControlSetText not able to set value of control if window not active
Replies: 1
Views: 632

Re: ControlSetText not able to set value of control if window not active

in theory yes. but it might be something specific to the application. for example if I use a GUI and take over the an EDIT CONTROL's procedure or the window, when it receives the WM_SETTEXT, it test if the edit control has focus or not or the window is active or not and proceed appropriately (don't ...
by MJs
10 Nov 2015, 11:17
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 358
Views: 202095

Re: AutoGUI - GUI Designer and Script Editor

you could explain what you were doing exactly, and move the message dialog away from the menu widow to see what's going on since it's hard to reproduce the error. sorry about that since I just added items. Please notice that the Menu Editor is at an early stage of implementation. It will probably b...
by MJs
10 Nov 2015, 09:11
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 358
Views: 202095

Re: AutoGUI - GUI Designer and Script Editor

you could explain what you were doing exactly, and move the message dialog away from the menu widow to see what's going on since it's hard to reproduce the error.
by MJs
10 Nov 2015, 08:54
Forum: Ask For Help
Topic: StatusBar Context Menu
Replies: 1
Views: 577

Re: StatusBar Context Menu

that docs are your friend here, see the documentations for the statusbar: GUIW := 600, GUIH := 400 Menu, SB_ContextMenu, Add, Here I am, MenuHandler ; the context menu Gui, +LastFound +Resize ;Gui, Color, FFFFFF Gui, Margin, 10, 10 Gui, Add, Button, % " x" 10 " y" 10 " w" 73 " h" 26, % "Button1" Gui...
by MJs
10 Nov 2015, 00:54
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 358
Views: 202095

Re: AutoGUI - GUI Designer and Script Editor

nice looking project, well done, even though I'm used to use a resource editor and "CLONE" as you call it I call it "STEAL". it's the best out there and the coding is very nice, and can be understood and followed to some extent, well done. thanks for sharing. would be you be interested in implementi...
by MJs
03 Nov 2015, 15:30
Forum: Ask For Help
Topic: find and replace lines in xml file
Replies: 14
Views: 2743

Re: find and replace lines in xml file

think of the word "Context Node". you need to read a little bit more about the xpath and context node that xpath "//OrderInfo/OrderedBy/OrderedBy" has no meaning on its own, it takes its meaning from the context node here is an example with the use of GetAttribute, SelectSingleNode and SelectNodes d...
by MJs
03 Nov 2015, 11:50
Forum: Ask For Help
Topic: SOLVED: GuiControl only when clicked?
Replies: 3
Views: 903

Re: GuiControl only when clicked?

it depends when you want the change to occur, add this line "gosub, Update" at that position line in the Stopwatch timer
EDIT: it seems you have fixed the problem, seconds before my post.

Go to advanced search