FinderPop 2.4.9 not working in Lion[Up to topic list]  [Home]

Who What
billearl
24 Jul 2013, 18:26
FinderPop 2.4.9 not working in Lion
Sorry for reporting this after release of FP 2.4.9, but it appears AppleScript scripts which are intended to operate on the Finder selection do not work in Lion. Nothing happens when one is selected.

They do work in Mavericks (have not tested Mountain Lion). Reverting to FP 2.4.6 fixed the problem in Lion.
turly
25 Jul 2013, 09:20
Re: FinderPop 2.4.9 not working in Lion
Hmm, that's odd.

Will have a look at the weekend ... am up walls with 'real' work right now, sorry!
billearl
26 Jul 2013, 02:37
Re: FinderPop 2.4.9 not working in Lion
On further testing, FP 2.4.7 works, but FP 2.4.8 does not, so it's probably related to a change in 2.4.8. Maybe "Fix bug in escaping pathnames passed to shell when running scripts"?

As you're probably aware, FinderPop 2.4.7 (and prior) failed silently when trying to pass a pathname containing an apostrophe (ascii 39). FP 2.4.8 and 2.4.9 fail silently with ALL pathnames, not just ones containing apostrophes.

So I'll use FP 2.4.7 for now.
billearl
29 Jul 2013, 21:25
Re: FinderPop 2.4.9 not working in Lion
FinderPop 2.4.9 scripts also do not work in Mountain Lion (10.8.4).
turly
30 Jul 2013, 08:57
Re: FinderPop 2.4.9 not working in Lion
Hey Bill - sorry for the delay, got caught up with real life.

Try this fixed version of FinderPop - version 2.5 !

Only change was to fix that bug when consing up arg strings for scripts.

I'll announce version 2.5 "officially" later this evening. Unless of course it's not fixed, but it looked OK to me.

PS: If you have the CAPS LOCK key pressed, FinderPop will print the string that it passes to the 'system' command to run shell scripts and Applescripts. You can view this string in the console, for example:
Code:
30/07/2013 10:17:56.152 Finder[4964]: FinderPop.scpt - "cd /Users/turly/Library/FinderPop Items/Scripts && FP_NARGS=1 FP_CLICKWIN=/Users/turly/Desktop /usr/bin/osascript /Users/turly/Library/FinderPop Items/Scripts/AppleScript Echo.scpt /Volumes/TV &"
billearl
30 Jul 2013, 19:17
Re: FinderPop 2.4.9 not working in Lion
Thanks, Turly. That fixed the problem (including escaping of apostrophes).

I tested it in Lion and Mavericks. Probably of little consequence at the moment, but in Mavericks, the FinderPop scripts do not appear when a folder is selected on the Desktop (also the case with FP 2.4.9, but I just discovered it now).