Search found 368 matches

by iPhilip
17 Apr 2019, 13:28
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 297
Views: 70458

Re: GDI+ standard library 1.45 by tic

Thank you Helgef ! :wave: RazorHalo , in your Gdip_GetPathWorldBounds(pPath) function you might want to replace VarSetCapacity(RectF, 16) NumPut(0, RectF, 0, "float"), NumPut(0, RectF, 4, "float"), NumPut(0, RectF, 8, "float"), NumPut(0, RectF, 12, "float") with VarSetCapacity(RectF, 16, 0)
by iPhilip
15 Apr 2019, 01:30
Forum: Ask For Help
Topic: Number Sorting - Improper Array Sort Topic is solved
Replies: 7
Views: 248

Re: Number Sorting - Improper Array Sort Topic is solved

Thank you for clarifying what you meant by Elementary.
by iPhilip
14 Apr 2019, 21:31
Forum: Ask For Help
Topic: Number Sorting - Improper Array Sort Topic is solved
Replies: 7
Views: 248

Re: Number Sorting - Improper Array Sort Topic is solved

Even more elementary ... :)

Code: Select all

myBefore := myAfter := "9 7 3 1 2 8 4 5 6"
Sort, myAfter, D%A_Space%
MsgBox % myBefore "`n" myAfter
by iPhilip
14 Apr 2019, 02:15
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 297
Views: 70458

Re: GDI+ standard library 1.45 by tic

RazorHalo The following works on Windows 7 but still requires U64. ; Tested on A_AhkVersion U64 1.1.30.03 - Windows 7 & 10 x64 #NoEnv #SingleInstance Force SetWorkingDir %A_ScriptDir% SetBatchLines -1 ;Need to include your path to Gdip or have in the same directory as script #Include Gdip_all.ahk O...
by iPhilip
13 Apr 2019, 12:39
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 297
Views: 70458

Re: GDI+ standard library 1.45 by tic

@iPhilip As posted, the sample script generates an error. What is the error your getting? I'm using the Gdip_All.ahk file from the first post of this thread and only the functions defined within the sample script itself as far as I can tell. On my system it generates a Gui with a rotating square in...
by iPhilip
13 Apr 2019, 01:39
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 297
Views: 70458

Re: GDI+ standard library 1.45 by tic

@RazorHalo

As posted, the sample script generates an error.
by iPhilip
12 Apr 2019, 01:35
Forum: Scripts and Functions
Topic: CNG (Cryptography API: Next Generation)
Replies: 53
Views: 10281

Re: CNG (Cryptography API: Next Generation)

Hi jNizM, I noticed some behavior that I don't understand. See the code below: MsgBox % crypt := bcrypt.encrypt("abcdefghijklmnop", "1234567890123456", "1234567890123456") MsgBox % bcrypt.decrypt(crypt, "1234567890123456", "1234567890123456") try MsgBox % crypt := bcrypt.encrypt("abcdefghijklmnop", ...
by iPhilip
12 Apr 2019, 00:53
Forum: Scripts and Functions
Topic: CNG (Cryptography API: Next Generation)
Replies: 53
Views: 10281

Re: CNG (Cryptography API: Next Generation)

Hi jNizM,

Thank you for your great work. I am looking forward to the updated class. :thumbup:
by iPhilip
11 Apr 2019, 22:38
Forum: Offtopic
Topic: Test your Forum Posts
Replies: 370
Views: 85803

Re: Test your Forum Posts

@joedf I occasionally use the same color as the names on the left side of the page. :)
by iPhilip
11 Apr 2019, 20:41
Forum: Scripts and Functions
Topic: CNG (Cryptography API: Next Generation)
Replies: 53
Views: 10281

Re: CNG (Cryptography API: Next Generation)

