Search found 3195 matches

by boiler
Yesterday, 20:45
Forum: Ask For Help
Topic: Script help Topic is solved
Replies: 9
Views: 267

Re: Script help Topic is solved

This would make the remappings active only when a window of the FL64.exe program is the active window:

Code: Select all

#If WinActive("ahk_exe FL64.exe")
1::F1
2::F2
F1::1
F2::2
#If
by boiler
Yesterday, 20:11
Forum: Ask For Help
Topic: How to correct DOuble CApitalization, allow TrIPPLE capitalization.
Replies: 3
Views: 169

Re: How to correct DOuble CApitalization, allow TrIPPLE capitalization.

See the comment after each line below for a description of what it does: keys = qwertyuiopasdfghjklzxcvbnm ; adds all 26 letters to a string Loop Parse, keys ; loops through each letter one at a time HotKey ~+%A_LoopField%, Hoty ; creates a hotkey of the shifted version (+) of each letter; the ~ all...
by boiler
Yesterday, 19:54
Forum: Ask For Help
Topic: Script help Topic is solved
Replies: 9
Views: 267

Re: Script help Topic is solved

Are you using a very old version of AHK? What does it show when you run the following?

Code: Select all

MsgBox % A_AhkVersion
by boiler
Yesterday, 19:36
Forum: Ask For Help
Topic: Can i make unique scripts ?
Replies: 1
Views: 81

Re: Can i make unique scripts ?

It depends on the lengths your friend will go to in order to make it work for his friends. If he knows AHK, he can pretty easily remove any code that will prevent it from working on his friends' computers. Depending on how much he knows about AHK, if you compile the script and give him the .exe file...
by boiler
Yesterday, 19:09
Forum: Ask For Help
Topic: Find Filename Using Wildcard and Variable
Replies: 2
Views: 107

Re: Find Filename Using Wildcard and Variable

What you showed works (once you remove the extraneous } and define a value for InFolder that makes it a valid file path. You probably have some other error in your non-simplified version. If you can show the code from the non-simplified version, then it may be possible to spot the problem. Using a w...
by boiler
Yesterday, 18:58
Forum: Ask For Help
Topic: Script help Topic is solved
Replies: 9
Views: 267

Re: Script help Topic is solved

Well for one thing, what you have implemented won't just switch them for that program because you've made it so the remap is active if the process exists whether it's the active window or not. So as long as that program is running in the background, the remap will be active even when you're working ...
by boiler
Yesterday, 18:39
Forum: Ask For Help
Topic: Script help Topic is solved
Replies: 9
Views: 267

Re: Script help Topic is solved

Not sure what you mean by saying you want to switch out your function keys. The way you have it set up, you've mapped such that when you press 1 , it's like you pressed F1 . Same with 2 and F2 , respectively. If you want to press F1 and it will act like you pressed 1 (and same with the other pair), ...
by boiler
Yesterday, 15:05
Forum: Ask For Help
Topic: FileMove all files from any folder titled "Data"? Topic is solved
Replies: 2
Views: 94

Re: FileMove all files from any folder titled "Data"? Topic is solved

Try this: Loop, Files, C:\TopDirPath\data, DR ; even if a folder named Data doesn't appear directly in C:\TopDirPath but they do at lower levels, it will find them via recursion FileMove, % A_LoopFileFullPath "\*.*", C:\PathToMyGiganticFolder ; A_LoopFileFullPath in this case will be the path to eac...
by boiler
Yesterday, 13:04
Forum: Ask For Help
Topic: Script help Topic is solved
Replies: 9
Views: 267

Re: Script help Topic is solved

You need to make it the directive #If to apply to hotkeys, not If.
by boiler
Yesterday, 11:11
Forum: Scripts and Functions
Topic: Get current explorer window path
Replies: 3
Views: 272

Re: Get current explorer window path

Activate the file explorer window (via your script or manually), then call the function. If you are activating it manually, then you’ll need some way to trigger the function, like make it part of a hotkey subroutine. One way to call the function is to assign the returned value of the function to a v...
by boiler
Yesterday, 08:57
Forum: Ask For Help
Topic: Running as admin breaks COM interaction
Replies: 1
Views: 58

Re: Running as admin breaks COM interaction

It should work if Word is also run as admin.
by boiler
06 Dec 2019, 22:44
Forum: About This Community
Topic: Nuisance BAN
Replies: 40
Views: 2061

Re: Nuisance BAN

If we had the knowledge Jeeswg was officially warned by the mods several times during the lead up to the ban, that would get a better reception as well. For example, does the moderation team have a pro-forma or prepared letter drawn up to address forum violations by users, and was this sent to Jees...
by boiler
06 Dec 2019, 18:56
Forum: Ask For Help
Topic: Variable as variable name Topic is solved
Replies: 16
Views: 286

Re: Variable as variable name Topic is solved

Nice. Thanks.

Edit:
or return %b% ""

But return (%b%) looks the least kludgey.
by boiler
06 Dec 2019, 14:40
Forum: Ask For Help
Topic: Variable as variable name Topic is solved
Replies: 16
Views: 286

Re: Variable as variable name Topic is solved

Strange that you can't just return %b% below to get both MsgBox's to say "999", but you have to take the step of assigning it to another variable before the return statement.

Code: Select all

MsgBox, % MyFunc()

MyFunc()
{
	a := 999
	b := "a"

	MsgBox, % %b%
	c := %b%
	return c
}
by boiler
06 Dec 2019, 14:24
Forum: Ask For Help
Topic: Variable as variable name Topic is solved
Replies: 16
Views: 286

Re: Variable as variable name Topic is solved

return %res%

Edit: After testing, this is not working as I expected.
by boiler
06 Dec 2019, 09:08
Forum: About This Community
Topic: Nuisance BAN
Replies: 40
Views: 2061

Re: Nuisance BAN

TBQH he has the talent and capabilities for developing code libraries that the community could use, rather than lend them to playing "politics" Apparently, one of the primary reasons for the ban is that he directed much of his energy towards unrelenting behind-the-scenes politicking for his forum-r...
by boiler
06 Dec 2019, 05:28
Forum: Ask For Help
Topic: Accept input in an InputBox without Enter?
Replies: 6
Views: 234

Re: Accept input in an InputBox without Enter?

Sure. Just put your InputBox before the SplashText line, so first you’ll enter the search term, then it will bring up the SplashText asking you which search engine to use.
by boiler
05 Dec 2019, 20:07
Forum: About This Community
Topic: Nuisance BAN
Replies: 40
Views: 2061

Re: Nuisance BAN

verbal_dharya_91 perhaps? :shifty:

I'll see myself out.

Go to advanced search