AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

universal "go up" in browser

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
TOTAL



Joined: 26 Sep 2007
Posts: 64

PostPosted: Thu Aug 21, 2008 1:36 am    Post subject: universal "go up" in browser Reply with quote

There is go back and go forward. What about go up.

I am using a script which clicks up button when alt up is pressed, but this is not very elegant.
Back to top
View user's profile Send private message
evan
Guest





PostPosted: Thu Aug 21, 2008 1:52 am    Post subject: Reply with quote

send pageup and pagedown
Back to top
TOTAL



Joined: 26 Sep 2007
Posts: 64

PostPosted: Thu Aug 21, 2008 10:19 am    Post subject: Reply with quote

Ok. What about go up to the folder which contains the current in Windows Explorer?
Back to top
View user's profile Send private message
Hasso



Joined: 23 Mar 2005
Posts: 158
Location: Germany

PostPosted: Mon Aug 25, 2008 8:05 am    Post subject: Reply with quote

Use Backspace.
_________________
Hasso

Programmers don't die, they GOSUB without RETURN
Back to top
View user's profile Send private message
HugoV



Joined: 27 May 2007
Posts: 650

PostPosted: Mon Aug 25, 2008 8:28 am    Post subject: Reply with quote

Edit: I refer to using a browser such as internet explorer or firefox not the file management tool "explorer" (which you shouldn't use anyway)

That is BACK, not UP. Note the difference.

Example, go to:
http://www.autohotkey.com/forum/topic24630.html
Backspace would take you back to the previous page (or nothing happens
at all if you have opened it in a new window/tab!)
but UP would take you to
http://www.autohotkey.com/forum/
up again:
http://www.autohotkey.com/

Here is a Firefox bookmarklet:
Code:
javascript:var m=location.href.match(/(.+:\/\/)([^\.]+\.)((?:[^\.\:\/]+\.)*(?:[^\.\:\/]+)(?:\:\d+)?)(?:(\/(?:[^\/]+\/)*)(?:[^\/]+\/?))?/);void(location.href=m[1]+(m[4]==null||m[4]==%22%22?m[3]:m[2]+m[3]+m[4]));


So if you want to go UP, I suggest you search the forum and search
http://www.autohotkey.com/forum/topic19169.html (firefox)
retrieve URL via DDE and use AHK to TRIM the url to go
one "directory" up and send it back to the address bar.
[/code]
_________________
When parsing a CSV file use Loop, parse, Inputvar, CSV!
Back to top
View user's profile Send private message
Hasso



Joined: 23 Mar 2005
Posts: 158
Location: Germany

PostPosted: Mon Aug 25, 2008 9:12 am    Post subject: Reply with quote

TOTAL wrote:
Ok. What about go up to the folder which contains the current in Windows Explorer?

I repeat: Use Backspace.
_________________
Hasso

Programmers don't die, they GOSUB without RETURN
Back to top
View user's profile Send private message
HugoV



Joined: 27 May 2007
Posts: 650

PostPosted: Mon Aug 25, 2008 9:29 am    Post subject: Reply with quote

I repeat too:
HugoV wrote:
Edit: I refer to using a browser such as internet explorer or firefox not the file management tool "explorer" (which you shouldn't use anyway)
Very Happy
_________________
When parsing a CSV file use Loop, parse, Inputvar, CSV!
Back to top
View user's profile Send private message
TOTAL



Joined: 26 Sep 2007
Posts: 64

PostPosted: Mon Sep 01, 2008 8:53 am    Post subject: Reply with quote

Hasso wrote:
TOTAL wrote:
Ok. What about go up to the folder which contains the current in Windows Explorer?

I repeat: Use Backspace.


Correct. Thanks for your persistence.

T
Back to top
View user's profile Send private message
tank



Joined: 21 Dec 2007
Posts: 1033

PostPosted: Mon Sep 01, 2008 11:18 pm    Post subject: Reply with quote

backspace goes back not up
you guys are amazing
no in the event that you did actually progress deeper it might seem to haqve the same effect but if you opened c?:/program files
and then hit backspace nothing would happen
HugoV wrote:
Edit: I refer to using a browser such as internet explorer or firefox not the file management tool "explorer" (which you shouldn't use anyway)
u dont use IE for file management u use explorer i know its easy to get confused because windows transitions between them seemlessly but trust me as soon as you go to a file system you have switched to explorer. and im dying to know why the statment you shouldnt use explorer
as far as firefox goes yes you can indeed browse file system with it but i must know why you would
at any rate the answer is
alt+up to go up directory
_________________
Read this
Com
Automate IE7 with Tabs
Back to top
View user's profile Send private message
TOTAL



Joined: 26 Sep 2007
Posts: 64

PostPosted: Sat Sep 06, 2008 1:47 pm    Post subject: Reply with quote

Alt+Backspace in Windows Explorer - sometimes it works, somewtimes it doesn't at all. I don't know what it depends on - but me I can definitely tell windows exp from internet exp.

For the time being I am using an AHK workaround, also not fully reliable. But when cresating it I noticed that Windows Explorer may manifest itself to AHK's Active window info as:

ahk_class ExploreWClass, ahk_class CabinetWClass or still something else.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group