Search found 5237 matches

by mikeyww
28 Oct 2020, 05:52
Forum: Ask For Help
Topic: help with simple script Topic is solved
Replies: 3
Views: 63

Re: help with simple script Topic is solved

The * means that the hotkey works with modifiers. If you don't want this to fire with modifiers, you can simply remove it. The tilde lets the hotkey sequence get through. If you don't want that to happen, then remove it. See Hotkeys.
by mikeyww
28 Oct 2020, 05:47
Forum: Gaming
Topic: possible bug - script wont run Topic is solved
Replies: 31
Views: 561

Re: possible bug - script wont run Topic is solved

@Bluerose555, can you confirm that the AHK tray icon remains present in your original test, even after hovering over it?
by mikeyww
28 Oct 2020, 05:44
Forum: Gaming
Topic: possible bug - script wont run Topic is solved
Replies: 31
Views: 561

Re: possible bug - script wont run Topic is solved

But the script reportedly stayed running during the original testing-- worth another look at whether that was really true. Incidentally, for the inquirer: in some cases, tray icons can remain visible even after their programs have ended . It's like a ghost, and it disappears when you hover over the ...
by mikeyww
28 Oct 2020, 05:30
Forum: Gaming
Topic: possible bug - script wont run Topic is solved
Replies: 31
Views: 561

Re: possible bug - script wont run Topic is solved

I have to say first, very impressive work from both ends; and second, I still do not understand this, because it was reported that the script had stayed running while it was originally being tested. If that is true (and it's worth double-checking), then I don't see why the changes here helped-- even...
by mikeyww
27 Oct 2020, 21:00
Forum: Ask For Help
Topic: Windows key commands bypass program
Replies: 5
Views: 95

Re: Windows key commands bypass program

You could try running just the following script:

Code: Select all

F3::SendInput #\
F4::SendPlay #\
F5::SendEvent #\
Activate the window yourself. With the script icon visible in the system tray, press F3 to see what happens. If it doesn't work, try the other Send variants (F4 and F5).
by mikeyww
27 Oct 2020, 20:49
Forum: Gaming
Topic: possible bug - script wont run Topic is solved
Replies: 31
Views: 561

Re: possible bug - script wont run Topic is solved

I used AHK to map Shift to MButton in another program.

Thanks for answering the questions (nice formatting, too). I read all of this a few times; seems like it should work. I'm stumped. Others here may know the answer.
by mikeyww
27 Oct 2020, 19:49
Forum: Ask For Help
Topic: Windows key commands bypass program
Replies: 5
Views: 95

Re: Windows key commands bypass program

Can you give an example, and also post your script?
by mikeyww
27 Oct 2020, 19:39
Forum: Gaming
Topic: possible bug - script wont run Topic is solved
Replies: 31
Views: 561

Re: possible bug - script wont run Topic is solved

Interesting. It worked for me using a different program. Have you reassigned MButton to do something? What is MButton supposed to do? Does pressing the MButton work as it should? If you remap SHIFT to something else, does that work?
by mikeyww
27 Oct 2020, 18:06
Forum: Ask For Help
Topic: Add one array to another array Topic is solved
Replies: 14
Views: 305

Re: Add one array to another array Topic is solved

Some cool scripting there!
by mikeyww
27 Oct 2020, 15:33
Forum: Gaming
Topic: possible bug - script wont run Topic is solved
Replies: 31
Views: 561

Re: possible bug - script wont run Topic is solved

OK. I am understanding that you have a new and different problem at this stage.

What does Window Spy show you about the window title?

Does the script exit too soon, as you have ExitApp?

What is actually happening (can you describe?)?
by mikeyww
27 Oct 2020, 14:39
Forum: Ask For Help
Topic: Controllist not updating?
Replies: 5
Views: 120

Re: Controllist not updating?

OK. I wonder if it's because of how the emulator does its very job of emulating. I don't use BlueStacks, so perhaps someone else here can help.
by mikeyww
27 Oct 2020, 14:28
Forum: Ask For Help
Topic: A_PriorHotkey and Appskey problem
Replies: 3
Views: 85

Re: A_PriorHotkey and Appskey problem

Did you try the following?

Code: Select all

Appskey & l::
Send y
KeyWait, AppsKey
KeyWait, l
Return
It worked for me.
by mikeyww
27 Oct 2020, 14:21
Forum: Gaming
Topic: possible bug - script wont run Topic is solved
Replies: 31
Views: 561

Re: possible bug - script wont run Topic is solved

You can debug this by breaking it down into steps. See what the following script shows. app = %ProgramFiles%\Epic Games\UE_4.25\Engine\Binaries\Win64\UE4Editor.exe MsgBox, % "'" FileExist(app) "'" If it's blank or null, then what happens if you highlight the path line in your original script and typ...
by mikeyww
27 Oct 2020, 13:15
Forum: Ask For Help
Topic: Controllist not updating?
Replies: 5
Views: 120

Re: Controllist not updating?

Could see if it's in the tray or DetectHiddenWindows.
by mikeyww
27 Oct 2020, 10:38
Forum: Ask For Help
Topic: Removing odd-numbered keys from an array Topic is solved
Replies: 8
Views: 152

Re: Removing odd-numbered keys from an array Topic is solved

The methods are similar except the noted difference about 0. The second method computes in advance the number of iterations, which is a known number based on the array size.
by mikeyww
27 Oct 2020, 10:27
Forum: Ask For Help
Topic: Select File, Copy Portion of File Name and Place Into Edit Box Topic is solved
Replies: 5
Views: 90

Re: Select File, Copy Portion of File Name and Place Into Edit Box Topic is solved

Good! Revised.

Code: Select all

SelectedFile = e:\data\temp2\Newton-John John James, Olivia-The-Great test.pdf
RegExMatch(SelectedFile, ".+\\\K.+?, [^ .]+", LFName)
MsgBox, #%LFName%#
by mikeyww
27 Oct 2020, 10:21
Forum: Ask For Help
Topic: Trying To Concatenate Multiple Strings With Carriage Returns Topic is solved
Replies: 6
Views: 118

Re: Trying To Concatenate Multiple Strings With Carriage Returns Topic is solved

To fix, change {2,} to +.

\r\t{2,} means CR followed by TAB that occurs at least twice. It changes all of that to a single space.

You can learn about RegEx if you like.

Go to advanced search