Search found 203 matches

by Vh_
02 Apr 2021, 11:03
Forum: Ask for Help (v1)
Topic: Adobe COM, edit a word
Replies: 3
Views: 605

Re: Adobe COM, edit a word

Thanks for the feedback. I will abandon the project. :)
by Vh_
01 Apr 2021, 15:02
Forum: Ask for Help (v1)
Topic: Adobe COM, edit a word
Replies: 3
Views: 605

Adobe COM, edit a word

Hi, I have a script to read words in a PDF, but I need to edit one. These are not in fields like typical PDFs might have. Any idea on how to do that? This was my attempt. Here is a document for references https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/5186AcroJS.pdf #SingleInstance, F...
by Vh_
22 Aug 2019, 07:32
Forum: Ask for Help (v1)
Topic: Copy + Paste on Right click context menu
Replies: 5
Views: 1998

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 (v1)
Topic: Copy + Paste on Right click context menu
Replies: 5
Views: 1998

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 (v1)
Topic: Copy + Paste on Right click context menu
Replies: 5
Views: 1998

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 (v1)
Topic: Windows 10, Suspected UAC problem
Replies: 2
Views: 1248

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 (v1)
Topic: MS Paint: rotate by scaling/shearing (stretching/skewing)
Replies: 2
Views: 1999

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 (v1)
Topic: Mac-Like Hot Corners For Windows 10 To Change Volume And Brightness
Replies: 4
Views: 2081

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 (v1)
Topic: Delete PDF Pages through Adobe COM
Replies: 16
Views: 3763

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 (v1)
Topic: [GAME] Snake
Replies: 9
Views: 6004

Re: [GAME] Snake

Impressive!!
by Vh_
02 Apr 2019, 13:54
Forum: Ask for Help (v1)
Topic: If and or statements Topic is solved
Replies: 4
Views: 2151

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 (v1)
Topic: If and or statements Topic is solved
Replies: 4
Views: 2151

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 (v1)
Topic: If and or statements Topic is solved
Replies: 4
Views: 2151

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 (v1)
Topic: Alternative to iniread
Replies: 5
Views: 1374

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 (v1)
Topic: Alternative to iniread
Replies: 5
Views: 1374

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 Scripts (v1)
Topic: CoinSino
Replies: 2
Views: 2619

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 (v1)
Topic: My Bluetooth Microphone will not Mute.
Replies: 1
Views: 647

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 Scripts (v1)
Topic: CoinSino
Replies: 2
Views: 2619

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 (v1)
Topic: Maximum INI file before corruption concerns?
Replies: 1
Views: 606

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 (v1)
Topic: Loop, Files
Replies: 1
Views: 672

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...

Go to advanced search