Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Finder apple script sidebar stuff,

Finder apple script sidebar stuff,
Thread Tools
Senior User
Join Date: Jul 2001
Status: Offline
Reply With Quote
Mar 17, 2004, 02:40 PM
 
Are there any apple scripts that could control Finders side bar ?

I was thinking of two.
One for putting the current folder into the side bar and another to remove the bottom most folder in the sidebar.
So it would flow kinda like tabs. Another one that would be nice is an open new window button.

Any hope ?
     
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Mar 17, 2004, 02:50 PM
 
No - the sidebar is not accessible via AppleScript.
     
loren s  (op)
Senior User
Join Date: Jul 2001
Status: Offline
Reply With Quote
Mar 17, 2004, 03:07 PM
 
that sucks
     
Mac Elite
Join Date: May 2001
Status: Offline
Reply With Quote
Mar 17, 2004, 06:25 PM
 
You can of course write an applescript that opens a new window and place it in the sidebar.

If you just want a new folder in the current one, customize your toolbar, there's that function to add.

-
     
loren s  (op)
Senior User
Join Date: Jul 2001
Status: Offline
Reply With Quote
Mar 17, 2004, 06:52 PM
 
Originally posted by Moonray:
You can of course write an applescript that opens a new window and place it in the sidebar.

If you just want a new folder in the current one, customize your toolbar, there's that function to add.

-
i tried the auto record from apple script, it just records the action of me pressing the folder, but no pull or add. Why won't apple give more control
     
Mac Elite
Join Date: May 2001
Status: Offline
Reply With Quote
Mar 17, 2004, 07:27 PM
 
Open the Finder's dictionary in the Script Editor (menu File -> Open Dictionary...) and you'll see what's possible with the Finder and what not.

-
     
loren s  (op)
Senior User
Join Date: Jul 2001
Status: Offline
Reply With Quote
Mar 17, 2004, 08:09 PM
 
Originally posted by Moonray:
Open the Finder's dictionary in the Script Editor (menu File -> Open Dictionary...) and you'll see what's possible with the Finder and what not.

-
apple script can not find it. sigh
     
Mac Elite
Join Date: May 2001
Status: Offline
Reply With Quote
Mar 17, 2004, 11:17 PM
 
Click "Open Dictionary..." in the "File" menu. After some seconds a big list with all scriptable applications on your local drives will pop up. In this list select "Finder". Click the "Open" button in the lower right hand corner. The so-called "Finder dictionary" will open, containing all Finder classes and commands in a somewhat technical description.

Recommended reading: AppleScript Language Guide.

More information: AppleScript Resources.

-
     
loren s  (op)
Senior User
Join Date: Jul 2001
Status: Offline
Reply With Quote
Mar 18, 2004, 08:12 AM
 
Originally posted by Moonray:
Click "Open Dictionary..." in the "File" menu. After some seconds a big list with all scriptable applications on your local drives will pop up. In this list select "Finder". Click the "Open" button in the lower right hand corner. The so-called "Finder dictionary" will open, containing all Finder classes and commands in a somewhat technical description.

Recommended reading: AppleScript Language Guide.

More information: AppleScript Resources.

-
Aw! thankyou. But sadly it is true there is no suport for the side bar. That sucks. ! So it looks like i need to find a developer now. Oh boy here we go again.
     
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Mar 18, 2004, 08:47 AM
 
Originally posted by loren s:
...Another one that would be nice is an open new window button.

Any hope ?
You can do that - but it's so slow compared with Command-N. (because the toolbar can only run Applescript Applications.)


see for yourself: paste the following into Script Editor and save it as an 'Application' then drag the built app to the toolbar in the Finder.

[php]
tell application "Finder" to make new Finder window
[/php]
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:10 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2