Search found 334 matches

by gwarble
08 Jan 2019, 11:42
Forum: Scripts and Functions
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 25
Views: 1563

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

The examples assume its in A_ScriptDir, but you can put it anywhere if you tell the library where to load it from

As far as i know, the libpng15.dll has to be in the same dir, or LoadLibrary'd seperately

Also your old version might work as is with the new library, i tested with 2.2 and 2.1
by gwarble
07 Jan 2019, 17:55
Forum: Ask For Help
Topic: How to assign PF13 thru PF24 as Shift+PF1-12?
Replies: 43
Views: 1822

Re: How to assign PF13 thru PF24 as Shift+PF1-12?

For what its worth, i didn't suggest ControlSend, i suggested different SendModes for the Send command, not ControlSend If you haven't yet, try all the sendmodes with Send, +F1 Did you try the a::b suggestion? I don't think targeting the window is your problem, its getting that window to "hear" the ...
by gwarble
06 Jan 2019, 19:56
Forum: Gaming
Topic: Multiboxing WoW with PIP Window on left
Replies: 4
Views: 547

Re: Multiboxing WoW with PIP Window on left

Oh my bad, maybe change all
winmove, ahk_id %wowid2%, ,%w1%,%h1%,%w2a%,%h2a%
to
winmove, ahk_id %wowid2%, ,0,%h1%,%w2a%,%h2a%
by gwarble
05 Jan 2019, 17:58
Forum: Scripts and Functions
Topic: TrayClock - digital clock in notification icon
Replies: 21
Views: 1763

Re: TrayClock - digital clock in notification icon

Nice job
I've got a similar tool called TrayDate (for the date)

You could try making the time display like 8:30 but slowly scrolling left and right across the icon, only displaying wwhat can fit
by gwarble
05 Jan 2019, 13:55
Forum: Gaming
Topic: Multiboxing WoW with PIP Window on left
Replies: 4
Views: 547

Re: Multiboxing WoW with PIP Window on left

Quickly looking through the code, my guess is to change
w1a := A_ScreenWidth * .75
to
w1a := 0
by gwarble
03 Jan 2019, 22:56
Forum: Ask For Help
Topic: Install and use LibHaru with AHK
Replies: 33
Views: 2492

Re: Install and use LibHaru with AHK

In case anyone following this missed it, or for future visitors, here is the new thread for the U|A|32|64 compatible version and v2.2.1 dlls:

https://www.autohotkey.com/boards/viewt ... =6&t=60192
by gwarble
03 Jan 2019, 19:45
Forum: Scripts and Functions
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 25
Views: 1563

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

Yup exactly, and if you go back to the originally posted way, you can FileInstall the png, then load it from resource when compiled :)
by gwarble
03 Jan 2019, 19:06
Forum: Ask For Help
Topic: How to assign PF13 thru PF24 as Shift+PF1-12?
Replies: 43
Views: 1822

Re: How to assign PF13 thru PF24 as Shift+PF1-12?

Did you try those sendmodes? Does this turn your A key into a B key in your emulator? A::B I get the feeling the window is getting input in a way ahk doesn't like, like some games do, with DirectInput or RawInput or some other method, that doesn't play nicely with the normal api Maybe try AHI or Win...
by gwarble
03 Jan 2019, 18:50
Forum: Scripts and Functions
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 25
Views: 1563

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

Nice... As you see its nothing fancy, but a good practical use-case

Another way would be leave it as LoadPNGFromMem... and put a FileRead, *c, Logo.png before it, that way you don't have to read the png from disk every time
by gwarble
03 Jan 2019, 17:26
Forum: Scripts and Functions
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 25
Views: 1563

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

Thanks

Oops, you can take out the call to Compile(), comment out the Resource_Read() call and uncomment the FileRead call... Inwas playing around with PngFromMemory

I'll update the post tonight
by gwarble
02 Jan 2019, 20:18
Forum: Ask For Help
Topic: How to assign PF13 thru PF24 as Shift+PF1-12?
Replies: 43
Views: 1822

Re: How to assign PF13 thru PF24 as Shift+PF1-12?

At the top of your script, try:
SendMode, Play
or
SendMode, Input
or
SendMode, Event

