topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Wednesday November 12, 2025, 8:01 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

Recent Posts

Pages: prev1 ... 11 12 13 14 15 [16] 17 18 19 20 21 ... 38next
376
 :) Try Barnacle v0.99!

Changes:
- 20070108 - v0.99: Added support for more image types and embedded icons. Fixed a bug showing the wrong toolbar when hovering over an inactive window.

Skrommel
377
 :) Pondering over the icon dilemma, I found I couldn't load the png files of the Tango icons. But thanks to this, tinjaw, I found a much better solution for loading the icons!

Using AutoHotkeys image functions, it took me 30 minutes to accomplish what I used 3 days to do poorly in API!
Now Barnacle can use any available ICO, CUR, ANI, EXE, DLL, CPL, SCR, GIF, JPG, BMP, PNG, TIF, Exif, WMF and EMF files, and I don't really need to distribute a huge icon library!

Life is grand! Will post new version tomorrow.

Skrommel
378
 :) No, but there's much fun to be had with Office 2003!

Seriously, I am a bit unshure about the legality of the icons. I want to put them on the site so everyone can make their own toolbar, and share the ini files with the rest of us. It would really help if all had the same base icons.

:tellme: What do you think, mouser?

Skrommel
379
Post New Requests Here / Re: IDEA: "Personal Censor"
« Last post by skrommel on January 06, 2007, 05:20 AM »
 :) Proximotron should do the trick. Download from http://www.proxomitron.info

Skrommel
380
Post New Requests Here / Re: Barnacle - Add toolbars to your favorite programs
« Last post by skrommel on January 06, 2007, 01:13 AM »
 :) Great! Thanks, tinjaw!

Skrommel
381
Post New Requests Here / DONE: Barnacle - Add toolbars to your favorite programs
« Last post by skrommel on January 05, 2007, 09:18 PM »
 :) I need beta testers!

Barnacle - Add toolbars to your favorite programs .

Features:
- Barnacle is a global, programmable toolbar that fits inside any window.
- Change icons, add tooltips, left-, right- and middleclick actions.
- The actions can be keypresses, menu selections, button clicking and window actions.
- To find out more, choose Help in the tray menu.



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

It's actually a dream come true, so I post a bit early. Anyone care to test it and make an english Calc.ini and Notepad.ini? And there's lot's more icons out there: http://www.geocities...rt03/OfficeIcons.zip.

Skrommel
382
N.A.N.Y. Challenge 2007 / Re: FastNavKeys - Speed up the navigation keys
« Last post by skrommel on January 03, 2007, 03:26 PM »
 :tellme: That is very strange, as there's no difference between the code run for each key. In what program do you experience this?

Skrommel
383
N.A.N.Y. Challenge 2007 / FastNavKeys - Speed up the navigation keys
« Last post by skrommel on December 31, 2006, 07:30 PM »
 :) Too fast for your own keyboard? Now your can beat Windows' keyboard buffer!

FastNavKeys - Speed up the navigation keys (or any other keys).

Features:
- Change settings using Settings in the tray menu



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

Skrommel
384
 :) NoClose actually removes the Close line you see when rightclicking it's taskbar button. And GoneIn60s only hides the window for 1 minute before closing it.

Skrommel
385
 :tellme: How about NoClose or GoneIn60s?

Skrommel
386
Skrommel's Software / Re: Idea for cutaway
« Last post by skrommel on December 28, 2006, 05:38 AM »
 :) In the current version you click and drag to decide what part of a window to keep, and when you release the mouse, the program closes.

Skrommel
387
 :) Try GoneIn60s v1.2.

Changes:
- 20061228 - v1.2: Recovered apps reappear properly.

Skrommel
388
Finished Programs / Re: IDEA: Replacement Power Options applet
« Last post by skrommel on December 27, 2006, 06:22 PM »
 :) Pocess from http://www.beyondlogic.org/solutions/processutil/processutil.htm can set the affinity of a process.

Skrommel

Change the affinity of processes . . .

