Search found 291 matches

by gwarble
Yesterday, 19:25
Forum: Ask For Help
Topic: How to RegWrite a "current user" registry setting for unelevated user
Replies: 6
Views: 170

Re: How to RegWrite a "current user" registry setting for unelevated user

So I added a break to the loop after first Username is found, tested on two systems they both seem to return the "standard user" i want from the elevated process first, before a secondary logon name, so maybe this works. I can't find any documentation or posts about the order in which sessions are e...
by gwarble
Yesterday, 00:47
Forum: Scripts and Functions
Topic: EitherMouse 0.75 - Multiple mice, individual settings...
Replies: 257
Views: 66534

Re: EitherMouse 0.75 - Multiple mice, individual settings...

Many thanks for sharing that solution, I will look into incorporating that into EitherMouse or the installer
by gwarble
Yesterday, 00:27
Forum: Ask For Help
Topic: How to RegWrite a "current user" registry setting for unelevated user
Replies: 6
Views: 170

Re: How to RegWrite a "current user" registry setting for unelevated user

I will once i'm sure I can get the actual logged in current standard user

the getting of Sid seems pretty solid, not sure what else its useful for

If this is really the only way it might be useful to wrap it into RegWriteStandardUser()
by gwarble
12 Dec 2018, 20:24
Forum: Ask For Help
Topic: Coding with Ansi & Unicode compatibility question
Replies: 4
Views: 60

Re: Coding with Ansi & Unicode compatibility question

Thanks for the explanation. That all makes sense, I guess lstrcpy and lstrlen fall into this category: - Other times the situation is slightly different. One possibility is that you have Func (ANSI) and FuncW (Unicode). And specifying Func when using AHK Unicode will give you the wrong answer, altho...
by gwarble
12 Dec 2018, 19:33
Forum: Ask For Help
Topic: Coding with Ansi & Unicode compatibility question
Replies: 4
Views: 60

Coding with Ansi & Unicode compatibility question

Hey all, After getting the libHaru library to work with unicode, i'm finally able to switch one of my programs to U32, and merge it with another that already required unicode. So i've been tackling a couple other functions to get them to work with all versions, A|U32|64 Started with it working in an...
by gwarble
12 Dec 2018, 08:36
Forum: Ask For Help
Topic: How to RegWrite a "current user" registry setting for unelevated user
Replies: 6
Views: 170

Re: How to RegWrite a "current user" registry setting for unelevated user

True, it does seem to work, but i want to find the proper way and i've not seen it done like this elsewhere

Edit: actually it fails when another user is logged in, don't know how to differentiate the user sessions
by gwarble
11 Dec 2018, 16:47
Forum: Ask For Help
Topic: How to RegWrite a "current user" registry setting for unelevated user
Replies: 6
Views: 170

How to RegWrite a "current user" registry setting for unelevated user

Hey all... In learning the ins and outs of needing administrator privileges and using uac, I've run into a problem that I assume has an easy solution but I have only been able to kludge a workaround: How to write a registry setting for a standard user, not the elevated/admin user, when admin privile...
by gwarble
09 Dec 2018, 10:27
Forum: Ask For Help
Topic: Install and use LibHaru with AHK
Replies: 32
Views: 1130

Re: Install and use LibHaru with AHK

Thanks, its working in my program fine so far, i'm not too worried about finding the examples Thanks for testing, I'm glad its working for you, i'll post a new thread in S&F today to increase visibility, this was the only thing left keeping me on Ansi ahk i think Edit: thanks for the links too, both...
by gwarble
08 Dec 2018, 19:05
Forum: Ask For Help
Topic: Install and use LibHaru with AHK
Replies: 32
Views: 1130

Re: Install and use LibHaru with AHK

the original thread has about a dozen example scripts (with broken links) but no biggie

thanks for the links to alternate binaries, I will check them out and see what I can make of it, thanks!
Also trying a TDM-GCC path to compiling myself, still learning
by gwarble
08 Dec 2018, 14:08
Forum: Ask For Help
Topic: Install and use LibHaru with AHK
Replies: 32
Views: 1130

Re: Install and use LibHaru with AHK

