Search found 29 matches

by fatodubs
07 Aug 2023, 20:42
Forum: SciTE4AutoHotkey
Topic: Cannot Install or Run SciTE4 3.1.0
Replies: 5
Views: 2240

Re: Cannot Install or Run SciTE4 3.1.0

The culprit appears to be at the top of the Util Lib file - the only check is for InstallDir in the HKEY_LOCAL_MACHINE registry. Here's my suggestion, but I'm not good enough with Git to create a new Install EXE file. Perhaps someone else can update the source or create a new install file. Util_GetA...
by fatodubs
07 Aug 2023, 16:24
Forum: SciTE4AutoHotkey
Topic: Cannot Install or Run SciTE4 3.1.0
Replies: 5
Views: 2240

Re: Cannot Install or Run SciTE4 3.1.0

@marcgii No, I didn't get it to work, so I have been using the old version of SciTE4AHK. I'm trying again... and planning to see if I can find the source to see what SciTE4AHK is looking at to check for AHK so I can correct that.
by fatodubs
24 May 2023, 17:34
Forum: Ask for Help (v2)
Topic: GetActiveObjects Topic is solved
Replies: 7
Views: 1259

Re: GetActiveObjects Topic is solved

I'm trying to use this for the 2.0.2 and running into errors. Here's what I have working, but I don't know enough about COM Interfaces to know if it's wholly accurate. GetActiveObjects(Prefix:="",CaseSensitive:="Off") { objects:=Map() ,DllCall("ole32\CoGetMalloc", "uint", 1, "ptr*", &malloc:=0) ; ma...
by fatodubs
08 Feb 2023, 01:45
Forum: Bug Reports
Topic: Excel Text value not recognized as numeric key unless calculated in the same function Topic is solved
Replies: 6
Views: 1339

Re: Excel Text value not recognized as numeric key unless calculated in the same function Topic is solved

Lexicos , I ran into another one that was kind of interesting - in basically the same code. This is still running in V1 as I'm working on updating my custom libraries to V2. I'm not expecting any investigations, but just thought I would share. One script assembles several different Excel and CVS fi...
by fatodubs
07 Feb 2023, 00:10
Forum: Bug Reports
Topic: AHK 2 Gui Picture images rotated incorrectly
Replies: 1
Views: 569

AHK 2 Gui Picture images rotated incorrectly

I'm working on a script to show images and wait for some input based on the orientation of the image. The Picture Control, however, is showing the images in their original orientation (I assume) rather than their current orientation. Every other image viewer I have shows them correctly. I believe th...
by fatodubs
06 Feb 2023, 16:33
Forum: Ask for Help (v2)
Topic: How to resize Picture Control in Gui to autofit Topic is solved
Replies: 1
Views: 328

Re: How to resize Picture Control in Gui to autofit Topic is solved

My apologies...

I see that it needs to be set with the Value:

Code: Select all

If (zwT>zHT) {
	zwS:=zwW-20
	guiPicShow.Value:="*h-1 *w" . zwS . " " . A_LoopFileFullPath
} else {	
	zhS:=zhW-60
	guiPicShow.Value:="*w-1 *h" . zhS . " " . A_LoopFileFullPath
}
by fatodubs
06 Feb 2023, 16:23
Forum: Ask for Help (v2)
Topic: How to resize Picture Control in Gui to autofit Topic is solved
Replies: 1
Views: 328

How to resize Picture Control in Gui to autofit Topic is solved

I'm trying to build a GUI to show an image and then wait for input. Sometimes the image will be portrait and other times landscape. I am using two Picture controls - one that is hidden that I am using to get the size of the image, and the other one to at a size the fits the screen easily. I'm strugg...
by fatodubs
06 Feb 2023, 16:05
Forum: Bug Reports
Topic: V2 IsAlpha throwing TypeError Topic is solved
Replies: 3
Views: 920

Re: V2 IsAlpha throwing TypeError Topic is solved

I get that there are workarounds - I mentioned using Try in my original post, which is probably what I would use rather than converting it to check it - but I feel like the function intended to check if a variable matches some criteria should return 0 if it does not rather than an TypeError.
by fatodubs
26 Jan 2023, 12:46
Forum: Bug Reports
Topic: V2 IsAlpha throwing TypeError Topic is solved
Replies: 3
Views: 920

V2 IsAlpha throwing TypeError Topic is solved

IsAlpha (and related IsXXX functions) throws a TypeError if the input isn't a string, but I feel like that's one of the primary uses of those functions. I understand I can use Try to get around it, but it feels like that's what those functions should be doing. I'm very excited about the distinction ...
by fatodubs
26 Jan 2023, 12:20
Forum: Bug Reports
Topic: V2 Unexpected Reserve Word Error after improper blank variable declaration Topic is solved
Replies: 2
Views: 1064

V2 Unexpected Reserve Word Error after improper blank variable declaration Topic is solved

I'm converting code to V2, and ran into this error, which confounded me for a few minutes. FunctionName(params*) { strRet:= For k,v in params strWrite.=v } The error is: Error: Unexpected reserved word. Text: in params Line: 15 File: T:\Security\AHK Scripts\Test2.ahk The issue is actually the line b...
by fatodubs
21 Jan 2023, 00:04
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.1.0
Replies: 78
Views: 29227

Re: SciTE4AutoHotkey v3.1.0

Whenever I try to run the portable version, I get the following error:

Error while launching:
""C:\MyPrograms\AutoHotkey\SciTE\InternalAHK.exe" with Params:
""C:\MyPrograms\AutoHotkey\SciTE\toolbar\Toolbar.ahk" 1376398 1116528"
The operation was canceled by the user.

Any ideas?
by fatodubs
11 Jan 2023, 18:22
Forum: SciTE4AutoHotkey
Topic: Cannot Install or Run SciTE4 3.1.0
Replies: 5
Views: 2240

Cannot Install or Run SciTE4 3.1.0

When I try to install, I get an error saying that "Could not find existing AutoHotkey installation" I assume this is because it's installed in a non-standard directory - essentially a portable install on my work PC because they won't give me admin rights. So... I tried the portable. When I run the p...
by fatodubs
02 May 2022, 23:13
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 454729

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

I'm struggling with this at the very first stages - just opening a page. The problem is that Chrome seems to be attaching to my existing instance even when I tell it to open a new one with a new profile. SetBatchLines, -1 SetTitleMatchMode 2 #Include <Chrome> wb_full_path := "C:\Program Files (x86)\...
by fatodubs
20 Apr 2022, 18:44
Forum: Bug Reports
Topic: Excel Text value not recognized as numeric key unless calculated in the same function Topic is solved
Replies: 6
Views: 1339

Re: Excel Text value not recognized as numeric key unless calculated in the same function Topic is solved

Thank you for the info, and the clarification on the state of the installer (and all the other stuff you do for the AHK community!). I thought that might also be a possibility, but since the next oldest one downloaded and ran without issue - I assumed the warning Windows was giving was somehow relev...
by fatodubs
20 Apr 2022, 14:38
Forum: Bug Reports
Topic: Excel Text value not recognized as numeric key unless calculated in the same function Topic is solved
Replies: 6
Views: 1339

Re: Excel Text value not recognized as numeric key unless calculated in the same function Topic is solved

It's still an issue with 1.1.33.10. Also, it doesn't work if the value is calculated in another function. For example: FixExcelID(strID) { strID:=Trim(strID) If IsNum(strID) { strID:=Format("{:i}",strID) strID*=1 return strID } else if IsAlphaNum(strID) return Format("{:U}",strID) else return strID ...
by fatodubs
20 Apr 2022, 13:05
Forum: Bug Reports
Topic: Excel Text value not recognized as numeric key unless calculated in the same function Topic is solved
Replies: 6
Views: 1339

Re: Numeric key in Shared Object not working unless calculated Topic is solved

The version for the original report was 1.1.33.02. I'm upgrading now to 1.1.33.10 (1.1.33.11 is being blocked by Windows Defender for being unsigned, and I'm on a work computer so easier to check back than to try to get it installed by someone else.)

I will report back on the results.
by fatodubs
20 Apr 2022, 00:57
Forum: Bug Reports
Topic: Excel Text value not recognized as numeric key unless calculated in the same function Topic is solved
Replies: 6
Views: 1339

Excel Text value not recognized as numeric key unless calculated in the same function Topic is solved

For k,v in StrSplit(arrIO[i,zcCol["VP Role IDs",1]-iOff],"`n") If IsNum(v) { strChk1:=zcShared.VPSERXWalk[v] v*=1 strChk2:=zcShared.VPSERXWalk[v] strChk3:=zcShared.VPSERXWalk[7175] MsgBox %strChk1% - %strChk2% - %strChk3% } When v=7175, only the last 2 work to find a value; strChk1 is always empty....
by fatodubs
04 Apr 2022, 17:21
Forum: Ask for Help (v1)
Topic: Editing multidimensional array in two scripts with ObjRegisterActive
Replies: 1
Views: 289

Editing multidimensional array in two scripts with ObjRegisterActive

I'm trying to use a worker/child script to read an excel file into an object with ObjRegisterActive. I create the object and can send it to be edited with the child script, but it only seems to keep the keys - the nested objects are not updated in the original script. They can be referenced in the c...
by fatodubs
22 Jul 2021, 12:58
Forum: Ask for Help (v1)
Topic: Two problems with Clipboard
Replies: 3
Views: 364

Re: Two problems with Clipboard

So I'm using it in a library. The idea is that it would send text a little more reliably than just SendInput, particularly into a Citrix remote session. I think that may be the problem, though - a longer than expected delay in syncing the clipboard in the remote session. Shift-Insert works in Window...
by fatodubs
21 Jul 2021, 16:59
Forum: Ask for Help (v1)
Topic: Two problems with Clipboard
Replies: 3
Views: 364

Two problems with Clipboard

I've got 2 issues with a Send via Clipboard function that are driving me batty... ClearClipboard() { retVal:=ClipboardAll Loop { Clipboard:= ClipWait,0.5,1 If ErrorLevel Break } return retVal } SendWithClipboard(strSend,bEnter:=0) { If IsFunc("CheckClipData") OnClipboardChange("CheckClipData",0) old...

Go to advanced search