Search found 13 matches
- 28 Jun 2016, 23:31
- Forum: Ask for Help (v1)
- Topic: Get handle after running a program
- Replies: 2
- Views: 1950
Get handle after running a program
How do I get the handle of a program I started with run. I don't wan't to rely on hardcoding a title string, preferably I'd do something like: whandl := run, someprog.exe I'd also like it to work if the exe was already running. I.e. if I started the program manually and then run the script, the run ...
- 24 Jun 2016, 05:24
- Forum: Ask for Help (v1)
- Topic: Detecting current keyboard layout
- Replies: 0
- Views: 761
Detecting current keyboard layout
How do I check the current keyboard layout? I want certain hotkeys only to work when I am using US-international, others when using US. I tried keyboardLayout := DllCall("user32.dll\GetKeyboardLayout" , "uint", idThread, "uint") but that causes the script to crash. I'm using windows 7 64bit with ahk...
- 19 Jan 2016, 20:59
- Forum: Ask for Help (v1)
- Topic: copy files to another folder and rename it
- Replies: 2
- Views: 1944
Re: copy files to another folder and rename it
have you considered how you normally do it? i.e. copy (ctrl + c), create folder (ctrl + shift + n), paste (ctrl + v)...
- 19 Jan 2016, 20:55
- Forum: Ask for Help (v1)
- Topic: new script maker here key interval question
- Replies: 2
- Views: 1164
Re: new script maker here key interval question
Code: Select all
$Space::
while GetKeyState("Space", "P")
{
send, {Space}
}
return
Code: Select all
works for me.
- 19 Jan 2016, 02:11
- Forum: About This Community
- Topic: Solved Button proposal Topic is solved
- Replies: 47
- Views: 29494
Re: Solved Button proposal Topic is solved
I think I'd rather have more sets of eyes on a problem and lower throughput. Often the quality of 'solutions' is raised by important comments. We don't want these people to skip the topic just because one particular person (the OP) found a reply useful. Often google leads me to forum posts that end ...
- 19 Jan 2016, 02:04
- Forum: About This Community
- Topic: Does we need Announcements threads in every section?
- Replies: 7
- Views: 7107
Re: Does we need Announcements threads in every section?
Maybe they should have a predetermined deannounce time so they don't become stale. If they are still pertinent after the period just re-announce them.
- 18 Jan 2016, 22:40
- Forum: Scripts and Functions (v1)
- Topic: [Function] FGP - FileGetProperties
- Replies: 27
- Views: 24891
Re: [Function] FGP - FileGetProperties
can these properties be used to differentiate a compressed (e.g. zip/rar) from a 'normal' file (e.g. txt, jpeg, etc). The compressed field from the default "FileGetAttrib" is unreliable.
- 18 Jan 2016, 03:45
- Forum: Scripts and Functions (v1)
- Topic: unzip with 7zip
- Replies: 5
- Views: 3699
Re: unzip with 7zip
Update: things seem to work now. Before my clipboard wasn't updating properly. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior sp...
- 18 Jan 2016, 01:10
- Forum: Scripts and Functions (v1)
- Topic: unzip with 7zip
- Replies: 5
- Views: 3699
Re: unzip with 7zip
Updated version includes zipping files/folders. The user has to select either 100% archives or 100% non-archives for it to understand the intent. There is a bug with zipping when you first use it with one selection type(e.g. one or more files) and then try to use it with the other type (e.g. one or ...
- 17 Jan 2016, 20:19
- Forum: Scripts and Functions (v1)
- Topic: unzip with 7zip
- Replies: 5
- Views: 3699
Re: unzip with 7zip
can it compile folders to .7zip also? Should be similar. I'll try a new script that does that. Not sure if I should use a different hotkey for that. If I want to keep the same key I'll need to add some logic to check which operation (zip or unzip) is needed. Parsing the paths in the clipboard strin...
- 17 Jan 2016, 04:33
- Forum: Ask for Help (v1)
- Topic: Extracting all ZIP files in child folders
- Replies: 5
- Views: 3144
Re: Extracting all ZIP files in child folders
I think MJs misunderstood OP. All the above does is extract a single zip in a rather verbose manner. A 2 line batch file could do the same. But what OP (I think) meant was: "given a folder structure containing zip files, how to extract each zip file to the subfolder it is currently in?"
- 17 Jan 2016, 04:03
- Forum: Scripts and Functions (v1)
- Topic: unzip with 7zip
- Replies: 5
- Views: 3699
unzip with 7zip
Hi I thought I'd share my first ahk script here. Feedback is welcome! I googled around for a script to unzip using 7zip, but didn't find much. I figured there are two ways to go about this: - 1: using the context menu (and using clipboard for checking for multiple selections) - 2: reading the select...
- 17 Jan 2016, 02:56
- Forum: Ask for Help (v1)
- Topic: Hotkeys for accessing context menus
- Replies: 3
- Views: 1792
Re: Hotkeys for accessing context menus
shift+F10 (Windows explorer) opens the context menu--independent of mouse location.