| Author |
Message |
Forum: Scripts Topic: Make sentences start with capitals |
| TomXIII |
|
Posted: February 26th, 2011, 12:11 am
|
|
Replies: 52 Views: 12490
|
| Hi! Maybe this solution may help! Use Hostring() from polyethene's " Dynamic Hotstrings " with this hotstrings("(\.|!|\?)( |`n|`t)+(.)$", "$1$2$U3") To work fine, you also should add this line (in red) Loop, Parse, t, `n ; check { St... |
|
 |
Forum: Support Topic: if/else statement |
| TomXIII |
|
Posted: December 20th, 2010, 10:16 pm
|
|
Replies: 9 Views: 909
|
Oups!
Previous post edited! |
|
 |
Forum: Scripts Topic: [AHK_L] StackLoop : The quickest way to index a folder! |
| TomXIII |
|
Posted: December 20th, 2010, 10:09 pm
|
|
Replies: 7 Views: 852
|
| Hi! I noticed that depth of folders can really affect the speed. I made this script to analyze the depth of all folders from a location Path := "C:" Diag := GetDepths(Path) MsgBox, %Diag% GetDepths(Path) { ; code based on "StackLoop" from Lexikos (thanks!... |
|
 |
Forum: Support Topic: if/else statement |
| TomXIII |
|
Posted: December 20th, 2010, 6:08 pm
|
|
Replies: 9 Views: 909
|
| } Else If can have a { if there is a previous ) . Space between ) and { is optionnal If (var="First condition") { ... } Else If (var="Second condition"[color=orange])[/color] [color=red]{[/color] ... } Else ... Be careful with commands like in... |
|
 |
Forum: Support Topic: If Key Replacement |
| TomXIII |
|
Posted: December 19th, 2010, 9:35 pm
|
|
Replies: 10 Views: 178
|
Hi!
I don't understand your question but may be you should look at "Hotkey" in the help file with Toggle label |
|
 |
Forum: Support Topic: how come this script doesnt work?? |
| TomXIII |
|
Posted: December 19th, 2010, 9:31 pm
|
|
Replies: 4 Views: 130
|
| Hi! Long version: ImageSearch, vX,vY,0,0,A_ScreenWidth,A_ScreenHeight, givenapple.png If (ErrorLevel=0){ MsgBox, given! }Else If (ErrorLevel=1){ msgbox,fail! } Return Short version: ImageSearch, vX,vY,0,0,A_ScreenWidth,A_ScreenHeight, givenapple.png MsgBox, % Erro... |
|
 |
Forum: Support Topic: if/else statement |
| TomXIII |
|
Posted: December 19th, 2010, 9:24 pm
|
|
Replies: 9 Views: 909
|
| Hi! If GetKeyState("Ctrl", "P") ; Returns 1 if the key is pushed, 0 otherwise MsgBox, % InStr(blacklist, name) ? "Control - *IN* file.txt" : "Control - *NOT* in file.txt" ; Look at "ternary" in the help file You should read more about... |
|
 |
Forum: Scripts Topic: [AHK_L] StackLoop : The quickest way to index a folder! |
| TomXIII |
|
Posted: December 18th, 2010, 11:15 pm
|
|
Replies: 7 Views: 852
|
... so this is a queue!
@Lexikos : Thanks for the precision! |
|
 |
Forum: Scripts Topic: [AHK_L] StackLoop : The quickest way to index a folder! |
| TomXIII |
|
Posted: December 18th, 2010, 5:39 pm
|
|
Replies: 7 Views: 852
|
| Little detail: I read about "stacks" and the "Last In, First Out" concept. I noticed that if you change Path := Stack.Remove() by Path := Stack.Remove([color=red]1[/color]) you'll have a "First In, First Out" stack. In this code, the main differences bet... |
|
 |
Forum: Scripts Topic: [AHK_L] StackLoop : The quickest way to index a folder! |
| TomXIII |
|
Posted: December 13th, 2010, 2:16 pm
|
|
Replies: 7 Views: 852
|
@codybear : Sorry, I didn't specify that the file only works with AutoHotkey_L
First post edited with AutoHotkey's version required.
The script works fine! |
|
 |
Forum: Scripts Topic: [AHK_L] StackLoop : The quickest way to index a folder! |
| TomXIII |
|
Posted: December 13th, 2010, 1:55 am
|
|
Replies: 7 Views: 852
|
| With the agreement of Lexikos (thanks!), I post this function. AutoHotkey version : AutoHotkey_L by Lexikos Function : - Set an index of a specified location very quickly! - Allow to give a black list of folders to avoid and more control of the "files & folders parsing loop" Author : L... |
|
 |
Forum: Support Topic: [Solved] Loop (files & folders) - improvement ? |
| TomXIII |
|
Posted: December 12th, 2010, 7:53 pm
|
|
Replies: 4 Views: 351
|
| Lexikos found a great solution so please look at his reply! |
|
 |
Forum: Support Topic: [Solved] Loop (files & folders) - improvement ? |
| TomXIII |
|
Posted: December 10th, 2010, 12:12 pm
|
|
Replies: 4 Views: 351
|
| @Tuncay & @Lexikos : Thanks for your replies, I appreciate! N.B : I have a fresh installation of Win7 so disk C:\ only contains 56954Files & 11651Folders (size 13.4G) @Tuncay : I've tested your code and it took 96 seconds for "C:\Windows". With Lexikos algo, it took 0.768 seconds ... |
|
 |
Forum: Support Topic: [Solved] Loop (files & folders) - improvement ? |
| TomXIII |
|
Posted: December 9th, 2010, 10:20 pm
|
|
Replies: 4 Views: 351
|
| Hi everyone! I need a script to index a location (folder, usb key, hard drive...). I noticed that in addition to If A_LoopFileAttrib contains H,S Continue if I add a folder to avoid, it appears in the index but the folder itself is parsed. I explain: If I add this code If InStr(A_LoopFileLongPat... |
|
 |
Forum: Utilities Topic: 7Zip SFX Maker v2.3 |
| TomXIII |
|
Posted: December 1st, 2010, 1:38 am
|
|
Replies: 0 Views: 922
|
Hi everyone!
I really like SFX option with 7zip and I found this little utility to set sfx with more options.
I let you discover this "pépite d'or" (nugget gold?) !
7-ZIP SFX Maker V2.3
 |
|
 |
| Sort by: |