|
|
Device or "My Computer" in Finder/Dock
|
|
|
|
Mac Enthusiast
Join Date: Apr 2001
Location: Camarillo, CA
Status:
Offline
|
|
I tried searching on this but am not sure what terms to use.
Please note I don't mean the Hard Drive icon(s)...
I want to create a shortcut to the device/my computer window on my desktop...
For reference, the window I'm referring to can be found by first opening your hard drive window and then pressing cmd-up arrow. The window takes on the Computer Name specified in your sharing system preference. It contains your mounted volumes, plus "Network" and "Remote Disc" icons.
I'm trying to find some way to tie this to an alias or other icon type. I've also tried unsuccessfully to create an applescript, but there is no 'path' to this window that I can determine...
Anyone know any way to open this window directly?
|
|
|
|
|
|
|
|
|
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status:
Offline
|
|
You can do it by activating the menu directly:
Code:
tell application "Finder"
activate
end tell
tell application "System Events"
tell process "Finder"
tell menu bar 1
tell menu bar item "Go"
tell menu "Go"
click menu item "Computer"
end tell
end tell
end tell
end tell
end tell
Please note that my computer is not set to English, but I think that those are the names of those menu items. They have to be exact as spelled int he interface.
You also need to enable support (in System Preferences) for assistive devices for the Applescript editor, but you will be prompted about that.
|
The new Mac Pro has up to 30 MB of cache inside the processor itself. That's more than the HD in my first Mac. Somehow I'm still running out of space.
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Apr 2001
Location: Camarillo, CA
Status:
Offline
|
|
As Murphy's Law would have it I found the following AFTER I made this post:
Code:
tell application "Finder"
make new Finder window
end tell
When not specifying a path it appears to default to the "My Computer" equivalent.
It works pretty well, now I just wish I could figure out a way to hide the '.app' on the desktop icon on my desktop without having to hide all extensions on all file types on my entire system...
|
|
|
|
|
|
|
|
|
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status:
Offline
|
|
Place the application in your home directory and make an alias to it on the desktop. Name the alias what you wish.
|
The new Mac Pro has up to 30 MB of cache inside the processor itself. That's more than the HD in my first Mac. Somehow I'm still running out of space.
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Apr 2001
Location: Camarillo, CA
Status:
Offline
|
|
Originally Posted by P
Place the application in your home directory and make an alias to it on the desktop. Name the alias what you wish.
Thought of that, but then it has the little alias arrow which is more annoying to me than the '.app' extension...
I appreciate the suggestion though...
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Feb 2000
Location: Nashua NH, USA
Status:
Offline
|
|
Stick it in the applications folder and drag it onto the dock?
|
|
|
|
|
|
|
|
|
Moderator
Join Date: Jun 2000
Location: inside 128, north of 90
Status:
Offline
|
|
Originally Posted by Bobby
Thought of that, but then it has the little alias arrow which is more annoying to me than the '.app' extension...
I appreciate the suggestion though...
you want to make an alias, but don't like the little arrow? Um, ok. Applescripts etc seems like overkill.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|