Search found 2876 matches

by Exaskryz
28 Mar 2018, 07:07
Forum: Wish List
Topic: Suggestions on documentation improvements
Replies: 558
Views: 113728

Re: Suggestions on documentation improvements

Generally not; I don't use IE. I'd guess it's IE 9? Could be 10. I just checked, I'm actually on 11 -- had no idea it went up that high. Once any browser is loaded into RAM and has done all its prep, navigating to the help page works just fine. I haven't experienced any issues in particular when usi...
by Exaskryz
28 Mar 2018, 05:49
Forum: Ask For Help
Topic: The question is not on topic Topic is solved
Replies: 7
Views: 665

Re: The question is not on topic Topic is solved

So it sounds like you need to find the angle between 5,10 and 20,20. Then you need to translate that geometric angle into the in-game camera angle -- this part we'd need details on. There are two different angles you may be working with. It depends on where the origin is. In Autohotkey using ImageSe...
by Exaskryz
27 Mar 2018, 23:55
Forum: Ask For Help
Topic: The question is not on topic Topic is solved
Replies: 7
Views: 665

Re: The question is not on topic Topic is solved

Do you mean you need a number between 0 and 255? Random, var, 0, 255 MsgBox %var% Or do you mean you want to know the Asc value of the character ? -- question mark? MsgBox % Asc("?") Send {ASC 63} ASC 63 would produce a ? in my system, and it should in all systems. But if not, you can change the ? t...
by Exaskryz
27 Mar 2018, 20:44
Forum: Wish List
Topic: Suggestions on documentation improvements
Replies: 558
Views: 113728

Re: Suggestions on documentation improvements

New .chm has given me troubles. Super slow to respond when clicking in the search box; In terms of performance, I don't notice any problems on my system. I suppose you still use Windows XP, whose CHM is based on IE8? IE8 and below is known for its poor performance and many quirks. Also, there is no...
by Exaskryz
21 Mar 2018, 18:29
Forum: Wish List
Topic: Suggestions on documentation improvements
Replies: 558
Views: 113728

Re: Suggestions on documentation improvements

New .chm has given me troubles. Super slow to respond when clicking in the search box; nevermind that it does not default to the Search tab any longer. I'm not a fan of it even after a month trying to get used to it.
by Exaskryz
20 Mar 2018, 13:00
Forum: Ask For Help
Topic: Undo Back to a Save Point
Replies: 3
Views: 263

Re: Undo Back to a Save Point

Using COM, you might be able to track the "activities" in the Undo-History somehow. Otherwise, a rudimentary way would be Save your file, Close the file, Reopen the file. This should erase all previous history, then if you need to undo, you just undo as far back as you want; discard all the history ...
by Exaskryz
19 Mar 2018, 08:58
Forum: Ask For Help
Topic: Custom Shortcuts gone wrong. Topic is solved
Replies: 3
Views: 200

Re: Custom Shortcuts gone wrong. Topic is solved

When you make a custom hotkey, AHK normally suppresses the first key. AHK can't read the future, so it wouldn't know your intentions. Rohwedder's suggestion is for ~ modifier to make MButton always work, which may not be desirable. A compromise would be to use MButton::Send {MButton} , but that does...
by Exaskryz
10 Mar 2018, 21:57
Forum: Ask For Help
Topic: How to StringSplit multiple lines and assign variable for strings? (Help) Topic is solved
Replies: 11
Views: 644

Re: How to StringSplit multiple lines and assign variable for strings? (Help) Topic is solved

Ah, I see. To offer a different perspective, although I'm not sure which is better (I have a hunch mine is because it avoids repeating parsing loops) fileData = ( horse:1234 dog:9912 cat:8136 bear:0075 ) StringSplit, myArray, fileData, `n, `r ; split on the `n, omit any `r in string return F1:: coun...
by Exaskryz
10 Mar 2018, 19:52
Forum: Ask For Help
Topic: How to StringSplit multiple lines and assign variable for strings? (Help) Topic is solved
Replies: 11
Views: 644

Re: How to StringSplit multiple lines and assign variable for strings? (Help) Topic is solved

Your break after lineIndex++ is snapping you out of the Parsing Loop.

What exactly are you trying to accomplish with the lineIndex anyhow?
by Exaskryz
09 Mar 2018, 12:10
Forum: Ask For Help
Topic: AHK Permanently Locking Files After FileOpen() Topic is solved
Replies: 5
Views: 424

Re: AHK Permanently Locking Files After FileOpen() Topic is solved

Is Instance a special object in AHK? I have used .Close() from the getgo. Just tried changing my 2s to "a"s, will see if it affects anything. Edit: Seems using "a" is better than 2. I never restarted my computer to release the hypothetical lock, but the file is now written to by changing my script t...
by Exaskryz
09 Mar 2018, 08:18
Forum: Ask For Help
Topic: AHK Permanently Locking Files After FileOpen() Topic is solved
Replies: 5
Views: 424

Re: AHK Permanently Locking Files After FileOpen() Topic is solved

Oh yes, I read that and reached a totally different conclusion last night. I somehow decided that trying to use 0 in flags would work, but maybe it would... So I should be using FileOpen("My.csv","a") instead of FileOpen("My.csv",2) ? Or should I be fitting in the 0x200 or "-w" in there somewhere, s...
by Exaskryz
08 Mar 2018, 22:02
Forum: Ask For Help
Topic: AHK Permanently Locking Files After FileOpen() Topic is solved
Replies: 5
Views: 424

AHK Permanently Locking Files After FileOpen() Topic is solved

I'm probably missing something here. I've got a routine for writing a CSV file. I've been using something of this sort: csv:=FileOpen("My.csv",2) I discovered that many hours of data was never written to the file. So I explored, and researched A_LastError. I found out a system error of 183 indicates...
by Exaskryz
07 Mar 2018, 08:14
Forum: Ask For Help
Topic: Docking a window
Replies: 4
Views: 276

Re: Docking a window

You'd have to subtract from the variable result of MonitorWorkArea the dimensions of your docked GUI, I'd think. I haven't experimented with how a docked window changes MonitorWorkArea. You might explore how Magnifier app works when it is docked, I notice that that seems to redefine what the maximum...
by Exaskryz
06 Mar 2018, 13:35
Forum: Ask For Help
Topic: Docking a window
Replies: 4
Views: 276

Re: Docking a window

The easiest approach would be to use the +AlwaysOnTop Gui options But if you need the windows to size themselves to not take up the same horizontal or vertical column as your docked GUI, you can use WinGetPos , WinMove , and SetTimer to periodically check the size of the window; if it's too big, shr...
by Exaskryz
05 Mar 2018, 14:22
Forum: Ask For Help
Topic: AHK not working on some windows
Replies: 3
Views: 244

Re: AHK not working on some windows

Try running your AHK script as administrator (right click the icon, select run as admin)
by Exaskryz
04 Mar 2018, 14:35
Forum: Gaming
Topic: Toggle won't work? Topic is solved
Replies: 2
Views: 177

Re: Toggle won't work? Topic is solved

Have you used #MaxThreadsPerHotkey, 2 (or a value larger than 2) somewhere above that hotkey?
by Exaskryz
03 Mar 2018, 04:41
Forum: Ask For Help
Topic: GUI Scroll Topic is solved
Replies: 4
Views: 403

Re: GUI Scroll Topic is solved

Huh, I'm struggling to make it work with a sample GUI. Here is a working script in full. Remind me tomorrow to shorten the code or figure out a better sample... I see I have many commented out sections. A lot of the code is just data generation. I was struggling to come up with a sample code that ac...
by Exaskryz
02 Mar 2018, 09:57
Forum: Ask For Help
Topic: Illegal character in expression - how to replace?
Replies: 5
Views: 401

Re: Illegal character in expression - how to replace?

StringLower -- Right now the hyperlink in the codebox is wrong

The InputVar is what you pass in the second parameter. Try using StringLower, cbm, cbmext. The same should apply to the StringRight command too.
by Exaskryz
01 Mar 2018, 21:35
Forum: Ask For Help
Topic: Environment detection and sending
Replies: 5
Views: 296

Re: Environment detection and sending

A is the WinTitle parameter. v_h is the OutputVar and ID is the cmd (command). The ControlSend may require an actual control value (and same for ControlFocus), instead of it being omitted. You can also try ahk_parent in that parameter as well. It is very likely that if ahk_parent doesn't work, you'd...
by Exaskryz
01 Mar 2018, 20:31
Forum: Ask For Help
Topic: Environment detection and sending
Replies: 5
Views: 296

Re: Environment detection and sending

Oops, try WinGet, v_h, ID, A where A is interpreted to be the active window (don't change it). When I used just WinGet, v_h, ID it also came back blank for me.

Go to advanced search