| Author |
Message |
Topic: keeping only parts of a document...? |
Lemming
Replies: 10
Views: 118
|
Forum: Ask for Help Posted: Tue Feb 02, 2010 6:49 pm Subject: simplified version |
I've simplified sinkfaze's script and added the actual "make dir" code. Plus, this version will handle any number of matches, not just 3.
A few notes:
- This script creates folders in th ... |
Topic: Progress bar |
Lemming
Replies: 5
Views: 205
|
Forum: Ask for Help Posted: Sat Jan 30, 2010 5:37 pm Subject: Try Progress command |
There's also the LoopCount = 6 ; Any integer value that is more than 1
LoopMultiplier := 100 / LoopCount ; for divvying up the count
MainText := "Press any key to continue"
... |
Topic: How do I create a hotkey using 3 keys? |
Lemming
Replies: 6
Views: 296
|
Forum: Ask for Help Posted: Thu Jul 30, 2009 9:13 am Subject: It's a variation of start-stop hotkey |
I initially thought this was a trivial problem, but later realised it wasn't so straightforward.
It is actually a variation of the "stop repeating action without exiting the script" probl ... |
Topic: Post Message in Browser, clicking problem |
Lemming
Replies: 4
Views: 210
|
Forum: Ask for Help Posted: Sat May 02, 2009 6:30 am Subject: overkill |
| Engunner's right; postmessage is overkill for this task. For IE, I normally use a combo of Winactivate, ControlFocus, and Click. The classNN for the main IE window is usually Internet Explorer_Server1 ... |
Topic: another imagesearch request for help |
Lemming
Replies: 6
Views: 660
|
Forum: Ask for Help Posted: Fri Sep 26, 2008 4:05 am Subject: ImageSearch tips |
A few tips for ImageSearch:
a) Limit the search area.
b) Use smaller images for the search
c) Implement backup search(es)
d) Try not to use ImageSearch
Point a) you probably know already. Poi ... |
Topic: another imagesearch request for help |
Lemming
Replies: 6
Views: 660
|
Forum: Ask for Help Posted: Wed Sep 24, 2008 4:04 am Subject: Unclear what you're asking |
Not sure what you're getting at, or what problem you're trying to solve. Perhaps you could mention the actual app you're working with? Also, being sarky doesn't help.
ImageSearch has worked very we ... |
Topic: How to detect if there is no sound (music is finished) |
Lemming
Replies: 7
Views: 592
|
Forum: Ask for Help Posted: Mon Sep 22, 2008 7:30 am Subject: Why choose a difficult solution? |
| Not sure why you want to take the more difficult route when there are easier ways such as image detection, windows detection or program detection. Ahk is well-suited for these kinds of detection, and ... |
Topic: AutoScriptWriter + Macro Express |
Lemming
Replies: 3
Views: 402
|
Forum: Ask for Help Posted: Sat Sep 20, 2008 2:25 pm Subject: Run both Ahk and MacEx at once |
It's not recommended that you run both Ahk and MacEx at once, but it can be done. Just make sure that they're not assigned the same hotkeys, or perform the same actions concurrently.
In fact, I was ... |
Topic: Canīt get ImageSearch to work |
Lemming
Replies: 7
Views: 548
|
Forum: Ask for Help Posted: Sat Sep 20, 2008 2:50 am Subject: Ahk does work in WoW |
I used to play WoW till around July this year. I had a simple script, and can confirm that ImageSearch does work here.
sample code:
ImageSearch, GoldX,GoldY , X1,Y1, X2,Y2, *3 gold.bmp
You ma ... |
Topic: Newbie: How do I break down this string ? |
Lemming
Replies: 7
Views: 448
|
Forum: Ask for Help Posted: Sat Sep 20, 2008 2:28 am Subject: Scalability |
Krog and Siv's methods will work, but their display method is not scalable.
For example, if you have 50 words in your string, their code would look like:
MsgBox, %String1% %String2% .... %Strin ... |
Topic: Newbie: How do I break down this string ? |
Lemming
Replies: 7
Views: 448
|
Forum: Ask for Help Posted: Fri Sep 19, 2008 7:52 am Subject: Use StringSplit and a loop |
Tested.
String=first`nsecond`nthird`nfourth`nfive
StringSplit, StrArray, String, `n
; StrArray0 contains number of items produced by the StringSplit command
Loop, %StrArray0%
{
St ... |
Topic: AutoScriptWriter + Macro Express |
Lemming
Replies: 3
Views: 402
|
Forum: Ask for Help Posted: Fri Sep 19, 2008 4:26 am Subject: MacEx recorder is better |
| I'm an ex-user of Macro Express. The MacEx recorder is definitely better; it has a better interface and the macro language is also quite intuitive. But then, it's a commercial product. AutoScriptWrite ... |
Topic: getting info off of a website and comparing it ? |
Lemming
Replies: 11
Views: 942
|
Forum: Ask for Help Posted: Sun Feb 03, 2008 3:09 pm Subject: Restore selecting |
"Disable text selection" is actually a Javascript trick. So you can undo it with another Javascript trick.
Jesse Ruderman has exactly the code for that at his Bookmarklets site:
What I n ... |
Topic: Hybrid combinations - possible or not? |
Lemming
Replies: 13
Views: 870
|
Forum: Ask for Help Posted: Fri Jan 18, 2008 4:12 pm Subject: Re: Hybrid combinations - possible or not? |
| Sounds like a "detect double-presses of a hotkey" problem; you're checking whether the user pressed ctrl-f twice. The SetTimer documentation has example code for this (scroll to example #3): ... |
Topic: I need to merge 1200 directories into 1 |
Lemming
Replies: 18
Views: 1090
|
Forum: Ask for Help Posted: Tue Jan 08, 2008 6:03 pm Subject: Try XCopy |
Why not use XCopy instead? It's been included with every Dos and Windows version for years, and it's designed for this kind of copying.
Try:
xcopy C:\fromhere\*.jpg D:\tohere\ /S |
| |