AutoHotkey Community

It is currently May 27th, 2012, 7:26 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 43 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject:
PostPosted: June 17th, 2006, 6:31 am 
Offline

Joined: August 15th, 2005, 7:15 am
Posts: 107
Location: North Carolina
WOW Goyyah! I'm one of the ones guilty :oops: of not often visiting the other forum so I am just now seeing these, or have missed them somehow anyway, until now. I have noted many excellent and useful posts from you here already though.

I can be very slow :oops: but I am looking forward a great deal to trying some of these and hope to make use of them. Thank You for your generous contributions!

Bob


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 17th, 2006, 8:16 pm 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2545
Terrapin wrote:
WOW Goyyah! I'm one of the ones guilty :oops: of not often visiting the other forum so I am just now seeing these, or have missed them somehow anyway, until now.
You've probably missed them and only seen the last page since the topic name keeps changing...

@Goyyah: I guess you decided against cleaning up this mess? :(


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 18th, 2006, 2:52 am 
Offline

Joined: February 13th, 2006, 10:40 pm
Posts: 389
Location: Utah
Absolutely Amazing Goyyah!
You continue to amaze me with your Tips and Tricks. I like how in your little snippet editor you used at least 3 of your tricks. Really shows how powerful and useful they can be. Keep up the good work! I am eagerly waiting for the next installment!

_________________
Image
"Power can be given overnight, but responsibility must be taught. Long years go into its making."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 21st, 2006, 1:45 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Dear Bob, :)

You wrote:
WOW Goyyah! I'm one of the ones guilty :oops: of not often visiting the other forum so I am just now seeing these, or have missed them somehow anyway, until now. I have noted many excellent and useful posts from you here already though.


I understand.. For some time this topic was under forum section: Utilities & Resources and Mr.Chris decided to move it here so that this topic will receive due attention.

Quote:
I can be very slow :oops: but I am looking forward a great deal to trying some of these and hope to make use of them. Thank you for your generous contributions!


Thanks for the kind words! I was feeling low for sometime. :D

Regards, :)

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 21st, 2006, 1:57 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
corrupt wrote:
Goyyah: I guess you decided against cleaning up this mess? :(


Dear corrupt, :)

I am myself a mess - I guess :( !. The nick Goyyah will die soon. Just a two or three more posts before that. Please bear with me till then.

Veovis wrote:
Absolutely Amazing Goyyah!
You continue to amaze me with your Tips and Tricks. I like how in your little snippet editor you used at least 3 of your tricks. Really shows how powerful and useful they can be. Keep up the good work! I am eagerly waiting for the next installment!


:)

Dear Veovis, :)

Thanks for this ... and many thanks for consistently encouraging me. :)

:)

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 21st, 2006, 5:49 pm 
Offline

Joined: February 13th, 2006, 10:40 pm
Posts: 389
Location: Utah
Well, im pretty lazy on some abspects of coding. And one of those would be the kind of thing like figuring out how to dynamically write a BMP. No way i would even try. But you did. And its so useful! See my SysInfo 3.0 script.
Image
Also i would never be able to find some of those post message or things you've found, for refreshing things or making a GUI drag itself. So you help me be lazy! Thanks Goyyah! :D

(I also like how you have you tricks and tips as your signature! Its pretty useful as some times i will be reading a different topic and then see your sig)

_________________
Image
"Power can be given overnight, but responsibility must be taught. Long years go into its making."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 22nd, 2006, 1:36 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2545
Goyyah wrote:
corrupt wrote:
Goyyah: I guess you decided against cleaning up this mess? :(


Dear corrupt, :)

I am myself a mess - I guess :( !. The nick Goyyah will die soon. Just a two or three more posts before that. Please bear with me till then.

@Goyyah: Please don't misunderstand. I don't want to see you go. I appreciate the useful tips and tricks that you post. The only reason I asked is because I am interested in contributing to the discussions...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 23rd, 2006, 6:33 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Dear corrupt, :)

You wrote:
@Goyyah: Please don't misunderstand. I don't want to see you go. I appreciate the useful tips and tricks that you post. The only reason I asked is because I am interested in contributing to the discussions...


No! Not at all.. :D

:D You are a nice Friend :D

I do not remember why I posted that way! Maybe I was feeling dejected that day.
It is just that I want to slow down, and be very selective.
I have already opened an another nick.

Regards, :)

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 30th, 2006, 11:42 am 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
The following post has been updated:
Regards, :)

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 4th, 2006, 8:48 am 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
The following post has been updated:

  • How to Animate a GUI Window ? posted 23-Jun-2006 updated 4-Jul-2006.

    Constants for AnimateWindow function:

    Code:
    ROLL_LEFT_TO_RIGHT = 0x20001
    ROLL_RIGHT_TO_LEFT = 0x20002
    ROLL_TOP_TO_BOTTOM = 0x20004
    ROLL_BOTTOM_TO_TOP = 0x20008
    ROLL_DIAG_TL_TO_BR = 0x20005
    ROLL_DIAG_TR_TO_BL = 0x20006
    ROLL_DIAG_BL_TO_TR = 0x20009
    ROLL_DIAG_BR_TO_TL = 0x2000a
    SLIDE_LEFT_TO_RIGHT= 0x40001
    SLIDE_RIGHT_TO_LEFT= 0x40002
    SLIDE_TOP_TO_BOTTOM= 0x40004
    SLIDE_BOTTOM_TO_TOP= 0x40008
    SLIDE_DIAG_TL_TO_BR= 0x40005
    SLIDE_DIAG_TR_TO_BL= 0x40006
    SLIDE_DIAG_BL_TO_TR= 0x40009
    SLIDE_DIAG_BR_TO_TL= 0x40010
    ZOOM_IN            = 0x16
    ZOOM_OUT           = 0x10010
    FADE_IN            = 0xa0000
    FADE_OUT           = 0x90000



Regards, :)

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 19th, 2006, 12:28 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Quote:
BMP to JPEG Conversion - Using third party DLL!
http://www.autohotkey.com/forum/viewtopic.php?p=68587#68587


Code:
/*

Author: Ben Hackl
Posted: http://www.vbaccelerator.com/home/Resources/Babbage/JPG_DLL_for_VB/JPGWrite.asp

Download Information:

Source:
http://www.vbaccelerator.com/home/Resources/Babbage/JPG_DLL_for_VB/JPGWrite.zip

Backup:
http://autohotkey.net/~goyyah/3PDLL/Image/JPGWrite/JPGWrite.zip

Only DLL : http://autohotkey.net/~goyyah/3PDLL/Image/JPGWrite/dilib.dll

AHK File : http://autohotkey.net/~goyyah/3PDLL/Image/JPGWrite/BMP2JPEG.ahk

*/

;       ** Converting from BMP to JPEG with a Third-party DLL file: DILib.dll **

IfNotExist, dilib.dll
   {
     MsgBox,48, DILib.dll (BMP to JPEG), DILIB.DLL Not Found! ,3   
     Exit
   }

Source   := "C:\Image.bmp" ; Replace with the fullpath to Source Bitmap Image File!
Target   := "C:\Image.jpg" ; Modify to suit needs.
Quality  := 90             ; (1-100) Quality in percentage, Less Quality=Less Output Size
Progress := 0              ; Progressive? 0=False, 1=True

Result:=DllCall("DILib.dll\_DIWriteJpg@16", Str,Target
               , Str,Source, Int,Quality, Int,Progress)+1

Msg:="Conversion Successful|An Error Occured|Error Reading Source|Error Writing Target|"
StringSplit, Message, Msg, |
MsgBox,64, DILib.dll (BMP to JPEG), % Message%Result% ,3

Return


Remarks:

  • Disclaimer: Not tested/experimented enough! .
  • Very fast! dilib.dll was written in VC++ 5.0.
  • dilib.dll is sized at 115 Kb .. Thats not huge! Still, I will post if I find something smaller!

Regards, :)


_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 20th, 2006, 1:14 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Quote:
How to Hide / Show Taskbar buttons ?
http://www.autohotkey.com/forum/viewtopic.php?p=68698#68698

GetTaskmanWindow is an undocumented function available in User32.dll and calling it with
DllCall() returns the handle to the window which contains the
Taskbar buttons ( ahk_class MSTaskSwWClass ).

Interestingly, WinShow command is capable of unhiding windows irrespective of DetectHiddenWindows setting!

    To Hide ALL Taskbar buttons:
Code:
WinHide, % "ahk_id " DllCall("GetTaskmanWindow")


    To UNDO it:
Code:
WinShow, % "ahk_id " DllCall("GetTaskmanWindow")


    Remarks:

  • Important note:

    WinGetClass, TBClass, % "ahk_id " DllCall("GetTaskmanWindow"),

    TBClass reveals MSTaskSwWClass. But,

    WinHide, ahk_class MSTaskSwWClass does not work! :shock:

    Neither does hWnd:=WinExist(ahk_class MSTaskSwWClass)! :shock: :shock:
  • I just discovered GetTaskmanWindow and wanted to document it. We have a way to
    find a handle now and more serious experiments can be done with MSTaskSwWClass window!
  • It would be nice if this was included in AHK Documentation!
Quote:
AHK Documentation for WinHide

Remarks

Use WinShow to unhide a hidden window (DetectHiddenWindows can be either On or Off to do this).

This command operates only upon the topmost matching window except when WinTitle is ahk_group GroupName, in which case all windows in the group are affected.

The Explorer taskbar may be hidden/shown as follows:
WinHide ahk_class Shell_TrayWnd
WinShow ahk_class Shell_TrayWnd

All taskbar buttons can be hidden/shown as follows:
WinHide, % "ahk_id " DllCall("GetTaskmanWindow")
WinShow, % "ahk_id " DllCall("GetTaskmanWindow")



Regards, :)

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 26th, 2006, 5:46 pm 
Offline

Joined: June 8th, 2006, 9:38 pm
Posts: 307
Goyyah,

I just realized I was using two of your functions in one line

Code:
 Gui, Add, Pic, vpic x0 y0 w100 h100, % CreateBMPGradient("Bg.bmp",ColorPicker(),ColorPicker(),1)


so I figured it was about time to say thank you.
Thank you.

Roland.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 27th, 2006, 6:40 am 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Dear Roland, :D

Code:
 Gui, Add, Pic, vpic x0 y0 w100 h100, % CreateBMPGradient("Bg.bmp",ColorPicker(),ColorPicker(),1)


That was a very creative combination! :D
ColorPicker() and CreateBMPGradient(). :D

Thanks! .. I had never thought that way!.

Regards, :)

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 30th, 2006, 8:34 am 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
The following post has been updated:
Quote:
Added example: How to simulate the activated/deactivated status for a simulated Titlebar?

Regards, :)

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 43 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Leef_me and 2 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group