Search found 2915 matches

by boiler
Today, 01:22
Forum: Ask For Help
Topic: FileCopy not working Topic is solved
Replies: 11
Views: 348

Re: FileCopy not working Topic is solved

You're welcome. Stick with it. It will eventually become intuitive.
by boiler
Today, 01:03
Forum: Ask For Help
Topic: FileCopy not working Topic is solved
Replies: 11
Views: 348

Re: FileCopy not working Topic is solved

You need to put only the literal string part inside the quotes and concatenate it with the variable like this:
FileDelete, % A_AppData "\Prog\file.txt"
or
FileDelete, % A_AppData . "\Prog\file.txt"

In legacy format:
FileDelete, %A_AppData%\Prog\file.txt
by boiler
Today, 00:48
Forum: Ask For Help
Topic: FileCopy not working Topic is solved
Replies: 11
Views: 348

Re: FileCopy not working Topic is solved

Yes, even with spaces. A parameter in legacy syntax format will consider everything up to the comma or end of the line (generally) to be part of the string of text for that parameter. You don't use quotes in or around it unless the quotes are actually intended to be part of the string. It's not like...
by boiler
Today, 00:41
Forum: Ask For Help
Topic: How to get the screen position of a GUI without the titlebar?
Replies: 2
Views: 157

Re: How to get the screen position of a GUI without the titlebar?

Use SysGet to get the height of the window caption/title bar (SM_CYCAPTION) and the border around the window, which is different depending on whether it is re-sizable (SM_CYSIZEFRAME) or not (SM_CYFIXEDFRAME). You can make your Gui re-sizable if you use the +Resize option in your initial Gui stateme...
by boiler
Today, 00:22
Forum: Ask For Help
Topic: FileCopy not working Topic is solved
Replies: 11
Views: 348

Re: FileCopy not working Topic is solved

That's because they are using legacy syntax rather than expression syntax, so you would use it without quotes like Spark showed you.
by boiler
20 Oct 2019, 19:14
Forum: Ask For Help
Topic: text/data returns mixed up
Replies: 3
Views: 136

Re: text/data returns mixed up

It's the basically the same issue, and they both can be solved the same way. A series of characters is sent relatively slowly using Send, and lately (whether it's due to a Windows update, an AHK update, or just coincidence), several people have been saying that the characters are coming out in the w...
by boiler
19 Oct 2019, 06:52
Forum: Ask For Help
Topic: Reading context menu data
Replies: 9
Views: 346

Re: Reading context menu data

Nicely done. Glad to help. :thumbup:
by boiler
18 Oct 2019, 07:08
Forum: Ask For Help
Topic: Trying to get the username of the person that opened the file
Replies: 5
Views: 183

Re: Trying to get the username of the person that opened the file

btw boiler, why i used a batch script was beacuse when i tried to move it with the command FileMove, it didnt work, it just gave errorlevel so i had a patch of just rather using batch The ErrorLevel result was because it couldn't find your startup folder. Using the batch file didn't address the pro...
by boiler
18 Oct 2019, 06:56
Forum: Ask For Help
Topic: Autohotkey running on a server
Replies: 3
Views: 269

Re: Autohotkey running on a server

No problem. Glad to hear it worked out. :thumbup:
by boiler
17 Oct 2019, 07:17
Forum: Ask For Help
Topic: PixelColor Don't Work Topic is solved
Replies: 53
Views: 2197

Re: PixelColor Don't Work Topic is solved

ImageSearch ,, NameY, 5, 25, 169, 524, * 50% A_LoopFileFullPath%; modify variation to account for background You removed the space before the ; so it is no longer a comment and it thinks your comment is part of the file path. That is probably the whole problem. where do i want it to stop using f6? ...
by boiler
16 Oct 2019, 13:54
Forum: Ask For Help
Topic: How to properly assign labels to windows
Replies: 11
Views: 252

Re: How to properly assign labels to windows

Just saw an error that I fixed in my test but not in the original. I edited the script to fix it (replaced WinW with WinH in one place).
by boiler
16 Oct 2019, 13:52
Forum: Ask For Help
Topic: How to properly assign labels to windows
Replies: 11
Views: 252

Re: How to properly assign labels to windows

Hmm. It worked for me when I used two windows and their locations and sizes. Make sure the locations and sizes are exactly what is reported by AutoHotkey's Window Spy tool.
by boiler
16 Oct 2019, 13:11
Forum: Ask For Help
Topic: Wait for window, then send a cancel command
Replies: 9
Views: 244

Re: Wait for window, then send a cancel command

Since the title you found for this window doesn't match what is shown on the actual popup (Application uninstall clean-up) and because the close button on it is not standard, it seems it's not an actual stand-alone window but probably drawn within the application's larger window. In that case, then ...
by boiler
16 Oct 2019, 13:06
Forum: Ask For Help
Topic: How to properly assign labels to windows
Replies: 11
Views: 252

Re: How to properly assign labels to windows

Without any title information, we cant use GroupAdd, but this script will identify each window by its location/size and save their hwnds in the variables Win1 and Win2 so they can be subsequently be identified directly. The script demonstrates that by temporarily moving their locations before moving...
by boiler
16 Oct 2019, 12:19
Forum: Ask For Help
Topic: How to properly assign labels to windows
Replies: 11
Views: 252

Re: How to properly assign labels to windows

There isn't a built-in way to identify windows by their positions, although it could be done with several lines of code, but it would make more sense to identify them by their titles. Do they happen to have the exact same title? If you can tell me their titles, that would make for better code for la...
by boiler
16 Oct 2019, 12:03
Forum: Ask For Help
Topic: text/data returns mixed up
Replies: 3
Views: 136

Re: text/data returns mixed up

It sounds similar to the issue in this thread, which more and more people seem to have recently. Try using the Clip() approach described in that thread.
by boiler
16 Oct 2019, 11:58
Forum: Ask For Help
Topic: How to properly assign labels to windows
Replies: 11
Views: 252

Re: How to properly assign labels to windows

They are not. AutoHotkey is totally different. You can learn more about it here.
by boiler
16 Oct 2019, 11:48
Forum: Ask For Help
Topic: How to properly assign labels to windows
Replies: 11
Views: 252

Re: How to properly assign labels to windows

This forum is for AutoHotkey, not HotkeyNet.
by boiler
16 Oct 2019, 11:39
Forum: Ask For Help
Topic: Trying to get the username of the person that opened the file
Replies: 5
Views: 183

Re: Trying to get the username of the person that opened the file

Is there a reason you are creating a temporary batch file to move the file instead of using the FileMove command like this? FileAppend, something, File.txt FileMove, File.txt, % A_Startup Perhaps this is just a small example script to isolate the issue you're having, and you have another reason why ...
by boiler
16 Oct 2019, 11:10
Forum: Ask For Help
Topic: Wait for window, then send a cancel command
Replies: 9
Views: 244

Re: Wait for window, then send a cancel command

This isn't the problem most likely, but to be safe, I would add the following after your WinActivate command: WinWaitActive, Advanced Uninstaller PRO ahk_class TfUninstallBubble Then try the following options in place of WinClose : Send, {Alt down}{F4}{Alt up} or: WinKill, Advanced Uninstaller PRO a...

Go to advanced search