drinksoli.blogg.se

Opensourse dragthing
Opensourse dragthing





opensourse dragthing
  1. OPENSOURSE DRAGTHING CODE
  2. OPENSOURSE DRAGTHING PLUS

You can follow any responses to this entry through the RSS 2.0 feed.īoth comments and pings are currently closed.Script Debugger, a commercial environment for developing and debugging scripts and exploring scriptable applications, crucial to my use of AppleScript (this book couldn't have been written without it): On Wednesday, November 16th, 2011 at 11:53 am by Rob Griffiths,Īnd is filed under Butler, How To, Products. But even with this delay, pressing a hot key beats navigating to Finder and then opening and customizing the window again. In my case, it takes a couple seconds to run, as I’m opening a folder on a networked drive. Press your trigger or move to your hot corner, and your script will trigger. Once you’ve done that, you’re good to go. Assign a Hot Key of your choice, and/or a hot corner to use to activate your AppleScript.

OPENSOURSE DRAGTHING CODE

Once it’s all working, paste it into Butler’s Source Code tab, then click over to the Triggers tab. You should probably test your code in AppleScript editor prior to pasting into Butler it’s much easier to test there. Sort column: name column, modification date column, creation date column, size column, kind column, label column, version column, comment column.Current view: icon view, list view, column view, group view, flow view.You can also modify the view settings you don’t have to use list view sorted by date modified. The path starts at the root of the hard drive for local folders if the folder is on a networked volume, start with the name of the mounted drive. You’ll need to replace path:to:folder:to:open with the path to the folder you wish to open. Set the sort column of the list view options of myWindow to the modification date column Set current view of myWindow to list view Set myWindow to make Finder window to folder “path:to:folder:to:open” In the Source Code area, paste the following code: While you’re here, click on the box at the top and name your action (Open Downloads Folder or whatever) make sure you press Tab when done so the change is saved. Click on your newly-added action in the left-hand pane of Butler’s configuration window, and then click on the Source Code tab on the right. I keep mine in the Hidden section, but you can drag the entry wherever you’d like to use it. Once this item has been added to Butler’s configuration, you’ll need to decide where you want it: visible within one of the Menu Bar areas, or as a Hidden item that you’ll activate only via the keyboard and/or mouse.

opensourse dragthing

OPENSOURSE DRAGTHING PLUS

Click the plus sign at the bottom left corner of the window, select Smart Item > AppleScript > AppleScript: Here’s how I did it.įirst, open Butler’s settings window, and click on the Configuration tab. By storing the AppleScript in Butler, I can now open my folder with the press of a hot key, at any time from any application.

opensourse dragthing

Moom can do 90% of this using saved window layouts, but it can’t do anything with the actual Finder window, such as setting the view and sort column.Īfter a bit of work with AppleScript, I came up with a solution that got me everything I wanted. In my case, I wanted my Downloads folder to open, at a given size and location, sorted in reverse date order. But what I wanted was a way to open a certain folder with a certain view and sort order, even though I may then change that folder’s view and sort order, thereby messing up future openings of that same folder. I know what you’re thinking…how hard can it be to open a folder? Not very hard at all.







Opensourse dragthing