So it looks like if I actually let the latest QS (from git) save the
Triggers.plist, it uses a new format which now loads properly (even in
the B58(3814) build).  The new format is saving the direct/indirect
objects as archives now instead of just plain <string>:


                <dict>
                        <key>ID</key>
                        <string>A4885393-359A-49C3-8A43-F82A3646AEF2</string>
                        <key>command</key>
                        <dict>
                                <key>actionID</key>
                                <string>QSShellScriptRunAction</string>
                                <key>directArchive</key>
                                <dict>
                                        <key>class</key>
                                        <string>QSObject</string>
                                        <key>data</key>
                                        <dict>
                                                <key>NSFilenamesPboardType</key>
                                                <array>
                                                        
<string>/Users/aw/Projects/rectalogic/window-manager/
window_manager.rb</string>
                                                </array>
                                                <key>NSStringPboardType</key>
                                                
<string>/Users/aw/Projects/rectalogic/window-manager/
window_manager.rb</string>
                                        </dict>
                                        <key>properties</key>
                                        <dict>
                                                <key>QSObjectName</key>
                                                
<string>/Users/aw/Projects/rectalogic/window-manager/
window_manager.rb</string>
                                                <key>QSObjectType</key>
                                                
<string>NSFilenamesPboardType</string>
                                        </dict>
                                </dict>
                                <key>directID</key>
                                
<string>/Users/aw/Projects/rectalogic/window-manager/
window_manager.rb</string>
                                <key>indirectArchive</key>
                                <dict>
                                        <key>class</key>
                                        <string>QSObject</string>
                                        <key>data</key>
                                        <dict>
                                                <key>QSTextProxyType</key>
                                                <string></string>
                                        </dict>
                                        <key>properties</key>
                                        <dict>
                                                <key>QSObjectName</key>
                                                <string></string>
                                                <key>QSObjectType</key>
                                                <string>QSTextProxyType</string>
                                        </dict>
                                </dict>
                        </dict>
                        <key>enabled</key>
                        <true/>
                        <key>keyCode</key>
                        <integer>83</integer>
                        <key>modifiers</key>
                        <integer>2490627</integer>
                        <key>onPress</key>
                        <true/>
                        <key>type</key>
                        <string>QSHotKeyTrigger</string>
                </dict>

On Mar 29, 2:39 pm, Paul Kohut <[email protected]> wrote:
> Hey Andrew, sounds like you've got a pretty good handle on the issue,
> are you able to implement the changes and test?  Unfortunately I can't
> reproduce the trigger issue.
>
> On Mar 28, 12:53 pm, rectalogic <[email protected]> wrote:
>
>
>
> > So maybe QSCommand-dObject etc. need to handle the case where
> > "directID" exists in the commandDict, but is not a valid QSObject or
> > QSAction identifier, and in that case do
> > [self setDirectObject:[QSObject objectWithName:[[self commandDict]
> > objectForKey:@"directID"]]]
>
> > Andrew

Reply via email to