Also try with and without #UseHook
Also try running as administrator by right clicking
Also check the emulator if it has any options to remap keys built in
by gwarble
02 Jan 2019, 18:14
Forum: Ask For Help
Topic: How to assign PF13 thru PF24 as Shift+PF1-12?
Replies: 43
Views: 1822

Re: How to assign PF13 thru PF24 as Shift+PF1-12?

If you try:
F13::F1
do you get the AS/400 help screen when you press F13 in your emulator?
If not, try all the sendmodes (SendMode, Input, , Raw, , Play, etc)

Also try #UseHook and running your script as administrator
by gwarble
02 Jan 2019, 13:33
Forum: Scripts and Functions
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 25
Views: 1563

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

Here are some example scripts using the library, if anyone has the original examples from the old forum please let me know Raw text to multiple pages: Text2Pdf(A_ScriptFullPath) Return Text2Pdf(filename,target="") { SplitPath, fileName, fileNameNoPath, targetDir,,noExt Fileread, text, %filename% rem...
by gwarble
30 Dec 2018, 11:43
Forum: Ask For Help
Topic: Is there any good alternative for script Pre-Edition for AHK?
Replies: 11
Views: 696

Re: Is there any good alternative for script Pre-Edition for AHK?

The static only serves to keep the expression from resolving on each call, so in theory there is only a time savings by using it, why would you need it in this case?
by gwarble
22 Dec 2018, 14:39
Forum: Scripts and Functions
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 25
Views: 1563

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

You're welcome... it was the last library keeping me on the ansi version for a few projects

Still to do: compile latest version of the dll, v2.3.0, with no dependencies on msvcrt0 or libpng dlls, then get it working with MemoryLibrary
by gwarble
20 Dec 2018, 23:39
Forum: Scripts and Functions
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 25
Views: 1563

[stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

Hey all, Many thanks to the libHaru authors and Thrawn for the original wrapper [here: https://autohotkey.com/board/topic/40659-wrapper-for-libharu-creates-pdfs-stdlib-r1-2009-05-11/], I have made minimal changes to allow support from all versions of AutoHotkey, Unicode 32-bit, Unicode 64-bit, and A...
by gwarble
20 Dec 2018, 23:27
Forum: Ask For Help
Topic: Protecting AHK code against piracy
Replies: 17
Views: 1209

Re: Protecting AHK code against piracy

If you wish to protect data in the source,just use MCode,which is a solid but still not bulletproof approach. So obfuscation is actually your best bet,by virtue of few if any having the motivation & desire to go through designer spaghetti code,which obfuscated code basically is. Any advice on where...
by gwarble
20 Dec 2018, 20:50
Forum: Scripts and Functions
Topic: [function set] write/read registry settings for Standard/Current User, or other specific user, when elevation is needed
Replies: 0
Views: 222

[function set] write/read registry settings for Standard/Current User, or other specific user, when elevation is needed

Not sure the best way to wrap this into a nice stdlib function/library, RegWriteStandardUser() seems too specific but likely the most used... but basically, as shown in the example below, using the following four functions I was finally able to change some registry settings that are in HKey_Current_...
by gwarble
20 Dec 2018, 09:31
Forum: Forum Issues
Topic: I need to login again after posting Topic is solved
Replies: 7
Views: 748

Re: I need to login again after posting Topic is solved

swagfag wrote:
19 Dec 2018, 09:41
Yeah also on simplicity desktop, it logs me out for the currently open tab only after posting, ie if I open new pages from a separate older tab, I'll still be logged in in those
Same thing here in the past few days, in Firefox and in Chrome
by gwarble
17 Dec 2018, 14:52
Forum: Bug Reports
Topic: FileCreateShortcut bug
Replies: 9
Views: 824

FileCreateShortcut bug

noticed what I think is a bug: FileCreateShortcut, "S:\IT - Software\Tools\AppName.exe", %A_ProgramsCommon%\AppName\Update now.lnk S:\ is a mapped network drive. Non-admin user needs elevation to create the shortcut, which means S:\ mapped drive no longer exists. Created shortcut path is: S:\IT_-_So...

Go to advanced search