-
Notifications
You must be signed in to change notification settings - Fork 285
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
return an array in action applescripts #1825
Comments
Thanks for reporting this. You're right, it is a bug. I have submitted a fix, which will find its way into a QS release at some point. |
Many thanks for the quick fix. The scripting will be more expressive after that. It would be more fantastic if quicksilver can handle arrays or even other data structures directly in the future. By the way, what I want to implement is an enhanced version of "show results for". I'd like to view the search results instantly in quicksilver to avoid opening too many search pages, but currently the "show results for" simply returns every hyperlinks in the result, which is not very practical (the first ones of googled results are links to images or news search, for example). Is there any advice for the specific use case? |
QuickSilver Version 1.1.3
OS X Mavericks 10.9.2
Hi,
Recently I want to write an action which returns a list of objects, which can be selected afterwards in the first pane. According to the documentation at http://qsapp.com/wiki/AppleScript_Actions#Returning_Items_to_Quicksilver it is possible:
But there was a discussion claimed that only strings were acceptable, which made me a bit confused.
In practice, when I returned something like
return {"1", "2", "3"}
, there was simply no result. And in Console.app I found the following:I know I can return something like "1\n2\n3\n" but an extra click is needed to expand it. It will be ideal if returning arrays are possible, or am I missed something?
The text was updated successfully, but these errors were encountered: