Search found 178 matches

by vsub
31 Aug 2019, 07:04
Forum: Ask For Help
Topic: Is it possible to execute script untill a certain line in the script Topic is solved
Replies: 2
Views: 136

Is it possible to execute script untill a certain line in the script Topic is solved

I usually use one script in which I do my tests and it's usually a mess of all kind of code,but the problem is,if I add some other code at the top of the script which makes the scripts below it to not work correctly,AHK will give me an error and it will not run the script until I fix it. For example...
by vsub
31 Aug 2019, 04:30
Forum: Ask For Help
Topic: Script don't work if explorer is running in separate process
Replies: 0
Views: 106

Script don't work if explorer is running in separate process

The option is Folder Options=>View=>Launch folder windows in separate process It is preventing this script from working for Explorer in ComObjCreate("Shell.Application").Windows { Folder := Explorer.Document.SelectedItems Selected := Explorer.Document.SelectedItems.Item.Path } For Item in Folder Sel...
by vsub
19 Aug 2019, 13:56
Forum: Ask For Help
Topic: Prevent accidental clicks while typing
Replies: 0
Views: 104

Prevent accidental clicks while typing

You all touchpad users know the annoying situation of accidentally touching the touchpad while typing and making a mess if you don't look at the screen often This prevent clicking if the mouse cursor is in IBeam mode(typing) Any ideas how I can improve it? #If (A_Cursor = "IBeam") $LButton:: ; Preve...
by vsub
18 Aug 2019, 07:11
Forum: Ask For Help
Topic: Can autohotkey repeatedly display a value taken from a pointer
Replies: 2
Views: 206

Re: Can autohotkey repeatedly display a value taken from a pointer

The program stores values bigger than FF(255)in reverse byte order 06470000 is actually 00004706 This shows the value but the problem is the base address,I don't know how to get the address of a pointer(I didn't understand how to do it from the link I found) The base address in the instructions is a...
by vsub
17 Aug 2019, 03:37
Forum: Ask For Help
Topic: Can autohotkey repeatedly display a value taken from a pointer
Replies: 2
Views: 206

Can autohotkey repeatedly display a value taken from a pointer

I want to display the value of specific address every second but the problem is that the program changes its base address on every start so I have to use pointers(not that I know how to that too) The pointer is "dbghelp.dll+617020"(pointing the program base address)and the offset(the actual address ...
by vsub
12 Aug 2019, 13:27
Forum: Ask For Help
Topic: Minimize certain window from taskbar
Replies: 0
Views: 131

Minimize certain window from taskbar

Any idea what I can do to be able to minimize certain window the usual way? 1.If the window is not active,activate it 2.If the window is active,minimize it The window don't have a caption so I can't minimize it the usual way and it works like this 1.If the window is not active,clicking on the taskba...
by vsub
11 Aug 2019, 07:30
Forum: Ask For Help
Topic: Restore default windows size after WinMove and Style
Replies: 0
Views: 82

Restore default windows size after WinMove and Style

Is this windows limitation or there is some other reason Why do I have to resize the window twice if I want to restore the window original maximized size WinMove,A,,,,,1049 WinMove,A,,,,,1066 If I don't resize it twice,around 17px from the bottom of the window get behind the taskbar when I exit "bor...
by vsub
31 Jul 2019, 09:13
Forum: Ask For Help
Topic: Please Help woth Simple Copy and Paste Script
Replies: 19
Views: 947

Re: Please Help woth Simple Copy and Paste Script

Do you want the image to always be saved to a specific folder
Do you still want to use Ctrl+Z or it can be another hotkey
by vsub
28 Jul 2019, 15:51
Forum: Ask For Help
Topic: Help with image saving script Topic is solved
Replies: 5
Views: 320

Re: Help with image saving script Topic is solved

Well you can use some random name or the current time
Remove the ControlGetText and replace the "Name" variable with A_Now
by vsub
28 Jul 2019, 12:51
Forum: Ask For Help
Topic: Help with image saving script Topic is solved
Replies: 5
Views: 320

Re: Help with image saving script Topic is solved

Umm maybe I did not understand something but this does work here SaveDir = ; place the save path including \ at the end ^+NumpadAdd:: Keywait,% A_ThisHotkey Loop { MouseClick, right, 687, 395 Sleep,1000 ; not sure if it's needed,this waits for the menu to appear Send,v ; this executes the access key...
by vsub
28 Jul 2019, 10:38
Forum: Ask For Help
Topic: Help with image saving script Topic is solved
Replies: 5
Views: 320

Re: Help with image saving script Topic is solved

By looking at this loop,is the page automatically reloaded or you are reloading it Is the image always in the same position(only one image) Is the image just a small version and when you open it,it shows the larger version How about this SaveDir = place the save path including \ at the end ^+NumpadA...
by vsub
27 Jul 2019, 06:20
Forum: Ask For Help
Topic: WinMenuSelectItem with unknown first character
Replies: 4
Views: 216

Re: WinMenuSelectItem with unknown first character

It doesn't work for some reason A library is injected to the exe on load which adds extra menus It works with the normal menus but not with the extra menus I found this script from lexikos that give me the number I need for the postmessage\dllcall so no I am using this to call the menu DllCall("Send...
by vsub
27 Jul 2019, 06:05
Forum: Ask For Help
Topic: WinKill doesn't work in compiled script
Replies: 6
Views: 351

Re: WinKill doesn't work in compiled script

Place a msgbox inside the functions to see what window title WinKill is trying to close and check if it actually exist
Msgbox,% ScriptPath
by vsub
26 Jul 2019, 09:11
Forum: Ask For Help
Topic: WinKill doesn't work in compiled script
Replies: 6
Views: 351

Re: WinKill doesn't work in compiled script

The title of the console window(compiled or not) the script path but the window is hidden Try adding at the top of your script DetectHiddenWindows,On But still,WinKill will have to look for a specific window while ExitApp will close the script If you actually want to close scripts(like scripts manag...
by vsub
25 Jul 2019, 15:03
Forum: Ask For Help
Topic: WinKill doesn't work in compiled script
Replies: 6
Views: 351

Re: WinKill doesn't work in compiled script

Why don't you just use ExitApp when you want to close the script?
by vsub
24 Jul 2019, 11:22
Forum: Ask For Help
Topic: WinMenuSelectItem with unknown first character
Replies: 4
Views: 216

WinMenuSelectItem with unknown first character

If there is any way to select a menu that the first character is random
For example File=>Recent=>?.File Name
The ? is some number or symbol
by vsub
21 Jul 2019, 03:17
Forum: Ask For Help
Topic: Change "Save As" Location ?
Replies: 2
Views: 230

Re: Change "Save As" Location ?

Place the paths you want in the SaveAs variable and right click on the Save button while that window is active to get a list of locations to save. Once you click on the location from the menu,ahk will send the path and the name you type in the edit control and save the file You can also add a separa...
by vsub
20 Jul 2019, 06:06
Forum: Ask For Help
Topic: Can I change a script taskbar icon of a msgbox?
Replies: 2
Views: 204

Can I change a script taskbar icon of a msgbox?

The tray icon is not visible and the script don't have a gui,just a simple msgbox that appears on a condition
by vsub
20 Jul 2019, 05:52
Forum: Ask For Help
Topic: Any idea why this is preventing the normal hotkey
Replies: 0
Views: 138

Any idea why this is preventing the normal hotkey

I switch the language by Ctrl+Shift but if the same hotkey combination is used for changing the language(even if ~ is present),AHK will not allow the language to change ~LCtrl & LShift::SoundPlay,C:\Windows\media\Speech On.wav And it's not just that,trying to execute any kind of code will not allow ...

Go to advanced search