-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Third pane not showing for (example.scpt)(Open File...) #603
Comments
I'm not too sure myself how that action works. Perhaps you want to save the applescript in the Actions folder in ~/Library/Application Support/Quicksilver/Actions and then run it as an action? @philostein knows a lot more about applescripts than me. |
Sounds similar to the problem we had with “process text”. It’s been a while since I looked at that section of the code, but I’d bet it has to do with the argument count being determined incorrectly. |
So, is this going to be assigned to anyone? Running AppleScripts in this way is one of my favourite ways to use QS. :) |
Unfortunately a lot of us have our hands full at the moment. Can you pinpoint when this bug was introduced? Which QS version? That will make it easier for us to track and fix. |
The majority of issues never get assigned. Don’t read too much into it. :-) |
The bug is present in β62. For whatever reason, when I try to test using β61 and lower, the Open File... action is not available at all (probably a side effect of running an older version with a set of prefs from β63), so I can't say for sure if it was present then. Jon On 2011-12-11, at 3:46 PM, Patrick Robertson wrote:
|
When I work on #623, I’ll probably be in the neighborhood of where this happens, so I’ll try to look at it too.
I still run B54 sometimes and it works just fine. :-) There were other similar problems with AppleScript and |
Excellent! |
I'm not sure how busy @ddlsmurf is at the moment, but he worked on allowing On 25 January 2012 19:00, Sesquipedalian <
|
Sorry, IIRC, my work was on when the apple script is an action, I have no insight on this one... |
Sorry Eric, I guess I must have mixed things up. I appreciate you getting back to us! Good luck with everything |
Yeah, what @ddlsmurf did involved fancy new features. I suspect this is just a bug somewhere involving |
From a a very brief github browse, it looks like this should also handle |
That was it. |
Thanks, I can confirm this is working in ß65 Lion. In Lion, if you're testing, the Finder line needs to read: tell application "Finder" to display dialog (name of item 1 of theFile) |
EDIT: Never mind, I misread lovequicksilver's post. Thanks to skurfer for fixing this! |
Apologies, should've been more specific. The script produces pane 3 and executes, but doesn't show any visible result. I seem to recall that before SL, a single file selection's class was an alias(?) as opposed to a list for multiple items. In Lion at least, a single file selection is also returned as a list. Finder can't display a list in a dialog. My new code still fails though, so here's a revised version: set _name to (name of item 1 of theFile) |
AppleScripts that include the on open handler are given the Open File... action in QS. However, the third pane is not made available to select a file.
To reproduce:
on open theFile
tell application "Finder" to display dialog name of theFile
end open
Quicksilver β63(3912)
Mac OS X 10.7.2
The text was updated successfully, but these errors were encountered: