just like any other tool, AHK (and AutoIt, of course) can also be used for better or for worse. AHK does fall incredibly short when compared to AutoIt, but occasionally it does have its benefits, and i used it for example to solve >this. so to not be judgmental, there may be good reasons why AutoIt and AHK coexistence is beneficial.
[NEW VERSION] - 9 Feb 15 Changed: Previous changes led to unwanted behaviour when dropping to the empty space below existing items in other ListViews. Now dropping items into the empty space will automatically place the item at the end of the list. Thanks to nobbitry for the report and the nudge to get it working intuitively. New UDF in the first post. M23
nobbitry, I try to give good service! I will look and see how hard it would be to add the dropped items at the end of the list - but no promises. M23 Edit: Easier than I though it would be: <snip>
nobbitry, The law of unintended consequences strikes again! I have amended the UDF code so that you can drop into empty space within another ListView but not drag there within the original - please try it and let me know if it allows you to do what you require: <snip> How is that? M23
I went to get that beer out of the fridge (I weakened), and I noticed my wife had bought my favorite Orange & Mango Juice (I take back all those thoughts I never said), and so I had that and some very nice cheese and fresh bread, and the world looks to be approximately the right shape again ... and I still have the beer in reserve if i need it ... or I think it needs testing.
P.S. Oh alright, I'll get back to finishing that update .... mmmmmmm .... nice juice .... mmmm .... nice cheese .... mmmmm .... lovely bread ..... what was that again? Beer did you say? Thought you'd never ask!
P.S.S. No I'm not on drugs ... not that I'm aware of anyway.
WIFE! have you been doctoring the spam?
I've written one that I haven't maintained in years, but I know others have as well.
Here is mine:
'?do=embed' frameborder='0' data-embedContent>>
But Azio's is probably better maintained:
Search on google for "Ultimate AutoIt Scripts Collection 1.7", there is a link on Softpedia:
http://www.softpedia.com/get/Programming/Other-Programming-Files/Ultimate-AutoIt-Scripts-Collection.shtml
Inside that collection there is also this script:
Included so far Woods Mini Web Server (nfwu)
When working with stream object you don't need file functions. Check the errors you get, methods for objects created with ObjectFromTag allways have $pSelf as first parameter in definitions. Yours don't, hence the errors. edit: Here (just changed your code a bit, paths also to work for me): ...Look only if you are desperate. It's really simple. Maybe. Sanity checking is missing.
To add the handles, you'd just want to change the array to a 2-dimensional array and throw in the corresponding window handles as each title is added. Using the example from my post above, just replace the _GetWindows() function with this version:
CODEFunc _GetWindows()
Dim $VisibleWindows[1][2] = [["0",""]]
$AllWindows = WinList()
For $i = 1 To $AllWindows[0][0]
If IsVisible($AllWindows[$i][1]) Then
If $AllWindows[$i][0] <> "" And $AllWindows[$i][0] <> "Program Manager" Then
ReDim $VisibleWindows[uBound($VisibleWindows) + 1][2]
$VisibleWindows[0][0] = $VisibleWindows[0][0] + 1
$VisibleWindows[($VisibleWindows[0][0])][0] = $AllWindows[$i][0]
$VisibleWindows[($VisibleWindows[0][0])][1] = $AllWindows[$i][1]
EndIf
Else
EndIf
Next
_ArrayDisplay($VisibleWindows,"Visible Windows")
EndFunc