AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 55 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Opinions wanted : Optimized DllCall()
Pil

Replies: 92
Views: 11494

PostForum: Wish List   Posted: Sun Feb 01, 2009 9:48 pm   Subject: Opinions wanted : Optimized DllCall()
Now that I think about it, you could probably even do it with GDI or GDI+, without 3D hardware.
I did it in VB with the msimg32.dll ( http://msdn.microsoft.com/en-us/library/dd144957 ) and it works ...
  Topic: Opinions wanted : Optimized DllCall()
Pil

Replies: 92
Views: 11494

PostForum: Wish List   Posted: Tue Jan 27, 2009 11:04 pm   Subject: Opinions wanted : Optimized DllCall()
It is not so much NumPut that is slow, but the script itself
Donīt get it.
I have replaced only the loop using Numput with ddl in second code, which reduced needed time from 20 seconds to 2,5.
Do y ...
  Topic: picture button flickers
Pil

Replies: 9
Views: 491

PostForum: Ask for Help   Posted: Mon Jan 26, 2009 9:23 pm   Subject: picture button flickers
Use Window Spy, (comes with AHK) to see what contol the picture belongs to. Static 1..2 or whatever.
Probably table is using static3.
Regards
Noel
  Topic: Macro
Pil

Replies: 21
Views: 595

PostForum: Ask for Help   Posted: Sun Jan 25, 2009 10:23 pm   Subject: Macro
Try this code with IO.dll to see keyboard`s scancodes
Loop
{
outVar := 0xFF & DllCall("io\PortIn", char, 96)
Tooltip %outVar%
Sleep 100
}
Download IO.dll at ...
  Topic: picture button flickers
Pil

Replies: 9
Views: 491

PostForum: Ask for Help   Posted: Sun Jan 25, 2009 9:56 pm   Subject: picture button flickers
What about:
Gui, Add, Picture,x200 y200 BackgroundTrans AltSubmit gToExecute , SmallButton_Off.png
Gui, Add, Picture,x200 y200 BackgroundTrans AltSubmit gToExecute , SmallButton_On.png
Gui, Show,, ...
  Topic: Opinions wanted : Optimized DllCall()
Pil

Replies: 92
Views: 11494

PostForum: Wish List   Posted: Sun Jan 25, 2009 9:37 pm   Subject: Opinions wanted : Optimized DllCall()
I must say that since I started this topic i am happy with AHKīs progress.
But still come back to this topic because I noticed that not only the dllCall but also the NumPut is very slow. I remembered ...
  Topic: picture button flickers
Pil

Replies: 9
Views: 491

PostForum: Ask for Help   Posted: Sun Jan 25, 2009 4:10 pm   Subject: picture button flickers
Just because I know you are expert in graphics. :)
The exchange of images causes flickering
Regards
Noel
  Topic: LowLevel & dynamic code
Pil

Replies: 137
Views: 26773

PostForum: Scripts & Functions   Posted: Mon Nov 24, 2008 10:36 pm   Subject: LowLevel & dynamic code
BITMAP example by SKAN with __mcode funcion by Lexikos.
ATC:=A_TickCount
SetBatchLines -1
DetectHiddenWindows, On
#include lowlevel.ahk
; Creating a 256x256 24bit bitmap file in memory
Id ...
  Topic: Opinions wanted : Optimized DllCall()
Pil

Replies: 92
Views: 11494

PostForum: Wish List   Posted: Mon Nov 24, 2008 10:06 pm   Subject: Opinions wanted : Optimized DllCall()
Indeed strange. Seems it also depends on the computer you use
I write my mails at a cyber cafe, and at the moment I use a Celeron 2.13 GHz 120 MB Ram
The average of 20 runs of SetPixel example with ...
  Topic: LowLevel & dynamic code
Pil

Replies: 137
Views: 26773

PostForum: Scripts & Functions   Posted: Sun Nov 23, 2008 10:47 pm   Subject: LowLevel & dynamic code
Thatīs what I meant.
Writing code that reads permitted asm line code in source script, then makes an .obj file with GoAsm, links it with GoLink,disassambles the exe with disassem, and takes machineco ...
  Topic: LowLevel & dynamic code
Pil

Replies: 137
Views: 26773

PostForum: Scripts & Functions   Posted: Sun Nov 23, 2008 2:39 pm   Subject: LowLevel & dynamic code
What about writing code that permits use of ASM code in script using __mcode(FuncName, Hex). Not that I donīt like C, but most of languages I saw use Asm to speed up things. I am reading the GoAsm man ...
  Topic: Opinions wanted : Optimized DllCall()
Pil

Replies: 92
Views: 11494

PostForum: Wish List   Posted: Sun Nov 23, 2008 2:12 pm   Subject: Opinions wanted : Optimized DllCall()
I am really happy with the new beta version.
With the use of GetProcAddress the DllCall is four times faster now.
The only script I have that doesnīt work anymore is the colorpicker written by SKAN ...
  Topic: Beta version pre-v1.0.48: Up to 3x faster performance
Pil

Replies: 128
Views: 43210

PostForum: Announcements   Posted: Sun Nov 23, 2008 12:00 am   Subject: Beta version pre-v1.0.48: Up to 3x faster performance
Yes,,,Thank you sir...
All my scripts runs lot faster.
Whatīs better; the DllCallīs in my scripts are also almost three times faster.
Long live AHK
  Topic: Opinions wanted : Optimized DllCall()
Pil

Replies: 92
Views: 11494

PostForum: Wish List   Posted: Thu Nov 20, 2008 10:47 pm   Subject: Opinions wanted : Optimized DllCall()
Ice_Tea, that is typically only true if Int, etc. are empty variables and you have not used #NoEnv, as referencing Int would then perform an environment variable lookup.

Hoho..... HelpFile tells me ...
  Topic: Separating the Scripts & Functions directory.
Pil

Replies: 3
Views: 1058

PostForum: Wish List   Posted: Sun Nov 16, 2008 7:06 pm   Subject: Separating the Scripts & Functions directory.
Scripts and Functions are listed separately on the Wiki.
Of course a good and I know hard work .
Also not to forget majkinetor with his Custom GUI Controls & GUI related
I really appreciate the ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group