Groups > Browsers > Opera Browser Technical topics > Re: Address bar auto hiding




Address bar auto hiding

Address bar auto hiding
Mon, 2 Jul 2007 20:27:01 +0000
http://www.MyOnlineImages.com/serveFile.aspx?af=12919

The above is my first draft of Opera Auto Addressbar hider.


For years, wondered when Opera would auto hide address bar when 
cursor is not near.

The above exe or script will hopefully hide address bar when 
cursor not near bottom of screen.  When near, it shows it.



code logic is simple. And wish was a part of Opera.

#notrayicon
ifnotexist, ranOponce.txt
goto, install
start:
settitlematchmode,2
SetKeyDelay, 10, 10
sphere := 0


watch:
sphereold :=sphere
;mousegetpos,x,y
sleep 1000
mousegetpos,xx,yy

if yy < 401
sphere = below

if yy > 400
sphere = above

;msgbox,, change,sphere is %sphere%,..sphereold is %sphereold% ,1


ifnotequal, sphereold,%sphere%
goto, change
goto, watch


Change:
 


mousegetpos,xx,yy

if yy > 400
{
	wingettitle, optitle,- Opera
	winget,ControlHwnd,id,%optitle%

	;winactivate,%optitle%
	ifwinactive,%optitle%
{
		Controlsend,,!, ahk_id %ControlHwnd%
		send !
		sleep, 1000
		goto, watch
}
goto,watch
}

else
{
wingettitle, optitle,- Opera
winget,ControlHwnd,id,%optitle%
;winactivate,%optitle%
ifwinactive,%optitle%
{
	Controlsend,,+, ahk_id %ControlHwnd%
	send +
	sleep, 1000
	goto, watch
}
goto,watch
}
return


exitapp


;controlsend not working....  then could do ini write

Install:
msgbox, This is your first run of Auto toolbar hide for Opera. In 
order to use this with Opera 7+`, you must manually setup hotkey 
f8 shift  = Set alignment`, "document toolbar"`, 0   and  f8 alt
			= Set alignment`, "document toolbar"`, 6
Fileappend,ranOponce.txt,ranOponce.txt
goto, start
Post Reply
Re: Address bar auto hiding
Thu, 5 Jul 2007 14:58:54 +0000
http://www.keepmyfile.com/download/d0d0fe1713666 

even newer. 

Added firefox support; full customizeable ini; eliminated several 
Post Reply
Re: Address bar auto hiding
Thu, 5 Jul 2007 21:32:33 +0000
http://www.keepmyfile.com/download/c9aaba1714142

even newer. 

Added firefox support; full customizeable ini; eliminated
several annoying behaviours., routine for setting meridian.

Only annoying feature now (unless you are animation phobic), is 
Post Reply
about | contact