Does anyone have the example scripts from the original thread by thrawn? The archives only have three
by gwarble
06 Dec 2018, 15:46
Forum: Ask For Help
Topic: Install and use LibHaru with AHK
Replies: 32
Views: 1130

Re: Install and use LibHaru with AHK

Ok, this seems to work with U32 and A32 (and U64!), feedback appreciated: ;---------------------------------------------------- ;-- HPDF - libHaru Wrapper - Thrawn 2009 -- ;-- + Unicode 32&64bit support - gwarble 2018 -- ;---------------------------------------------------- HPDF_LoadDLL(dll) { retur...
by gwarble
06 Dec 2018, 13:30
Forum: Ask For Help
Topic: Double period like Mac/iPhone Topic is solved
Replies: 2
Views: 65

Re: Double period like Mac/iPhone Topic is solved

Maybe with a hotstring?

Try this to replace "space space" with "period space space"

Code: Select all

:*?:  ::.  `
by gwarble
06 Dec 2018, 11:57
Forum: Ask For Help
Topic: Install and use LibHaru with AHK
Replies: 32
Views: 1130

Re: Install and use LibHaru with AHK

Thanks I see now that a 64-bit process can not run a 32-bit dll, its a restriction of Windows... So compiling the .dll as 64-bit seems like the only solution for AHK U64. Personally I'm ok with just getting the ANSI dll to work with the ahk U32 Unless: https://blog.mattmags.com/2007/06/30/accessing-...
by gwarble
05 Dec 2018, 23:13
Forum: Ask For Help
Topic: Install and use LibHaru with AHK
Replies: 32
Views: 1130

Re: Install and use LibHaru with AHK

Small success, i stripped down a test script to the bare minimum, creating a blank pdf without the library, just direct dllcalls, and was able to create a pdf from U32 and A32 using v2.1.0 dll So i know the dll at least works from U32. Now i will selectively start adding back in the HPDF library and...
by gwarble
05 Dec 2018, 18:23
Forum: Ask For Help
Topic: Eliminate delay after first keystroke
Replies: 5
Views: 95

Re: Eliminate delay after first keystroke

Do you mean with AHK? or just in general on your computer?
See:
https://www.dummies.com/computers/pcs/s ... peat-rate/
by gwarble
05 Dec 2018, 14:12
Forum: Ask For Help
Topic: Datetime before 1601 Topic is solved
Replies: 4
Views: 73

Re: Datetime before 1601 Topic is solved

Do you want to be accurate to real history? Then you need to figure manually based on the country and when the calendar used changed from Julian to Gregorian (or whatever was before Julian) If you want to assume Gregorian calendar was already in place, maybe you can manually add 1000 years to both v...
by gwarble
04 Dec 2018, 20:01
Forum: Ask For Help
Topic: Autohotkey not working in Photoshop Topic is solved
Replies: 13
Views: 227

Re: Autohotkey not working in Photoshop Topic is solved

The #SingleInstance, Force is more general and other use-cases for your script will be better reasons to use that (or "off, or not at all) But its contributing to your confusion, because its doing the job of "ExitApp" in the other example. Also the reason the braces you asked about matter The logic ...
by gwarble
04 Dec 2018, 19:21
Forum: Ask For Help
Topic: Install and use LibHaru with AHK
Replies: 32
Views: 1130

Re: Install and use LibHaru with AHK

or do i have to use StrPut/WideCharToMultiByte to convert the strings from ahk to be ansi even though its running the unicode version?

Edit: at this point, no... i got it functioning without doing so
by gwarble
04 Dec 2018, 18:20
Forum: Scripts and Functions
Topic: avoid 'Could not close the previous instance of this script' warnings
Replies: 6
Views: 285

Re: avoid 'Could not close the previous instance of this script' warnings

I usually do it like this from within the script: pDHW := A_DetectHiddenWindows DetectHiddenWindows On WinGet, List, List, ahk_exe %Exe% Loop %List% SendMessage,0x111,65405,0,, % "ahk_id " List%A_Index% DetectHiddenWindows %pDHW% or use malcev's version above, but use SendMessage,0x111,65405,0... to...

Go to advanced search