topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Monday November 10, 2025, 2:21 pm
  • 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

Recent Posts

Pages: prev1 ... 33 34 35 36 37 [38]
926
Please let me put the settings in an ini-file and make a options window befor you compile.

Skrommel
927
 :) I've just improved on my first draft by using an image when dimming, much like Ghost-It and GP. It also uses AlwaysOnTop instead of Region for a cleaner look.

Ghoster - Ghoster creates a transparent Gui to cover the screen, loads an image and keeps punching holes in it to make the mouse work.



You'll find the downloads and more info at Skrommel Software.

Edit: I've moved the settings to an ini-file and added a tray menu.

Skrommel
928
Unfinished Requests / DONEISH: Get current directory
« Last post by skrommel on July 18, 2005, 12:54 PM »
 :) Here's a quick hack to solve the problem. It works in Explorer, but I don't know about Blakcbox.

OpenOther
Select files or folders in Explorer, press Ctrl-Enter to open the files in the programs you define below using extensions.

Download and install AutoHotKey from www.autohotkey.com. Save the script as OpenOther.ahk and doubleclick to run.

Skrommel


;OpenOther
;Select files or folders in Explorer, press Ctrl-Enter
; to open the files in the programs you define below using extensions.
;Skrommel @2005


;Extensions
;extension=command          Place a ` before commas
directory=cmd /k cd        ;Program to open directories
unknown=                   ;Program to open unknown or undefined extensions
empty=Notepad              ;Program to open files without extensions
txt=Write                  ;Program to open .txt-files
wri=Write
dll=Notepad
                           ;Add your own extensions here


;Program
^Enter::                   ;Hotkey Ctrl-Enter
Clipboard=
Send,^c
ClipWait,1
Loop,Parse,Clipboard,`n,`r
{
  SplitPath,A_LoopField,name,dir,ext,name_no_ext,drive
  FileGetAttrib,attrib,%A_LoopField%
  StringGetPos,dir,attrib,D
  If dir=0
    Run,%directory% %A_LoopField%
  Else
  {
    If ext=
      Run,%empty% %A_LoopField%
    Else
    {
      command:=%ext%
      If command<>
        Run,%command% %A_LoopField%
      Else
        If unknown<>
          Run,%unknown% %A_LoopField%
    }
  }
}
Return
929
Finished Programs / Re: DONE - IDEA: timed alt+tab through active windows
« Last post by skrommel on July 18, 2005, 09:15 AM »
:) Feel free to do as you please.

If you want compiled scripts, AutoHotKey can do that, too. There's a few functions in AutoHotKey that's not in AutoIt.

Skrommel
930
Finished Programs / DONEISH: Capslock reverses case of selected text
« Last post by skrommel on July 17, 2005, 09:11 PM »
 :) Here's a brute force solution to the caps lock problem: Play a sound while caps lock is down.

Download and install AutoHotKey from www.autohotkey.com. Save the script as CapsSound.ahk and doubleclick to run.


;CapsSound
;Plays a sound while caps lock is down

~Capslock::
START:
GetKeyState,capslock,CapsLock,T
If capslock=U
  Return
SoundPlay,%SYSTEMROOT%\Media\ding.wav,Wait
Goto,START


Another, more gentle version only plays a sound once when the caps lock is turned on:

;CapsSoundOnce
;Plays a sound when caps lock is turned on

~Capslock::
GetKeyState,capslock,CapsLock,T
If capslock=D
  SoundPlay,%SYSTEMROOT%\Media\ding.wav,Wait
Return
931
You need the latest version of AutoHotKey from www.autohotkey.com. Sorry about not explaing that, just so used to using it...

Skrommel
932
Finished Programs / DONE: timed alt+tab through active windows
« Last post by skrommel on July 17, 2005, 08:10 PM »
 :) Here's a quick AutoHotKey-script to Alt-Esc through the active windows with a user defined pause. Escape quits the program.

Edit: Download and install AutoHotKey from www.autohotkey.com. Save the script as TimeToChange.ahk and doubleclick to run.

Skrommel


;TimeToChange
;Timed switching between active windows
;Skrommel 2005

InputBox, pause, TimeToChange, TimeToChange switches between windows.`n`nPress Escape to quit.`n`nInput time in seconds between window switch:
If pause<1
  pause=1
LOOP:
Send,{LAlt Down}{Esc}{LAlt Up}
Sleep,%pause%000
Goto,LOOP

Esc::
ExitApp
933
 :) Here's a quick hack using AutoHotkey from www.autohotkey.com.

DimInactive creates a window, sets it's transparancy and changes it's region to surround the active window, thus dimming everything else.

Edit: Download and install AutoHotKey. Save the script as DimInactive.ahk and doubleclick to run.

Skrommel

;DimInactive
;Dims inactive windows
;Skrommel 2005

Gui,+Owner +AlwaysOnTop -Disabled -SysMenu -Caption
Gui, Color, 000000
Gui,Add,Picture,X0 Y0 W%A_ScreenWidth% H%A_ScreenHeight% gCLICK,
Gui,Show,NoActivate X0 Y0 W%A_ScreenWidth% H%A_ScreenHeight%,WINDOW
WinSet,Transparent,100,WINDOW

LOOP:
Sleep,100
WinGetActiveStats,wint,winw,winh,winx,winy
winw+=winx
winh+=winy
If winx<0
  winx=0
If winy<0
  winy=0
If wint=
{
  winx=0
  winy=0
  winw=%A_ScreenWidth%
  winh=%A_ScreenHeight%
}
WinSet,Region,0-0 %A_ScreenWidth%-0 %A_ScreenWidth%-%A_ScreenHeight% 0-%A_ScreenHeight% 0-0  %winx%-%winy% %winw%-%winy% %winw%-%winh% %winx%-%winh% %winx%-%winy%,WINDOW
WinSet,Top,,WINDOW  ; Rem this line to keep the task bar visible
Goto,LOOP

CLICK:
WinSet,Bottom,,WINDOW
CoordMode,Mouse,Screen
MouseGetPos,mousex,mousey,mousewin
MouseClick,Left,%mousex%,%mousey%
MouseClick,Left,%mousex%,%mousey%
WinSet,AlwaysOnTop,On,WINDOW
Return

Pages: prev1 ... 33 34 35 36 37 [38]