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, 3:55 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 ... 7 8 9 10 11 [12] 13 14 15 16 17 ... 38next
276
 :) You have to ResHack AutoHotkeySC.bin.

Skrommel
277
Post New Requests Here / Re: Screamer Radio fontend - ScreamerMenu
« Last post by skrommel on April 27, 2007, 08:48 AM »
 :) Just added hotkeys! Try v0.96.

Press Ctrl+1 through Ctrl+0 to switch between your top 10 favorites.

Skrommel
278
Post New Requests Here / Re: Idea: A directory box
« Last post by skrommel on April 26, 2007, 03:53 PM »
 :) How about Microsoft Windows XP?

If you drag a folder from your desktop to one of the edges of the screen, it creates a dockable Explorer window. You can also detach it and have it floating freely.

Skrommel
279
 :) Very nice, App103! Here's a more compact version of your script.

#NoEnv
#SingleInstance,Force
SetBatchLines,-1

Loop,% Asc("Z")-Asc("A")+1
{
  drive:=Chr(Asc("A")+A_Index-1)
  Hotkey,RCtrl & %drive%,OPEN
}
Return

OPEN:
StringTrimLeft,drive,A_ThisHotkey,8
IfNotExist, %drive%:\
  TrayTip,,You do not have an %drive%: drive
Else
{
  TrayTip,,Exploring the %drive%: drive
  Run,Explorer.exe /e`,%drive%:\
}
Return
280
Post New Requests Here / Re: Audio output device manager
« Last post by skrommel on April 25, 2007, 01:31 AM »
 :) But you would still have to restart the already running programs, wouldn't you? What is needed is a virtual soundcard.

Skrommel
281
Post New Requests Here / Re: Screamer Radio fontend - ScreamerMenu
« Last post by skrommel on April 24, 2007, 06:12 PM »
 :) Try Screamer v0.95!

- 20070422 - v0.95: Added scheduling, put on top when Screamer is active.

@skwire: Hotkeys sounds nice.

Skrommel
282
Post New Requests Here / Re: IDEA: Synch Folders NOT files
« Last post by skrommel on April 23, 2007, 05:09 AM »
 :) Press Win-R, enter CMD /K XCOPY <source> <target> /E /T and press Enter (replace the <source> and <target> parameters with something like C:\ or D:\Folders)

Or add the command to a AutoHotkey script:

;FolderCopy.ahk
Run,CMD /K XCOPY <source> <target> /E /T

Skrommel
283
 :) Try adding /e,<path>.

#c:Run,Explorer.exe /e,C:\
#d:Run,Explorer.exe /e,D:\
#e:Run,Explorer.exe /e,E:\

Skrommel
284
Post New Requests Here / Re: IDEA: Synch Folders NOT files
« Last post by skrommel on April 22, 2007, 02:28 PM »
 :) Try this "DOS" command:

XCOPY <source> <target> /E /T
Skrommel
285
Post New Requests Here / Re: Screamer Radio fontend - ScreamerMenu
« Last post by skrommel on April 21, 2007, 05:20 PM »
 :) Try ScreamerMenu v.91!

Changes:
- 20070421 - v0.91: Better integration with Screamer, more listsviews, now closes alert dialogs.

Skrommel
286
Post New Requests Here / Screamer Radio frontend - ScreamerMenu
« Last post by skrommel on April 19, 2007, 10:16 PM »
:) Do you listen to Internet radio? Are you using Screamer Radio?

ScreamerMenu - Get easy access to your Screamer Radio stations.

Features:
- List all stations in a simple listview.
- Filter by a part of a station name or category.



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

Skrommel
287
 :) ShiftOff anchor corrected. Thanks, Ampa! And for spreading the word on LifeHacker!

Skrommel
288
 :) @cracksloth: What I have made is tabs for proper MDI windows, but I'm thinking of adding tabs for menu items instead, as most MDI apps have a Window menu listing the MDIs. This could also be used for a lot of other apps.

There already exist programs for collecting windows together, like Jedi Window Dock.

Skrommel
289
Post New Requests Here / Re: Idea: Help with small simple program
« Last post by skrommel on April 18, 2007, 06:19 AM »
 :tellme: I don't understand quite what you're looking for, but here's an AutoHotkey script to get you started.

Skrommel

;Search.ahk

#NoEnv
#SingleInstance,Force

Gui,Add,Edit,vfile x0 w200
Gui,Add,Button,gBROWSE x+5 w75,Browse...
Gui,Add,Edit,vsearch x0 w200
Gui,Add,Button,gSEARCH Default x+5 w75,Search
Gui,Add,Edit,vfind -Wrap -WantReturn -WantTab x0 w275 h275
Gui,Show
Return


BROWSE:
Gui,+OwnDialogs
FileSelectFile,filename,3,,Select a file, Text Documents (*.txt; *.xml; *.csv)
If filename=
  Return
GuiControl,,file,%filename%
Return


SEARCH:
Gui,Submit,NoHide
IfNotExist,%file%
{
  MsgBox,%file% doesn't exist!
  Return
}

text=
found=0
Loop,read,%file%
{
  If found=0
  IfInString,A_LoopReadLine,%search%
    found=1
  If found=1
    text=%text%%A_LoopReadLine%`n
}
GuiControl,,find,%text%
Return
290
Post New Requests Here / Re: IDEA: Treo-like "Alt" key for Windows
« Last post by skrommel on April 18, 2007, 01:51 AM »
 :) I really should make help files, 'cause what you want is already possible.

