Opening Nisus with a shortcut?
Opening Nisus with a shortcut?
Is it possible to open Nisus itself (or any application for that) with a shortcut from the finder?
Re: Opening Nisus with a shortcut?
You could try using spotlight: just trigger spotlight using the according key combination, then start typing nisus, once it is selected (if not automatically, use the arrow keys) hit return. This way, you can start any app or open documents. If you want something moe sophisticated, there are a number of launcher apps; personally I like launchbar (http://www.obdev.at/products/launchbar/index.html) which behaves a bit like the spotlight trick described above, but there are also things that work differently. I think you can define keuyboard shortcuts in some of these.
Martin
Martin
Re: Opening Nisus with a shortcut?
Yes. I used to do something like this.js wrote:Is it possible to open Nisus itself (or any application for that) with a shortcut from the finder?
1. Download FastScripts (http://www.red-sweater.com/fastscripts/) and put it somewhere under one of Applications folder.
It is a better replacement of Script Menu (/System/Library/CoreServices/Menu Extras/Script Menu.menu) and allows you to assign keyboard shortcuts to up to 10 scripts in freeware mode. It would be handy to add it to your login items.
2. Create a folder /Users/you/Library/Scripts/Applications/Finder/ and put a shell script like this (attached) in it.
Code: Select all
#! /bin/sh
open -a 'Nisus Writer Pro.app'Code: Select all
## Make Executable ###
# Make executable file(s) you have selected in Choose Files dialog.
Require Pro Version 1.2
$doc = Document.active
$folder = '~/Documents'
if $doc != undefined
if $doc.filePath != undefined
$folder = $doc.filePath.filePathByRemovingLastComponent
end
end
$files = Choose Files $folder, 'Make Executable'
if $files
Set Exported Perl Variables 'files'
begin Perl
foreach $file (@files) {
`/bin/chmod a+x "$file"`;
}
end
end
### end of macro ###Re: Opening Nisus with a shortcut?
If you, not necessarily the original poster, want to let Nisus Writer Pro open file(s) selected in the Finder using a keyboard shortcut, you can use an AppleScript like this at the step 2 instead of the shell script.
As I'm not familiar with AppleScript, I just modified a script found at http://pixelignition.net/apple/applescript.
Code: Select all
tell application "Finder"
set selectedItems to selection
repeat with i in selectedItems
open i using application file id "com.nisus.NisusWriter"
end repeat
end tellRe: Opening Nisus with a shortcut?
Sorry, I don't quite understand the procedure for this:
2. Create a folder /Users/you/Library/Scripts/Applications/Finder/ and put a shell script like this (attached) in it.
Re: Opening Nisus with a shortcut?
1. Create "Scripts" folder under "Library" folder in your home (not at the root level);
2. Create "Applications" folder under "Scripts" folder just created;
3. Create "Finder" folder under "Applications" folder just created;
4. Put OpenNWP.sh in "Finder" folder just created.
Alternatively, you can run the following NW Pro macro which will create those folders, generate the script and make it executable.
2. Create "Applications" folder under "Scripts" folder just created;
3. Create "Finder" folder under "Applications" folder just created;
4. Put OpenNWP.sh in "Finder" folder just created.
Alternatively, you can run the following NW Pro macro which will create those folders, generate the script and make it executable.
Code: Select all
$script = "#!/bin/sh\n\nopen -a 'Nisus Writer Pro.app'\n"
$path = User Property 'home folder path'
$path &= '/Library/Scripts/Applications/Finder/OpenNWP.sh'
File.writeDataToPath $script, $path # parent folders will be created automatically
begin Perl
`/bin/chmod a+x "$path"`; # set executable bit
endRe: Opening Nisus with a shortcut?
Thanks, Kino. This works really fast.
Quicksilver is another good launcher app
http://docs.blacktree.com/quicksilver/w ... uicksilver
It's a perpetual beta, but it's solid and it's free.
It's a perpetual beta, but it's solid and it's free.
Re: Quicksilver is another good launcher app
I just want to second the suggestion, I've used quicksilver for years now. You can find tutorials in youtube since the program comes with no instructions....Bob Stern wrote:http://docs.blacktree.com/quicksilver/w ... uicksilver
It's a perpetual beta, but it's solid and it's free.