Well I've found one thing that Opera 10+ doesn't like at least
Code: Select all
ComboBox1Path( activeWin )
{
WinWaitActive, ahk_id %activeWin%
ControlGet, List, List,, ComboBox1, ahk_id %activeWin%
StringReplace, path, List, `n, \, UseErrorLevel
if( !RegExMatch( path, "\((\w\:)\) [^\\]+(.*)", pwd ))
RegExMatch( path, ".*\\(.*)$", pwd )
return pwd1 . pwd2
}
...
WinGet, aWin, ID, A
pwd := ComboBox1Path( aWin )
StringSplit, aPwd, pwd, \
if( err := (( aPwd1 != iDrive ) ? "Error: Invalid Drive" : (( aPwd2 != iDir ) ? "Error: Invalid Folder" : "" )) )
Error(-1, err)
ControlFocus, SysListView321, ahk_id %aWin%
Loop, % aPwd0 - 2
Send, {BackSpace}
if( SubStr(cPath := ComboBox1Path( aWin ), 4) != iDir )
{
MsgBox, cPath: %cPath%, iDir: %iDir%
Error( -1, "Error: Invalid Root Path")
}
savePath := iDrive . "\" . iDir . "\" . opUploadName . "\" . opFolderName
...
I could get Opera to crash randomly after focusing on the ComboBox control (dropdown of the Save Dialog) with AHK and querying it's contents. I was able to cause this crash 4 or 5 times in the last couple days. Of which 2 of those caused an exception in Total Commander.
I rewrote the above to not require accessing the comboBox to query "where it is" and instead figured I can just force it to go where I want by pasting a quoted path into the Edit1 control (Filename field) -- i.e. "J:\A\Slash\Delimitted\Path\" and Enter.
Code: Select all
savePath := iDrive . "\" . iDir . "\" . opUploadName . "\" . opFolderName
FileCreateDir, %savePath%
ControlFocus, Edit1, ahk_id %aWin%
Clipboard := savePath . "\"
ClipWait
Send, ^v{Enter}
As well right now I am back on Opera 9.64, the 10.x branch is excessively unstable and the 10.5x branch is even worse than 10.1 Final. From 9.x to 10.x to 10.5x Opera has gotten ever more memory hungry: Where 9.64 or 10.1 can open hundreds of Tabs and use less than 800MB of Ram - the 10.5 branch will consume all available system ram (over 1400MB for the same tabs) and cause Windows/OS itself to become unstable -- thus impacting every other program running.
The Opera Dev's in the 10.x branch have consistently released "stable/final" versions that have memory leaks -- bugs that have taken 6 months to be fixed, and just when you think it actually has been fixed (since it was in a previous beta) they'll release a final/stable that brings it back.
Two bugs that I am intimately aware of, the Save-As dialog memory leak and the DNS/Cookie error have been around in all versions since 10.1 and almost everytime you get a Beta that fixes it -- a stable or another Beta comes along that brings it back.
They are also ignoring what many people want from the
Browser; removing features that have been around since version 6 or 7 (maybe even 5). Breaking User Javascript without so much as a peep that they have done so aside from a blog from over a year ago that mentioned "window.addEventListener and document.addEventListener"... yet don't proceed to actually do what's listed in that blog for another 6 months. And no answers on the boards to all the questions about how to fix the broken UserJS since 10.5 --- and the whole thing is caused by the Dev's removing features and not letting anyone know at all.
It took 6-9 months or more for shortcuts Ctrl+B, Ctrl+H to get fixed: broken since 10.0 betas and finals, fixed at some point around 10.52.
I'm definitely not looking forward to 11.x as I might not leave 9.64 at this point -- which will mean I'll need to find a new browser and that is depressing.