The affinity is a mask which indicates on which processors (CPUs) a process can run. This is only useful on multiprocessor systems. When the -a option is used in conjunction with a process name or PID, the utility will show the System Affinity Mask and the Process Affinity Mask. The System Affinity Mask shows how many configured processors are currently available in a system. The Process Affinity Mask indicates on what processor(s) the specified process can run on.

C:\>process -a wordpad.exe

Command Line Process Viewer/Killer/Suspender for Windows NT/2000/XP V2.01
Copyright(C) 2002-2003 [email protected]
Getting Affinity Mask for PID 1084 'wordpad.exe'
System  : 0x0001 0b00000000000000000000000000000011  [2 Installed Processor(s)]
Process : 0x0001 0b00000000000000000000000000000011

 

To set the affinity mask, simply append the binary mask after the PID/Image Name. Any leading zeros are ignored, so there is no requirement to enter the full 32 bit mask.

C:\>process -a wordpad.exe 01

Command Line Process Viewer/Killer/Suspender for Windows NT/2000/XP V2.01
Copyright(C) 2002-2003 [email protected]
Setting Affinity Mask for PID 1084 'wordpad.exe'
Affinity Mask Successfully Set to 00000000000000000000000000000001
389
 :) I didn't read the whole request, and figured you wanted to use the prosess' CPU usage, but here's an attempt.

IdleClose - Closes programs that's not been activated for x minutes

It's a bit rough around the edges, as it tries to close the same program several times if it has several windows, and a few other things, but I'll correct it when I write a GUI for it tomorrow.

It is set to close any windows not accessed within 1 minute, but it asks first, and if you say No, the window is ignored in the future. You can change the list of ignored programs, and also kill programs instead of just trying to close them.

Skrommel

;IdleClose.ahk
; Closes programs that's not been activated for x minutes
;Skrommel @2006
...
Spoiler
;IdleClose.ahk
; Closes programs that's not been activated for x minutes
;Skrommel @2006

idletime=0001                       ;HHMM
letlive=Explorer.exe,Progman.exe    ;<programname>,<programname>
kill=0                              ;0=close  1=kill
confirm=1                           ;0=ask before closing  1=don't ask


#SingleInstance,Force
#NoEnv
SetWinDelay,0

applicationname=IdleClose

ids=
idletime=%idletime%00

WinGet,list,List
Loop,% list
{
  id:=list%A_Index%
  ids=%ids%%id%,
  %id%:=A_Now
}

SetTimer,KILL,10000
SetTimer,CLEAN,60000

activeid:=WinExist("A")
Loop
{
  WinWaitNotActive,ahk_id %activeid%
  activeid:=WinExist("A")
  %activeid%:=A_Now
  IfNotInString,ids,%activeid%`,
    ids=%ids%%activeid%,
}


KILL:
%activeid%:=A_Now
WinGet,list,List
Loop,% list
{
  id:=list%A_Index%
  time:=%id%
  If (time+idletime<A_Now)
  {
    WinGet,pid,PID,ahk_id %id%
    path:=GetModuleFileNameEx(pid)
    SplitPath,path,name
    If name In %letlive%
      Continue
    If confirm=1
    {
      MsgBox,4,%applicationname%,Really close %name%?
      IfMsgBox,No
      {
        letlive=%letlive%,%name%
        Continue
      }
    }
    If kill=1
      Process,Close,%pid%
    Else
      WinClose,ahk_id %id%
  }
}
Return


CLEAN:
newids=
Loop,Parse,ids,`,

  If A_LoopField=
    Continue
  IfWinExist,ahk_id %A_LoopField%
    newids=%newids%%A_LoopField%,
  Else
    %A_LoopField%=
}
ids=%newids%
Return


