; Ready-to-use AHK v1.1 script for IntelliJ
F1::
TargetLib := "OESIntf3_8" ; The library you want to find
; 1. Ensure the window is active
IfWinActive, Project Structure
{
; 2. Click once in the list area to ensure focus
; Adjust these coordinates to click somewhere inside your dependencies list
Click, 400, 300
Sleep, 100
; 3. Use IntelliJ Speed Search: Just type the name
Send, %TargetLib%
Sleep, 500 ; Wait for highlight to move
; 4. Move it to the top
; We loop 100 times to ensure it hits the ceiling
Loop, 100
{
Send, !{Up} ; Alt + Up Arrow
Sleep, 30 ; Small delay to allow UI to process
}
MsgBox, Library %TargetLib% moved to top!
}
else
{
MsgBox, Please open the Project Structure > Dependencies window first.
}
return
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)