Search found 201 matches

by Vh_
22 Aug 2019, 07:32
Forum: Ask For Help
Topic: Copy + Paste on Right click context menu
Replies: 5
Views: 432

Re: Copy + Paste on Right click context menu

I'd just love to have it instant like windows ... I do not quite understand that. When I run my code it is instant, there is absolutely no delay or anything. What exactly does it do when you say "it is not instant"? :wtf: Hey! I ended up removing the delay with ControlGetFocus and ControlFocus. It ...
by Vh_
06 Aug 2019, 20:48
Forum: Ask For Help
Topic: Copy + Paste on Right click context menu
Replies: 5
Views: 432

Re: Copy + Paste on Right click context menu

Hi again, I found a better solution. This one will keep track of the active window on right-click and willl activate it again after the user clicks on a menu-entry. Just replace the above with this: RButton:: WinGetTitle, WindowCache, A Menu, Tray, Show return Copy: WinActivate, %WindowCache% Send ...
by Vh_
05 Aug 2019, 08:32
Forum: Ask For Help
Topic: Copy + Paste on Right click context menu
Replies: 5
Views: 432

Copy + Paste on Right click context menu

I am making a right click context menu and want to include copy and paste like the standard windows context menu has. While the below code works, the paste is not instant like windows menu. Notice I activate notepad before sending the keystrokes to copy or paste. Window menu does not steal focus fro...
by Vh_
23 Jul 2019, 15:20
Forum: Ask For Help
Topic: Windows 10, Suspected UAC problem
Replies: 2
Views: 366

Windows 10, Suspected UAC problem

I've been using AutoHotkey with our work system made in Visual Basic, on windows 7 without any problems. For a few years now. Never any problems what so ever. A few of my script users recently upgraded to windows 10, and things are breaking. I've tried the following. 1. Ran AutoHotkey script as admi...
by Vh_
15 May 2019, 10:39
Forum: Scripts and Functions
Topic: MS Paint: rotate by scaling/shearing (stretching/skewing)
Replies: 2
Views: 604

Re: MS Paint: rotate by scaling/shearing (stretching/skewing)

Impressive! I tried this in windows 10 and it worked. Fun script, thanks for sharing! :)

edit: added a smiley. :D
by Vh_
15 May 2019, 10:32
Forum: Scripts and Functions
Topic: Mac-Like Hot Corners For Windows 10 To Change Volume And Brightness
Replies: 4
Views: 744

Re: Mac-Like Hot Corners For Windows 10 To Change Volume And Brightness

XShayanX I like what you've got! I think this could be a possible solution for global users to avoid configuration on their end. MaxWidth := A_ScreenWidth MaxHeight := A_ScreenHeight HeightTrigger := MaxHeight - 20 WidthTrigger := MaxWidth - 20 MsgBox, Max Width: %MaxWidth% Max Height: %MaxHeight%`...
by Vh_
26 Apr 2019, 09:14
Forum: Ask For Help
Topic: Delete PDF Pages through Adobe COM
Replies: 16
Views: 1665

Re: Delete PDF Pages through Adobe COM

FanaticGuru You came to mind for yet another challenge a fellow AHK member and I have been trying to conquer. See the attachment. Wondering if there is a way to connect to "adobe generated fields". For example, the bottom right is XX-XXX-XXXX. Need to edit that field and set a value. Can we do this...
by Vh_
24 Apr 2019, 18:00
Forum: Scripts and Functions
Topic: [GAME] Snake
Replies: 8
Views: 1795

Re: [GAME] Snake

Impressive!!
by Vh_
02 Apr 2019, 13:54
Forum: Ask For Help
Topic: If and or statements Topic is solved
Replies: 4
Views: 414

Re: If and or statements Topic is solved

phaleth on #ahk IRC helped me figure this out! Thanks!

Code: Select all

Number = 123
Identifier = 123
Code = ABC ;result should be  "not an error"?


if (SSN = Account) && (Code != "ABC" && Code != "XYZ")
	Msgbox, i'm an error
else
	msgbox, not an error.
by Vh_
02 Apr 2019, 13:50
Forum: Ask For Help
Topic: If and or statements Topic is solved
Replies: 4
Views: 414

Re: If and or statements Topic is solved

sinkfaze wrote:
02 Apr 2019, 13:48
I copied and ran your code as is, I got i'm an error.
I misquoted myself! Edited original post. It should be opposite the result you got.
by Vh_
02 Apr 2019, 13:36
Forum: Ask For Help
Topic: If and or statements Topic is solved
Replies: 4
Views: 414

If and or statements Topic is solved

Hi, can someone please review this and tell me why I am not getting "I'm an error" regardless of if I have a matching OR (ABC or XYZ)? Thanks, Vh_ Number = 123 Identifier = 123 Code = CAB ;result should be "not an error"? if (SSN = Account) && (Code != "ABC" or Code != "XYZ") Msgbox, i'm an error el...
by Vh_
21 Feb 2019, 23:37
Forum: Ask For Help
Topic: Alternative to iniread
Replies: 5
Views: 575

Re: Alternative to iniread

Thanks all for the responses! I'll give this a test tomorrow and let you know how it turns out.
by Vh_
20 Feb 2019, 18:51
Forum: Ask For Help
Topic: Alternative to iniread
Replies: 5
Views: 575

Alternative to iniread

Hello, I've got a script that gets an index from a website, and then utilizes a .ini file to convert that number 1-50 into a US state code. I'd like to put it into the script to avoid an external file, however it seems a little tedious to do 50 If statements..such as this: If (Number = 1) State = AK...
by Vh_
14 Feb 2019, 19:31
Forum: Gaming
Topic: CoinSino
Replies: 2
Views: 841

Re: CoinSino

AHKStudent wrote:
14 Feb 2019, 12:12
looks good

add ControlFocus, Edit1, CoinSino on line 98
Enter key is set to work with the button, I hadn't thought about anyone using it with a click.I'll add it for users who choose the button method. Thanks! :)
by Vh_
13 Feb 2019, 18:45
Forum: Ask For Help
Topic: My Bluetooth Microphone will not Mute.
Replies: 1
Views: 239

Re: My Bluetooth Microphone will not Mute.

This should be moved to the "Ask for help" section rather than working scripts and functions. Likely to find more help there. Cheers! :)
by Vh_
13 Feb 2019, 18:41
Forum: Gaming
Topic: CoinSino
Replies: 2
Views: 841

CoinSino

Here's a little game that I made inspired by the #ahk freenode IRC channel. I thought i'd share it with the community. feel free to modify and post your versions, and or high scores! ;) #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings ...
by Vh_
27 Sep 2018, 10:04
Forum: Ask For Help
Topic: Maximum INI file before corruption concerns?
Replies: 1
Views: 259

Maximum INI file before corruption concerns?

Hello, I'm working on building a few databases with INI files to quickly retrieve a PDF. I haven't fully populated one yet, but after running a loop for 12 hours creating one, its over 400K lines, and 59MB. One question I'm being asked is the reliability at that size, and larger. Are there concerns ...
by Vh_
06 Sep 2018, 12:08
Forum: Ask For Help
Topic: Loop, Files
Replies: 1
Views: 274

Loop, Files

Hi, I'm wanting to get a full list of folder names within a folder, then loop through those and read the files within them. To retrieve the list of folders, I tried this example with no luck: Loop, Files, C:\Users\%_UserName%\Desktop, D { Msgbox, %A_LoopFileName% ;only brings back "Desktop" } ExitAp...
by Vh_
30 Aug 2018, 13:46
Forum: Ask For Help
Topic: Wildcard in Loop, Files
Replies: 1
Views: 273

Wildcard in Loop, Files

Hello, I'm trying to open a file that is generated every 2 weeks. The path changes each time, stored in a folder named by current time down to seconds. I was hoping to use wildcards to get this, but it appears wildcard only works at the end for filename.extention The last folder name format was crea...
by Vh_
30 Aug 2018, 12:37
Forum: Ask For Help
Topic: FileCopy, Multiple Topic is solved
Replies: 2
Views: 483

Re: FileCopy, Multiple Topic is solved

Thank you, garry!

Go to advanced search