Messages - skrommel [ switch to compact view ]

Pages: prev1 ... 11 12 13 14 15 [16] 17 18 19 20 21 ... 187next
76
 :) I just updated GreenOSD above!

Removed a few bugs and added options to place the status anywhere on the screen.

Skrommel

77
 :) Try changing the MONITOFF procedure:

Skrommel

MONITOFF:
IfWinActive,ahk_class eHome Render Window
  SendMessage,0x112,0xF170,2,,Program Manager
Return

78
 :) Try MoveToDate!

Moves files from the desktop to a folder named the current date.

Just edit the first lines to change the source and target folders, what files to ignore and if it should move when the program starts or ends.

Skrommel


;MoveToDate.ahk
; Moves files from the desktop to a folder named the current date
;Skrommel @ 2009

from=%A_Desktop%          ;Where to look for files
to=%A_Desktop%            ;Where to move the files
name=Moved                ;Name of the base folder
ignore=%name%,Notepad2    ;Comma separated list of file names to ignore, no unnessesary spaces!
moveonexit=0              ;0=move instantly  1=move when the program ends

#SingleInstance,Force
#NoEnv
#Persistent,On

applicationname=MoveToDate

If moveonexit=0
  Goto,MOVE
OnExit,MOVE
Return


MOVE:
date:=A_YYYY "-" A_MM "-" A_DD " " A_Hour "-" A_Min
FileCreateDir,% to "\" name "\" date
Loop,% from "\*.*",1,0
{
  TrayTip,%applicationname%,% "Moving`n " A_LoopFileLongPath "`nto`n " to "\" name "\" date "\" A_LoopFileName
  If A_LoopFileName Contains %ignore%
    Continue
  IfInString,A_LoopFileAttrib,D
    FileMoveDir,%A_LoopFileLongPath%,% to "\" name "\" date "\" A_LoopFileName
  Else
    FileMove,%A_LoopFileLongPath%,% to "\" name "\" date "\" A_LoopFileName
}
ExitApp

79
 :) Try Percentage!

Calculates how far a progressbar has moved, in percentage .
Press F1, then click at the start, inside and at the end of the progressbar.

Skrommel

;Percentage.ahk
; Calculates how far a progressbar has moved, in percentage
; Press F1, then click at the start, inside and at the end of the progressbar
;Skrommel @ 2009

#SingleInstance,Force
#NoEnv
CoordMode,Mouse,Screen
CoordMode,ToolTip,Screen
Return

F1::
tip=
(
To calculate the percentage, click
  1 - at the start
  2 - inside
  3 - at the end
of the progress bar
)
ToolTip,% tip
Hotkey,~LButton,LBUTTON,On
counter=0
Return


LBUTTON:
counter+=1
MouseGetPos,mx%counter%,my%counter%
ToolTip,%counter%
If counter=3
{
  Sleep,1000
  ToolTip,% Floor((mx2-mx1)/(mx3-mx1)*100) "%",% mx2,% my2
  Hotkey,~LButton,LBUTTON,Off
}
Return

80
Post New Requests Here / Re: IDEA: program menu printing
« on: April 10, 2009, 04:21 AM »
 :-[ You guys...

Skrommel

Pages: prev1 ... 11 12 13 14 15 [16] 17 18 19 20 21 ... 187next
Go to full version