Quick Tutorial: How to Set a Global Hotkey for Opening/Closing File Cabinet Pro

In this quick demo video, I show you how you can now set up a Global Hotkey to open and close the File Cabinet Pro window.

Global Hotkey support was introduced in version 2.0. You can now open/close the File Cabinet Pro window without having to bring your mouse all the way up to the menubar. If you already bought File Cabinet Pro, you can update now for free. If you haven’t purchased File Cabinet Pro, you can buy a copy here.

File Cabinet Pro Version 2.0 Update Adds Global Hotkey Feature

File Cabinet Pro Mac app icon.

            Download on the App Tyrant Store button.

File Cabinet Pro Mac App screenshot showing Global hotkey tab selected in settings.

File Cabinet Pro version 2.0 is out.

What’s New?

-Global Hotkey support for automatically showing and hiding the File Cabinet window! This feature is disabled by default, however, you can go to settings and turn it on if you’d like. You can set your own hotkey or use the default hotkey we suggest. Please note that File Cabinet will do its best to prevent you from choosing a hotkey that will likely cause a conflict with other apps. For example, you can’t set the hotkey to Command+C because you wouldn’t be able to copy a selection to the clipboard.

-The icon in the menubar now changes to dark blue when File Cabinet Pro is the focused app. It will change to black when File Cabinet Pro is not the focused app.

-You can now “Go Back” by using the Command+[ keyboard shortcut.

-You can now “Go Forward” by using the Command+] keyboard shortcut.

-Major performance improvements, especially when viewing a directory with lots of files in it.

-Users on OS X El Capitan will enjoy additional performance improvements when viewing directories in Icon View because we now take advantage of new API Apple introduced in OS X El Capitan.

For questions/comments visit: http://apptyrant.com/contact/

Raw Dog XML Viewer Released on the Mac App Store

Raw Dog XML Viewer Mac App icon.
         

We have released Raw Dog XML Viewer on the Mac App Store, a new tool for app developers. Check out the description below to learn more!

App Description

Viewing XML in a text editor is a painfully slow process, especially if the XML file isn’t formatted. Stop wasting precious time! View XML files quickly and efficiently with Raw Dog XML Viewer! Easily drill through the XML tree using the outline view in the sidebar.

Features:

-View XML files.

-Quickly navigate through the XML tree by using the outline view in the sidebar.

-Hover your mouse over XML elements in the sidebar to see a tool tip showing the element’s attributes.

-Selecting XML text in the document will automatically select the proper node in the sidebar.

-View XML files that are on the web (for example: you can view the raw XML of an online RSS feed).

-Easily view XML files in a human readable format. Simply click the Pretty Print toolbar item to format unreadable XML.

-Change the font size in the toolbar.

-Choose between four different syntax highlighting styles in Settings.

Screenshots:

Raw Dog XML Viewer Welcome Window Screenshot. Raw Dog XML Viewer drilling through the XML tree. Raw Dog XML Viewer change syntax highlighting style Raw Dog XML Viewer Mac App screenshot in full screen mode.

File Cabinet Pro Version 1.5.2 Update Released!

File Cabinet Pro Old Mac app icon 305 x 305 pixels.

Download on the App Tyrant Store button.

What’s New?

-In Icon View, you can now Command+Click on files to extend the selection.

-If you are viewing a file in a mounted volume and you attempt to move the file to the trash, you will now be asked if you want to immediately delete the file as you would if you attempted to do the same operation in Finder.

-If a Mac application is in File Cabinet Pro and you double click on it, it will now launch the application.

You Can Now Set a Custom Local Directory in File Cabinet Pro Version 1.5

File Cabinet Pro Old Mac app icon 305 x 305 pixels.

What’s New?

In response to customer feedback, we have now added a feature that allows you to change the default local directory File Cabinet Pro displays to any local folder of your choosing. Simply open the Settings window and select the “Folder Path” toolbar item. From there, you can change the local directory File Cabinet Pro displays.

File Cabinet Pro Mac App Screenshot showing screenshot of custom file path settings window.

Quick Tutorial: How to Crop an Image with File Cabinet Pro

File Cabinet Pro is the file manager for the OS X menu bar. You can open, move, rename, tag, trash, copy and paste files, all from the menu bar.

File Cabinet Pro also comes with a built in Image Editor (you can turn this feature off in Settings and open your images in another application if you want).

In this little video, I show you how you can crop an image with File Cabinet Pro. Simply make a selection with the crop tool and then double click inside the selection box.



Visual Attributed String Version 1.5 Released: iCloud and Quicklook Support Added

Visual Attributed String Mac app icon.

           

Visual Attributed String version 1.5 has been pushed to the Mac App Store. In this update, two new features have been added to the application:

1) iCloud Support. Visual Attributed String now has a container in your iCloud Drive folder (you can of course, disable this feature if you don’t want to use it).

Visual Attributed String documents in Finder window.

2) Quicklook. Visual Attributed String documents now work with Quicklook. Instead of seeing the same document icon, you can get a visual representation of your document in Finder.

Visual Attributed String documents in Finder window.

How to Disable NSScrollView Scrolling

Unlike UIScrollView on iOS, NSScrollView on Mac does not have a handy scrollEnabled property for you to set to NO if you need to temporarily disable scrolling in your app.

If you Google around, you can find several posts on websites like stackoverflow that ask questions like How can I disable the vertical scrolling of a NSScrollView? Some have suggested setting the hasVerticalScroller property to NO as the answer. However, the hasVerticalScroller property only effects the visibility of the scroller, a value of NO does not actually prevent scrolling.

There are also ways to constrain scrolling from an NSView subclass, as described in Apple’s documentation here. Constraining scrolling from a view subclass can be useful, but what if you want to just temporarily disable scrolling?

The easiest way to disable scrolling it seems is to subclass NSScrollView and add a BOOL property with a name like scrollingEnabled. Then you can simply override the designated initializers (initWithFrame: and initWithCoder:) and set the ivar of the property to YES as the default value:

-(instancetype)initWithFrame:(NSRect)frameRect 
{ 
   self = [super initWithFrame:frameRect]; 
   if (self) 
   { 
       [self setUpOnInit]; 
   } 
   return self; 
}
 
- (instancetype)initWithCoder:(NSCoder *)coder 
{ 
    self = [super initWithCoder:coder]; 
    if (self) 
    { 
         [self setUpOnInit]; 
    } 
    return self; 
}
 
-(void)setUpOnInit
{
   //Set all default values. 
   _scrollingEnabled = YES; 
}

Now you can just override the scrollWheel: method and check the property:

-(void)scrollWheel:(NSEvent *)theEvent 
{ 
    if (self.scrollingEnabled) {  
      [super scrollWheel:theEvent];  
     } 
    else {  
       //scrolling is disabled. 
    } 
}

This technique will work in most cases, but there may be times when a view inside of a scroll view implements autoscrolling behavior (perhaps if the view is a dragging destination). If you need to temporarily disable scrolling in such a case, you should also subclass NSClipView and block scrolling by overriding the -constrainBoundsRect: method like this:

-(NSRect)constrainBoundsRect:(NSRect)proposedBounds
{
    MyScrollViewSubclass *mainScrollView = (MyScrollViewSubclass*)self.superview;
 
    if (mainScrollView.scrollingEnabled)
    {
        return [super constrainBoundsRect:proposedBounds];
    }
    else
    {
        //Disabled
        return self.documentVisibleRect;
    }
}