AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 86 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Find oldest running copy of process
MilesAhead

Replies: 2
Views: 54

PostForum: Ask for Help   Posted: Wed Feb 01, 2012 12:42 am   Subject: Find oldest running copy of process
Thanks for the function. Just what I needed. Smile
  Topic: Find oldest running copy of process
MilesAhead

Replies: 2
Views: 54

PostForum: Ask for Help   Posted: Tue Jan 31, 2012 11:47 pm   Subject: Find oldest running copy of process
Sometimes when programming it's necessary to kill copies of Explorer. I can find out how many copies are running with this function



_GetRunningCopies(ExeName)
{
nrunning := ...
  Topic: Quotidian Folders
MilesAhead

Replies: 2
Views: 235

PostForum: Scripts & Functions   Posted: Sat Jan 28, 2012 11:48 pm   Subject: updates
I added several features. Ini File Edit from the Tray Menu. Size of Folder windows adjustable via ini file option. The windows are staggered according to the desktop work area etc..

The link in t ...
  Topic: How to maximize the process window from system tray
MilesAhead

Replies: 3
Views: 113

PostForum: Ask for Help   Posted: Fri Jan 27, 2012 10:13 pm   Subject: How to maximize the process window from system tray
Instead of messing around with PID use the Window Spy to get the class name of xdict window. Try that with WinActivate.

Also I would put detect hidden windows on at the top. With scripts most eve ...
  Topic: How to maximize the process window from system tray
MilesAhead

Replies: 3
Views: 113

PostForum: Ask for Help   Posted: Fri Jan 27, 2012 4:43 am   Subject: How to maximize the process window from system tray
try

DetectHiddenWindows, On

Also you don't check if ErrorLevel is 0

If the process wait times out, ErrorLevel will be 0.

These 2 things are in the Help entries for Process and WinActivate
  Topic: Quotidian Folders
MilesAhead

Replies: 2
Views: 235

PostForum: Scripts & Functions   Posted: Fri Jan 27, 2012 1:46 am   Subject: source code
The latest source is now included in the download. Any revisions will be there.
  Topic: Quotidian Folders
MilesAhead

Replies: 2
Views: 235

PostForum: Scripts & Functions   Posted: Wed Jan 25, 2012 11:39 pm   Subject: Quotidian Folders
Quotidian Folders is for folders you use every day. It is yet another "open a list of folders near the mouse" utility. It has only one hotkey. Control Right Click on Explorer adds selected ...
  Topic: illegal characters (reading file containing filenames)
MilesAhead

Replies: 4
Views: 104

PostForum: Ask for Help   Posted: Thu Jan 19, 2012 7:39 am   Subject: spaced out
Since a space is a legal filename character it's not the best to use as a separator. May be better to use like a vertical bar, semicolon or even have the old names on the odd lines and the new names ...
  Topic: Help with compiled script to write to current stdout
MilesAhead

Replies: 3
Views: 76

PostForum: Ask for Help   Posted: Mon Jan 16, 2012 10:51 pm   Subject: ConsoleSend
It will work with AttachConsole. But you can get anomalous behavior such as getting the prompt back while the script is still running, hanging cursor etc..

DllCall("AttachConsole", " ...
  Topic: Replacing single line breaks with spaces with RegExReplace
MilesAhead

Replies: 11
Views: 939

PostForum: Ask for Help   Posted: Thu Jan 12, 2012 10:00 pm   Subject: This is a test
if you are going to use knowledge of the input, meaning it only works in special cases(pun intended,) why not cheat and do it the easy way?



StringCaseSense, On

txt =
(
This is a test ...
  Topic: Replacing single line breaks with spaces with RegExReplace
MilesAhead

Replies: 11
Views: 939

PostForum: Ask for Help   Posted: Wed Jan 11, 2012 2:13 am   Subject: No rule
There's no rule to know what should be in a line. The only "rule" is what should be a blank line. Namely when you have consecutive line breaks. Easier to stick the paragraph into a rich edi ...
  Topic: Replacing single line breaks with spaces with RegExReplace
MilesAhead

Replies: 11
Views: 939

PostForum: Ask for Help   Posted: Tue Jan 10, 2012 1:31 am   Subject: Replacing single line breaks with spaces with RegExReplace
Use the dollar sign $ so that it only matches a new line that's at the end of the line. See RegExp quick reference for characters '^' and '$' in the help. The entry is right under the one for the Reg ...
  Topic: Absolute Path from Relative?
MilesAhead

Replies: 2
Views: 89

PostForum: Ask for Help   Posted: Fri Jan 06, 2012 7:21 pm   Subject: Absolute Path from Relative?
Have you tried the AbsolutePath function

That's it exactly. Thanks Smile

edit: this person thinks like I do. Leverage existing functionality. Handles both folders and file paths. Main differences: ...
  Topic: Absolute Path from Relative?
MilesAhead

Replies: 2
Views: 89

PostForum: Ask for Help   Posted: Fri Jan 06, 2012 6:23 am   Subject: Absolute Path from Relative?
Anyone know how to get an Absolute Path from Relative?

I have a small recursive copy utility that copies files matching Pattern to a target directory. I'm stuck trying to figure out how to get the ...
  Topic: ConsoleSend
MilesAhead

Replies: 7
Views: 4496

PostForum: Scripts & Functions   Posted: Wed Jan 04, 2012 10:28 pm   Subject: ConsoleWrite
DllCall("AttachConsole", "int", -1)
FileAppend, Goodbye`, World!, CONOUT$


I have a command line file copy routine and was looking to output to console if run from the command ...
 
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group