Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在某些应用的输入框中报错【Messenger】 #23

Open
xjuunn opened this issue Feb 25, 2024 · 0 comments
Open

在某些应用的输入框中报错【Messenger】 #23

xjuunn opened this issue Feb 25, 2024 · 0 comments

Comments

@xjuunn
Copy link

xjuunn commented Feb 25, 2024

image

Error: Expected an Integer but got a Float.

Specifically: 591.0

▶ 5509: Return DllCall("User32.dll\MonitorFromPoint", "Int64", (X & 0xFFFFFFFF) | (Y << 32), "UInt", Flag, "Ptr")

Call stack:
#1?00000001401DC3F0#238528.AHK (5509) : [MDMF_FromPoint] Return DllCall("User32.dll\MonitorFromPoint", "Int64", (X & 0xFFFFFFFF) | (Y << 32), "UInt", Flag, "Ptr")
#1?00000001401DC3F0#238528.AHK (5160) : [BeautifulToolTip.Prototype._CalculateDisplayPosition] DisplayX := (X="") ? MouseX : X , DisplayY := (Y="") ? MouseY : Y , hMonitor := MDMF_FromPoint(&DisplayX, &DisplayY, MONITOR_DEFAULTTONEAREST:=2) , TargetLeft := this.Monitors[hMonitor].Left , TargetTop := this.Monitors[hMonitor].Top , TargetRight := this.Monitors[hMonitor].Right , TargetBottom := this.Monitors[hMonitor].Bottom , TargetWidth := TargetRight-TargetLeft , TargetHeight := TargetBottom-TargetTop , Options.DPIScale := this.Monitors[hMonitor].DPIScale
#1?00000001401DC3F0#238528.AHK (4867) : [BeautifulToolTip.Prototype.ToolTip] TargetSize:=this._CalculateDisplayPosition(&X, &Y, "", "", O, GetTargetSize:=1) , MaxTextWidth:=TargetSize.W - O.Margin2 - O.Border
2 , MaxTextHeight:=(TargetSize.H
90)//100 - O.Margin2 - O.Border2 , O.Width:=MaxTextWidth, O.Height:=MaxTextHeight , TextArea:=StrSplit(this._TextToGraphics(this["G" WhichToolTip], Text, O, Measure:=1), "|") , TextWidth:=Min(Ceil(TextArea[3]), MaxTextWidth) , TextHeight:=Min(Ceil(TextArea[4]), MaxTextHeight) , RectWidth:=TextWidth+O.Margin2 , RectHeight:=TextHeight+O.Margin2 , RectWithBorderWidth:=RectWidth+O.Border2 , RectWithBorderHeight:=RectHeight+O.Border2 , R:=(O.Rounded>Min(RectWidth, RectHeight)//2) ? Min(RectWidth, RectHeight)//2 : O.Rounded
*#1?00000001401DC3F0#238528.AHK (4770) : [btt] Return BTT.ToolTip(Text, X, Y, WhichToolTip,BulitInStyleOrStyles,BulitInOptionOrOptions)
*#1?00000001401DC3F0#238528.AHK (6075) : [fanyi] btt('[' g_current_api ']',g_cursor_x, g_cursor_y - 45,,OwnzztooltipStyle1,{Transparent:180,DistanceBetweenMouseXAndToolTip:-100,DistanceBetweenMouseYAndToolTip:-20})
*#1?00000001401DC3F0#238528.AHK (5925) : [] Return fanyi()

!y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant