GnuCash on a Mac
Robert Kesterson
robertk at robertk.com
Sun Jan 3 08:18:31 EST 2016
You can do the same thing on the Mac, it's just a little more
complicated. On windows you make a shortcut and edit the arguments. On
the mac you make an application script and change the icon. Same thing,
just in reverse.
1. Launch Automator (in the Applications folder).
2. Choose "Application" as the type of document.
3. Type "shell script" in the filter and double click on "Run Shell
Script" to add a shell script to the application.
4. On the right you will see a text box with the word "cat" in it.
Delete this, then type the following command in the text box: open -n
/Applications/Gnucash.app --args /full/path/to/your/data/file/here &
5. Press Apple-s to save it. Name it whatever you like and put in the
Applications folder.
6. Now find Gnucash in the Applications folder and single-click it to
highlight it (don't launch the application).
7. Press Apple-i to get the info window on this application.
8. Click on the icon inside the info window.
9. Press Apple-c to copy the icon.
10. Find the Automator Script you saved in step 5 and singleclick it to
highlight it (don't launch the application).
11. Press Apple-i to get the info window on this application.
12. Click on the icon inside the info window.
13. Press Apple-v to paste the icon.
14. Close the info window.
Now you should have a new application in your Applications folder that
will run Gnucash with your selected accounts file. Just click to open
like you would any other application.
Credit: These instructions taken and modified from a blog post at
http://blog.alizweb.com/post/44716451471/windows-like-app-shortcut-w-command-line
(that post talks about Chrome, I just changed it to be Gnucash instead).
> Jill Terry <mailto:jill at babrees.co.uk>
> January 3, 2016 at 1:58 AM
> Just trying to get to grips with the transition from PC to Mac!
>
> I have 3 sets of different accounts using GnuCash. On the PC I had a
> short-cut on my desktop for each account and I would just double click
> on that to open that set of accounts.
>
> I have tried to set this up on the Mac but failed. I added an alias
> for each account on the desktop, but when I double click that GnuCash
> simply opens up with the last Accounts used, not the set I clicked
> on. I have tried dragging and dropping the file onto the program
> icon and even opening up GnuCash and then dragging the file on to
> that, but nothing works.
>
> Is the ONLY way to open a specific set of accounts to first open
> GnuCash and then File/Open ?
>
> Cheers
> Jill
>
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list