Any AutoHotkey Send command can be used in Accents. Look at the example below. So to send a regular !, you actually have to put in `!, or else it is entepreted as an Alt.


[Settings]
delay=1

[1]
key=a
1={Alt Down}{NumPad1}{NumPad2}{NumPad3}{Alt Up}
2=ä
3=â
4=à
5=á
6=a


Here's the complete list of keys, stolen from AutoHotkey's help file:

List of Keys, Mouse Buttons, and Joystick Controls

--------------------------------------------------------------------------------

Mouse (mouse hotkeys require Windows NT/2000/XP or later)
LButton - the left mouse button
RButton - the right mouse button
MButton - the middle or wheel mouse button

WheelDown - this is equivalent to rotating the mouse wheel down (toward you)
WheelUp - the opposite of the above. When WheelDown/Up are used as hotkeys, A_EventInfo contains the number of turns/notches.

Supported only in Windows 2000/XP or later:
XButton1 - a button that appears only on certain mice
XButton2 - a button that appears only on certain mice

Keyboard
Note: The names of the letter and number keys are the same as that single letter or digit. For example: b is the "b" key and 5 is the "5" key.

Space - the spacebar
Tab
Enter (or Return)
Escape (or Esc)
Backspace (or BS)

Delete (or Del)
Insert (or Ins)
Home
End
PgUp
PgDn
Up
Down
Left
Right

ScrollLock
CapsLock
NumLock

NumpadDiv - the slash key
NumpadMult - the asterisk key
NumpadAdd - the plus key
NumpadSub - the minus key
NumpadEnter - the Enter key

The following keys are used when Numlock is OFF:
NumpadDel
NumpadIns
NumpadClear - same physical key as Numpad5 on most keyboards
NumpadUp
NumpadDown
NumpadLeft
NumpadRight
NumpadHome
NumpadEnd
NumpadPgUp
NumpadPgDn

The following keys are used when Numlock is ON:
Numpad0
Numpad1
Numpad2
Numpad3
Numpad4
Numpad5
Numpad6
Numpad7
Numpad8
Numpad9
NumpadDot - the decimal point (period) key

F1 through F24 - The 12 or more function keys at the top of most keyboards.

AppsKey - this is the key that invokes the right-click context menu.

LWin - the left windows key
RWin - the right windows key. Note: unlike Control/Alt/Shift, there is no generic/neutral "Win" key because the OS does not support it.
Control (or Ctrl)
Alt
Shift
Note: The hotkeys Shift::, Alt::, and Control:: fire upon release of the key unless they have the tilde prefix such as ~Alt::. By contrast, a specific left or right hotkey such as LAlt:: fires upon press-down.

Note: For the most part, these next 6 keys are not supported by Windows 95/98/Me. Use the above instead:
LControl (or LCtrl) - the left control key
RControl (or RCtrl) - the right control key
LShift
RShift
LAlt - the left Alt key
RAlt - Note: If your keyboard layout has AltGr instead of RAlt, you can probably use it as a hotkey prefix via <^>! as described here. In addition, "LControl & RAlt::" would make AltGr itself into a hotkey.

PrintScreen
CtrlBreak
Pause
Break -- Since this is synonymous with Pause, use ^CtrlBreak in hotkeys instead of ^Pause or ^Break.

Help - this probably doesn't exist on most keyboards. It's usually not the same as F1.
Sleep - note that the sleep key on some keyboards might not work with this.

The following exist only on Multimedia or Internet keyboards that have extra buttons or keys:
Browser_Back
Browser_Forward
Browser_Refresh
Browser_Stop
Browser_Search
Browser_Favorites
Browser_Home
Volume_Mute
Volume_Down
Volume_Up
Media_Next
Media_Prev
Media_Stop
Media_Play_Pause
Launch_Mail
Launch_Media
Launch_App1
Launch_App2

SCnnn (where nnn is the scan code of a key) - Recognizes unusual keys not mentioned above. See Special Keys for details.

VKnn (where nn is the hexadecimal virtual key code of a key) - Although this rarely-used method is supported in all versions, only in v1.0.38.02+ does it prevent certain types of hotkeys from requiring the keyboard hook. For example, the following hotkey does not use the keyboard hook, but as a side-effect it is triggered by pressing either Home or NumpadHome: ^VK24::MsgBox You pressed Home or NumpadHome while holding down Control.

Joystick
Joy1 through Joy32: The buttons of the joystick. To help determine the button numbers for your joystick, use this test script. Note that hotkey prefix symbols such as ^ (control) and + (shift) are not supported (though GetKeyState can be used as a substitute). Also note that the pressing of joystick buttons always "passes through" to the active window if that window is designed to detect the pressing of joystick buttons.

Although the following Joystick control names cannot be used as hotkeys, they can be used with GetKeyState:
JoyX, JoyY, and JoyZ: The X (horizontal), Y (vertical), and Z (altitude/depth) axes of the joystick.
JoyR: The rudder or 4th axis of the joystick.
JoyU and JoyV: The 5th and 6th axes of the joystick.
JoyPOV: The point-of-view (hat) control.
JoyName: The name of the joystick or its driver.
JoyButtons: The number of buttons supported by the joystick (not always accurate).
JoyAxes: The number of axes supported by the joystick.
JoyInfo: Provides a string consisting of zero or more of the following letters to indicate the joystick's capabilities: Z (has Z axis), R (has R axis), U (has U axis), V (has V axis), P (has POV control), D (the POV control has a limited number of discrete/distinct settings), C (the POV control is continous/fine). Example string: ZRUVPD

Multiple Joysticks: If the computer has more than one and you want to use one beyond the first, include the joystick number in front of the control name. For example, 2joy1 is the second joystick's first button.

Note: If you have trouble getting a script to recognize your joystick, one person reported needing to specify a joystick number other than 1 even though only a single joystick was present. It is unclear how this situation arises or whether it is normal, but experimenting with the joystick number in the joystick test script can help determine if this applies to your system.

See Also:
Joystick remapping: methods of sending keystrokes and mouse clicks with a joystick.
Joystick-To-Mouse script: using a joystick as a mouse.

Hand-held Remote Controls
Respond to signals from hand-held remote controls via the WinLIRC client script.

Special Keys
If your keyboard or mouse has a key not listed above, you might still be able to make it a hotkey by using the following steps (requires Windows XP/2000/NT or later):

Ensure that at least one script is running that is using the keyboard hook. You can tell if a script has the keyboard hook by opening its main window and selecting "View->Key history" from the menu bar.
Double-click that script's tray icon to open its main window.
Press one of the "mystery keys" on your keyboard.
Select the menu item "View->Key history"
Scroll down to the bottom of the page. Somewhere near the bottom are the key-down and key-up events for your key. NOTE: Some keys do not generate events and thus will not be visible here. If this is the case, you cannot directly make that particular key a hotkey because your keyboard driver or hardware handles it at a level too low for AutoHotkey to access. For possible solutions, see further below.
If your key is detectible, make a note of the 3-digit hexadecimal value in the second column of the list (e.g. 159).
To define this key as a hotkey, follow this example:
SC159:: ; Replace 159 with your key's value.
MsgBox, %A_ThisHotKey% was pressed.
returnReverse direction: To remap some other key to become a "mystery key", follow this example:

; Replace 159 with the value discovered above. Replace FF (if needed) with the
; key's virtual key, which can be discovered in the first column of the Key History screen.
#c::Send {vkFFsc159}


Skrommel
291
Post New Requests Here / Re: CAPSLOCK TIMER
« Last post by skrommel on April 17, 2007, 04:39 PM »
 :) Try CAPshift v1.7!

- 2007.04.17 - v1.7: Added automatic CapsLock off when idle for x seconds.

Remember to delete your existing CAPshift.ini before running!

Skrommel
292
 :) Using AutoHotkey you can do this, but not in a generic way, cause there's no unified way of getting the data out of different programs and controls.

Here's a sample using ControlGetText. Use AutoHotekey's WinSpy to get the names of the windows and controls you want to access, and fill them into the script. If you can't make it work, please post some program info, windows titles and control names and types here, and I'll try it out.

It would also be easy to implement keyboard or mouse actions before and after getting and sending data, or check if the data has changed, etc.

;InControl.ahk

#NoEnv
interval=1000  ;time in ms

sourcewindow=Calculator
sourcecontrol=Edit1

targetwindow=Untitled - Notepad
targetcontrol=Edit1

Loop
{
  Sleep,%interval%
  ControlGetText,data,%sourcecontrol%,%sourcewindow%
  ControlSetText,%targetcontrol%,%data%,%targetwindow%
}
293
 :) Just download and install AutoHotkey from www.autohotkey.com.

Copy and paste the above script to Notepad, and save it as WinWait.ahk (to make shure it is saved with the proper suffix, enclose the name in "s, like in "WinWait.ahk", in Notepad's save dialog).

Just doubleclick on the saved file to run it. Welcome to the wonderful new world of AutoHotkey!

Skrommel
294
 :) @AHMalik: CapsLock v1.6 also slows down F1, Insert, NumLock and ScrollLock.

@glennd: A proper sentence case is not on my schedule, but if anyone collected the nouns... A simple sentence case is doable, though, just check for a periods.

Skrommel
295
 :) Using AutoHotkey you could try this script:

;WinMove.ahk
WinWait, title_of_yahoo_messenger
Sleep, 1000
WinMove, title_of_yahoo_messenger, , 100, 100

It waits for yahoo messenger to appear (change it to match the windows' title),
waits a second for it to settle down (you may have to wait longer),
moves the window to 100x100.

Skrommel
296
Skrommel's Software / Re: Capshift - Renaming files
« Last post by skrommel on April 07, 2007, 05:03 PM »
 :) Try CAPshift v1.6!

Skrommel
297
Skrommel's Software / Re: Capshift - Renaming files
« Last post by skrommel on April 07, 2007, 04:43 PM »
 :tellme: That's how Explorer handles losing focus, I guess. I could make a user defined macro to send before copying, and before pasting, if Explorer/Progman/WorkerW is the active window...

Skrommel
298
Skrommel's Software / Re: TaskLog v1.1 - Small bug and an improvement or 2...
« Last post by skrommel on April 07, 2007, 04:28 PM »
 :) Try TaskLog v1.2.

Skrommel
299
Skrommel's Software / Re: LabelControl
« Last post by skrommel on April 07, 2007, 03:47 PM »
 :) Not yet, anyway. I've found no information on how to access Internet Explorer's internals.

Skrommel
300
 :) Just automated the making of the alphabetizied list, so hopefully there'll be a few less errors!

Skrommel
Pages: prev1 ... 7 8 9 10 11 [12] 13 14 15 16 17 ... 38next