class bcrypt { ... static BCRYPT_OPAQUE_KEY_BLOB := "OpaqueKeyBlob" ; <<< This static variable is not used in the class. It can be deleted. ... encrypt(string, iv, key) { ... this.CloseAlgorithmProvider(ALG_HANDLE) ; <<< This should be this.BCryptCloseAlgorithmProvider(ALG_HANDLE) ... } decrypt(str...
by iPhilip
09 Apr 2019, 15:03
Forum: Ask For Help
Topic: how to keep a window at the bottom always?
Replies: 2
Views: 132

Re: how to keep a window at the bottom always?

Hi tatagi, Would you let me know if the following code solves your problem? #NoEnv WinIDs := GetAltTabWindows() BottomID := WinIDs.Pop() ; Get the bottom-most window DllCall("RegisterShellHookWindow", "Ptr", A_ScriptHwnd) MsgNum := DllCall("RegisterWindowMessage", "Str", "SHELLHOOK") OnMessage(MsgNu...
by iPhilip
08 Apr 2019, 19:21
Forum: Ask For Help
Topic: Stand-alone syntax validator?
Replies: 13
Views: 883

Re: Stand-alone syntax validator?

FYI. I ran it with U64 and got the same result.
by iPhilip
08 Apr 2019, 16:17
Forum: Ask For Help
Topic: Stand-alone syntax validator?
Replies: 13
Views: 883

Re: Stand-alone syntax validator?

Hi Cerberus,

I ran your code and got the following output:

Code: Select all

C:\~badscript.ahk (1) : ==> This line does not contain a recognized action.

     Specifically: ¾ ž é ō �
I am running AHK v1.1.30.01 U32.

I hope this helps.

- iPhilip
by iPhilip
03 Apr 2019, 09:55
Forum: Ask For Help
Topic: New user struggling with a very basic script.
Replies: 6
Views: 272

Re: New user struggling with a very basic script.

My apology for misunderstanding your problem. Did you try the SendInput command in place of the Send command?
by iPhilip
03 Apr 2019, 09:37
Forum: Ask For Help
Topic: New user struggling with a very basic script.
Replies: 6
Views: 272

Re: New user struggling with a very basic script.

Hi CraftyClown,

Are you looking for a hotkey like this?

Code: Select all

^+1::
MsgBox Change a performance profile.
Return
Cheers!

- iPhilip
by iPhilip
03 Apr 2019, 03:08
Forum: Ask For Help
Topic: How to check if a window is fully behind others? Topic is solved
Replies: 7
Views: 346

Re: How to check if a window is fully behind others? Topic is solved

Hi KilliK, Would you let me know if the code below works for you? F3:: ; Set the window to keep active and start the timer hwnd := WinExist("A") SetTimer, Timer, 100 Return Timer: WinGet, ID, List, , , Program Manager Loop, %ID% { if (ID%A_Index% = hwnd) Break if IsWinCover(ID%A_Index%, hwnd) { WinA...
by iPhilip
21 Mar 2019, 17:03
Forum: Scripts and Functions
Topic: Class Printers
Replies: 6
Views: 363

Re: Class Printers

For reference : PRINTER_ENUM_DEFAULT = 0x00000001 PRINTER_ENUM_LOCAL = 0x00000002 PRINTER_ENUM_CONNECTIONS = 0x00000004 PRINTER_ENUM_FAVORITE = 0x00000004 PRINTER_ENUM_NAME = 0x00000008 PRINTER_ENUM_REMOTE = 0x00000010 PRINTER_ENUM_SHARED = 0x00000020 PRINTER_ENUM_NETWORK = 0x00000040 PRINTER_ENUM_E...
by iPhilip
19 Mar 2019, 15:32
Forum: Scripts y Funciones
Topic: AHKv2: Crea ToolTips, personaliza la fuente e icono [23/03/2019]
Replies: 4
Views: 6670

Re: AHKv2: Crea ToolTips, personaliza la fuente e icono [28/07/2018]

Hi Flipdeador, I hope you don't mind me posting this in English. My Spanish is not that good. :) I studied your class carefully as I am trying to learn more about how tooltips are handled and I found a problem with your class, specifically in the GetPos() method. The script below demonstrates the is...

Go to advanced search