GetModuleFileNameEx( p_pid ) ;by shimanov at http://www.autohotke...?t=4182&start=15
{
   if A_OSVersion in WIN_95,WIN_98,WIN_ME
   {
      MsgBox, This Windows version (%A_OSVersion%) is not supported.
      return
   }

   /*
      #define PROCESS_VM_READ           (0x0010)
      #define PROCESS_QUERY_INFORMATION (0x0400)
   */
   h_process := DllCall( "OpenProcess", "uint", 0x10|0x400, "int", false, "uint", p_pid )
   if ( ErrorLevel or h_process = 0 )
   {
      MsgBox, [OpenProcess] failed
      return
   }
   
   name_size = 255
   VarSetCapacity( name, name_size )
   
   result := DllCall( "psapi.dll\GetModuleFileNameExA", "uint", h_process, "uint", 0, "str", name, "uint", name_size )
   if ( ErrorLevel or result = 0 )
      MsgBox, [GetModuleFileNameExA] failed
   
   DllCall( "CloseHandle", h_process )
   
   return, name
}

390
 :) Great!

But I see in your request that you wanted a hotkey activation, and this makes sense, as FindFocus is quite heavy on the CPU.

Skrommel
391
Post New Requests Here / Re: IDEA: software that asks all x minutes for an action
« Last post by skrommel on December 26, 2006, 01:28 PM »
 :huh: I didn't understand that. Please say again, and louder.

Skrommel
392
Post New Requests Here / Re: IDEA: Create shortcuts from a list
« Last post by skrommel on December 26, 2006, 01:27 PM »
 :) Try it once more!

And delete the TS.ini-file before running.

Skrommel
393
Finished Programs / Re: IDEA: Replacement Power Options applet
« Last post by skrommel on December 26, 2006, 11:57 AM »
 :) Carol, try LowToSleep v1.0.

I've found typo in the settings file, causing the CPU load to be checked too fast.

Skrommel
394
Post New Requests Here / Re: IDEA: an indication that "start-up" is finished
« Last post by skrommel on December 26, 2006, 11:46 AM »
 :) Try this one...

IdleRun - Run a program when the CPU is idle.

Features:
- Run a program or show a message
- Change settings using Settings in the tray menu
- Shows CPU usage in the tray

To show when Windows is finished loading, just place a shortcut to it in your startup folder!



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

Some have reported problems with dual core processors, please let me know!

Skrommel
395
 :) Try this one...

FindFocus - Find the focused control.

Features:
- Shows a flashing icon next to the focused control
- Not perfect, but it detects most of them

Very handy for mouseless navigation.



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

Skrommel
396
Post New Requests Here / Re: Little help with this code
« Last post by skrommel on December 25, 2006, 03:00 AM »
 :) Try removing the "s in the Loop line:

Loop, %OutputVar%\*.mp3, 0, 1

Skrommel
397
Post New Requests Here / Re: Little help with this code
« Last post by skrommel on December 24, 2006, 06:17 PM »
 :) To make a button do anything, you have to add a G<procedure_to_go_to> to the options.

Gui,Add,Button,GJUMPHERE,Click Me!
Gui,Show,w200 h200
Return

JUMPHERE:
MsgBox,Clicked!
Return

Skrommel
398
 :) There's a Microsoft Windows setting that controls the width of the focus rectangle, but it is of course ignored in Microsoft Internet Explorer...  :D

It is not a very good solution anyway, 'cause it expands inwards, making things harder to read.

There is also an option in Internet Explorer to Move System Caret with Focus/Selection Changes, but this works on only a few controls.


I have found another solution though, visually searching for the selection rectangle, and it works very well for white backgrounds. So if the focus rectangle is either black or white, all is OK, if not...

Skrommel
399
Post New Requests Here / Re: IDEA: Desktop Teleporter
« Last post by skrommel on December 24, 2006, 03:31 PM »
 :tellme: MoveOut is set to start disabled, you can change this in the setting, but I've decided to add an extra confirmation dialog when starting MoveOut in an enabled state. Try v.1.1.

Skrommel
400
 :huh: What is a selection box?

Skrommel
Pages: prev1 ... 11 12 13 14 15 [16] 17 18 19 20 21 ... 38next