Search found 34 matches

by real_Napster
04 Feb 2019, 17:01
Forum: Forum Issues
Topic: Requesting an Admin to handle a spam post
Replies: 19
Views: 3845

Re: Requesting an Admin to handle a spam post

Isn‘t there an Option to disable those spam notification Mails on user side? I didn‘t find an Option to disable mail notifications if my Account was Quoted? If it‘s Not possible i‘m thinking about to remove my Account or link a blank Mail address in my Account... It‘s really annoying to receive all ...
by real_Napster
30 Apr 2017, 07:41
Forum: Ask For Help
Topic: combine date + time and calc the difference to another datetime
Replies: 2
Views: 624

Re: combine date + time and calc the difference to another datetime

great! Thanks!

Seems like I used EnvAdd / EnvSub the wrong way..

I used 1-2hour yesterday night trying to solve my problem.
Now it's working perfect - thanks @just me!
by real_Napster
30 Apr 2017, 05:12
Forum: Ask For Help
Topic: combine date + time and calc the difference to another datetime
Replies: 2
Views: 624

combine date + time and calc the difference to another datetime

Hi there, I need to calculate the difference (in days, hours, mins, secs) between two datettime timestamps. I have a line that contains all information. Using strSplit() I get the dateA, timeA and dateB, timeB variables. I need help to combine the dateA+timeA & dateB+timeB variables and get the diff...
by real_Napster
16 Dec 2016, 08:43
Forum: Ich brauche Hilfe
Topic: DownloadToString mit UTF-8 URL??
Replies: 1
Views: 846

DownloadToString mit UTF-8 URL??

Hallo zusammen, ich nutze das DownloadToString script aus dem Thread: https://autohotkey.com/board/topic/89198-simple-download-bin-tostring-und-tofile/page-2 Funktioniert auch 1a.. Nach längerer Nutzung habe ich jetzt aber trotzdem ein Problem.. Undzwar wird die URL scheinbar nicht als UTF-8 abgefra...
by real_Napster
27 Nov 2016, 11:28
Forum: Ask For Help
Topic: use default icon on compile
Replies: 4
Views: 1226

Re: use default icon on compile

I'm using fincs latest ahk2exe compiler. (https://autohotkey.com/boards/viewtopic.php?f=24&t=521)
Do you know if this saves the default icon the same way you told (on gui close)?

I'll give that a try tomorrow - thanks for your help!
by real_Napster
26 Nov 2016, 14:31
Forum: Ask For Help
Topic: ControlClick & Click via PostMessage not working
Replies: 9
Views: 2090

Re: ControlClick & Click via PostMessage not working

thanks! I think I forgot about that!

Will try this on Monday (need to check this on my business Client).
by real_Napster
26 Nov 2016, 13:27
Forum: Ask For Help
Topic: use default icon on compile
Replies: 4
Views: 1226

use default icon on compile

Hi there,

I'm compiling my scripts with a commandline.
Everytime i compile a script using "/icon path\to\icon.ico" the next script i compile without "/icon" command also receives the last used icon.

How can I tell ahk2exe (via command prompt) to use the default ahk icon? :eh:

thanks!
by real_Napster
26 Nov 2016, 13:05
Forum: Ask For Help
Topic: ControlClick & Click via PostMessage not working
Replies: 9
Views: 2090

Re: ControlClick & Click via PostMessage not working

I tried: ControlClick2(X, Y, hwnd) { PostMessage, 0x200, 0, cX&0xFFFF | cY<<16,, ahk_id %hwnd% ; WM_MOUSEMOVE PostMessage, 0x201, 0, cX&0xFFFF | cY<<16,, ahk_id %hwnd% ; WM_LBUTTONDOWN PostMessage, 0x202, 0, cX&0xFFFF | cY<<16,, ahk_id %hwnd% ; WM_LBUTTONUP } doesn't take any effect :( EDIT: you can...
by real_Napster
26 Nov 2016, 12:06
Forum: Ask For Help
Topic: ControlClick & Click via PostMessage not working
Replies: 9
Views: 2090

