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
Update the automator actions #1786
Conversation
Fixes #915 Changes: * Use the .xcconfig files from the main project * Rebuild for x86_64 * Upgrade .xcodeprojs * Fix any warnings
I can’t get anything to work in Automator, but I don’t really know what I’m doing. I even tried building them signed in case that matters and saw the same results. |
Why did you have to test it eh? :P I’ve just tried and I can confirm that things are screwy. I’ve looked it over and can’t figure out why (I know just as much about automator actions as you). I’ll have to learn I guess :) On 1 Mawrth 2014, at 03:09, Rob McBroom notifications@github.com wrote:
|
I’ve figured out how to debug Automator actions (all the docs are for Xcode 3) so I’m on my way. I’ll get there soon enough ;-) On 3 Mawrth 2014, at 09:50, Patrick Robertson robertson.patrick@gmail.com wrote:
|
When using the helper/block method arrayByEnumeratingArrayUsingBlock
Fixes the Automator actions, and removes redundant/confusing code.
OK, see my commits. I've changed things round a bit... seems like Apple's support for AppleScript if getting more and more flaky. Instead of advertising that QS sends/receives Apple Event objects, I just specified some 'special' Cocoa types. (See the Automator docs for more info - search for 'Automator Action Property Reference' and go to the first 'SDK Guides' result) This also affects how the AppleScript: tell application "Quicksilver"
set qsSelection to selection
-- do something
end tell works, but I've tested it and it still works fine. Might be worth somebody else testing it as well though. |
Still getting errors, but maybe Launch Services hasn’t seen the changes? I rebuilt both actions, but Git doesn’t show any differences. Have they not changed at all? (I didn’t see them updated the second commit, either, so maybe they haven’t changed.) |
Yeah you’ll probably need to wipe all other QS versions of your computer. I’ve set up the schemes to be shared, so you should be able to debug now (under Debug). Running the Automator action will launch Automator with the correct actions. As long as you only have one debug QS running (from the automator branch) then it should work fine On 11 Mawrth 2014, at 21:07, Rob McBroom notifications@github.com wrote:
|
Found more information on the console.
I’m not sure where it’s looking, but I’ve removed everything but the copy in This also happens if I try to Build & Run in Xcode, as described by Mac OS X Automation. |
Yeah I saw that strange thing in Console.app. Couldn’t figure it out. I think clearing derived data and restarting Xcode may have helped with that, I’m not too sure. On 12 Mawrth 2014, at 21:35, Rob McBroom notifications@github.com wrote:
|
OK, I was missing the last commit for some reason. Deleted my schemes, and built with the shared ones. I found that they end up in Then, same error, but… I started typing a message here, but wanted to verify that it wasn’t actually a different error in case that would be useful, so I launched Automator for another try and suddenly, the actions started working! So, you got them working.
|
Plus: update Info.plist with up-to-date version numbers/copyrights
Yay, so you got it working! The actions shouldn't need to be in the QS app for our debugging purposes (since we're defining You're right the newly build apps should be copied to the right place. I've updated them now (along with the info.plist) Finally, there should be no need to install the actions. Automator automatically scans bundles. |
Great. Looks like it all works now. |
Fixes #915
Changes:
Says it all really. After import the 'configuration' folder, all I did was hit 'build' and everything was updated for me :)
Oh - now I think about it. The should probably be build by @skurfer and code signed :)
It should be pretty simple. The build phases even move the build products to the right folder!