topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 8:25 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Feature request: Scroll-Lock to make Farr stay open  (Read 3701 times)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Feature request: Scroll-Lock to make Farr stay open
« on: June 21, 2008, 12:25 PM »
mouser, just following up the request made in irc: use Scroll-Lock to make Farr stay open, regardless of the default setting.

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: Feature request: Scroll-Lock to make Farr stay open
« Reply #1 on: June 21, 2008, 03:41 PM »
Could it possibly be an option instead of a done deal?


lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Feature request: Scroll-Lock to make Farr stay open
« Reply #2 on: June 22, 2008, 12:25 AM »
modified an old script by wr975 to temporarily keep Farr always-on-top but this doesn't work for the "stay open" thingy. just copy the script & add it to your Farr toolbar.

always-onTop-farrtoolbar-sh.png

; Always on Top toggle for active window - by wr975
; Source: https://www.donationcoder.com/forum/index.php?topic=6374.0
; Adapted for Farr toolbar
;
#SingleInstance force
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
 
IfWinActive, %A_Space%Find and Run Robot v2 ahk_class TMainForm
{
  WinGet, ExStyle, ExStyle, A
  If (ExStyle & 0x8)
  {
    WinSet, AlwaysOnTop, Off, A
    TrayTip, AlwaysOnTop, Disabled,, 1
  }
  Else
  {
    WinSet, AlwaysOnTop, On, A
    TrayTip, AlwaysOnTop, Enabled,, 1
  }
  Sleep, 2000
  TrayTip
}
Return