Re: ControlClick & Click via PostMessage not working

is
real_Napster wrote:

Code: Select all

MouseGetPos, oldX, oldY
Send % "{Click " 90 ", " 300 "}"
MouseMove %oldX%, %oldY%
really the quickest way if controlclick and postmessage isn't working?
by real_Napster
24 Nov 2016, 14:49
Forum: Ask For Help
Topic: ControlClick & Click via PostMessage not working
Replies: 9
Views: 2090

Re: ControlClick & Click via PostMessage not working

Hi,

does realy no one has an Idea how to help me with that?
is there an alternative to speed up the Click process?
by real_Napster
22 Nov 2016, 09:06
Forum: Ask For Help
Topic: ControlClick & Click via PostMessage not working
Replies: 9
Views: 2090

ControlClick & Click via PostMessage not working

Hi there, I'm trying to send a Click to another application. I Already tried: ControlClick, x90 y300, ahk_ID %hwnd% and PostClick(hwnd, 90, 300) PostClick(hwnd, x, y) { p := y << 16 | (x & 0xffff) PostMessage, 0x201, 1, p, , ahk_id %hwnd% sleep 100 PostMessage, 0x202, 0, p, , ahk_id %hwnd% } But it ...
by real_Napster
22 Nov 2016, 07:27
Forum: Ask For Help
Topic: Gdip_BitmapFromHWND Problem with Windows 7 Basic Design
Replies: 45
Views: 6788

Re: Gdip_BitmapFromHWND Problem with Windows 7 Basic Design

thanks, thats working perfectly!

Just one more thing.
Is "DeleteDC" not needed?
Or would it be better to include that line to your script?

Code: Select all

DllCall("gdi32.dll\DeleteDC", "ptr", hDC)
by real_Napster
22 Nov 2016, 06:49
Forum: Ask For Help
Topic: Gdip_BitmapFromHWND Problem with Windows 7 Basic Design
Replies: 45
Views: 6788

Re: Gdip_BitmapFromHWND Problem with Windows 7 Basic Design

Format("0x{:06X}", hex) returns 0x0000FF instead of 0xFF0000
by real_Napster
22 Nov 2016, 05:52
Forum: Ask For Help
Topic: Gdip_BitmapFromHWND Problem with Windows 7 Basic Design
Replies: 45
Views: 6788

Re: Gdip_BitmapFromHWND Problem with Windows 7 Basic Design

This is my script: ^h:: MsgBox % GetPixelcolorFromHwnd(300, 300) return GetPixelcolorFromHwnd(x, y, hwnd := 0) { hDC := DllCall("user32.dll\GetDCEx", "Ptr", hwnd, "UInt", 0, "UInt", 1|2) pix := DllCall("gdi32.dll\GetPixel", "Ptr", hDC, "Int", x, "Int", y, "UInt") DllCall("user32.dll\ReleaseDC", "Ptr...
by real_Napster
22 Nov 2016, 05:38
Forum: Ask For Help
Topic: Gdip_BitmapFromHWND Problem with Windows 7 Basic Design
Replies: 45
Views: 6788

Re: Gdip_BitmapFromHWND Problem with Windows 7 Basic Design

that always returns "0x8E84700" (7 digits??) for me.
Don't know where this color should be from..
by real_Napster
22 Nov 2016, 05:24
Forum: Ask For Help
Topic: Gdip_BitmapFromHWND Problem with Windows 7 Basic Design
Replies: 45
Views: 6788

Re: Gdip_BitmapFromHWND Problem with Windows 7 Basic Design

I'd like to Convert the Dec var (that the gdi32.dll call returns) to a RGB Hex var.
If gdi returns 255 (red), i'd like to get "0xFF0000"

Go to advanced search