Skip to content
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

Use UTIs for AppleScript actions Fixes #1916 #1917

Merged
merged 1 commit into from Aug 28, 2014
Merged

Use UTIs for AppleScript actions Fixes #1916 #1917

merged 1 commit into from Aug 28, 2014

Conversation

pjrobertson
Copy link
Member

@pjrobertson pjrobertson commented Aug 25, 2014

Makes sure that AppleScript actions have their direct/indirect types converted to UTIs.

Note: The wiki/docs should be updated to state that UTIs can now be used for AppleScript actions, so you can filter by UTI for direct/indirect type.
E.g. indirect type: only folders

:)

@pjrobertson pjrobertson changed the title Use UTIs for AppleScript actions Use UTIs for AppleScript actions Fixes #1917 Aug 25, 2014
pjrobertson added a commit that referenced this issue Aug 25, 2014
@pjrobertson pjrobertson changed the title Use UTIs for AppleScript actions Fixes #1917 Use UTIs for AppleScript actions Fixes #1916 Aug 25, 2014
skurfer added a commit that referenced this issue Aug 28, 2014
Use UTIs for AppleScript actions Fixes #1916
@skurfer skurfer merged commit 735ca27 into master Aug 28, 2014
1 check failed
@skurfer skurfer deleted the ASUTIs branch Aug 28, 2014
@skurfer
Copy link
Member

@skurfer skurfer commented Aug 28, 2014

Now, what about #1826?

skurfer added a commit that referenced this issue Aug 28, 2014
@pjrobertson
Copy link
Member Author

@pjrobertson pjrobertson commented Aug 28, 2014

That's unrelated really. That pull is more about trying to manage how QS deals with objects returned from an AS. This pull dealt with dObject/iObject types.

We still have no idea how to convert returned objects into their correct type, except using sniffWithString:

@studgeek
Copy link

@studgeek studgeek commented Sep 25, 2014

It doesn't look like the wiki was updated with this (http://qsapp.com/wiki/AppleScript_Types). I would be happy to add it, assuming I knew exactly what it does :). I'm guessing you can now list a UTI string for a type which means it works items that are a file of the given UTI type?

@pjrobertson
Copy link
Member Author

@pjrobertson pjrobertson commented Sep 25, 2014

Yep, so for the get direct types and get indirect types you can list any file UTI to narrow down the types of files the action works with. E.g. specifying com.apple.application-bundle then the applescript action would only work with files.

Yes please - if you could update the wiki that'd be useful :)

@studgeek
Copy link

@studgeek studgeek commented Sep 27, 2014

I've updated http://qsapp.com/wiki/AppleScript_Types with some UTI information and a little more on how to get QS Object Types. Please do double-check I have it right :).

@pjrobertson
Copy link
Member Author

@pjrobertson pjrobertson commented Sep 28, 2014

Yep, it looks good. I see you’ve already added a link to the Apple UTI list which is great :)

On 28 Medi 2014, at 00:03, David Rees notifications@github.com wrote:

I've updated http://qsapp.com/wiki/AppleScript_Types with some UTI information and a little more on how to get QS Object Types. Please do double-check I have it right :).


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants