# Secret Agent on MacOS Majove not working

**URL:** <https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180>\
**Category:** Issues\
**Created:** [October 20, 2018, 11:23pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180 "2018-10-20T23:23:10Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcschell](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jcschell](https://discuss.zetetic.net/u/jcschell)\
**Post date:** [October 20, 2018, 11:23pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/1 "2018-10-20T23:23:11Z")

</div>

Just upgraded to MacOS 10.14 Majove and SecretAgent stopped working.  
Codebook preferences show it is turned off and when I try to turn it on it directs me to choose the scripts folder,  
But that folder can not be selected.  
See screenshot where the “Choose User scripts folder” is not active.  
Thanks

 ![26%20PM](https://us1.discourse-cdn.com/flex016/uploads/zetetic/original/1X/9275d31e7287c8d9f44e3dfb5ba2912c5c2a72d5.jpeg)

---

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [October 22, 2018, 1:22pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/2 "2018-10-22T13:22:37Z")

</div>

Hello @jcschell

Would you confirm whether you have added Codebook to the Accessibility section within System Preferences → Security & Privacy → Privacy → Accessibility?

 ![19%20AM](https://us1.discourse-cdn.com/flex016/uploads/zetetic/original/1X/5339a7fb18e169b599697a2cd25f4ce173af3839.jpeg)

---

<div class="post-metadata">

**Author:** ![jcschell](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jcschell](https://discuss.zetetic.net/u/jcschell)\
**Post date:** [October 23, 2018, 7:35pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/3 "2018-10-23T19:35:47Z")

</div>

It wasn’t so I added it.  
Still no luck.  
I completely uninstalled and reinstalled Codebook  
Still not able to set up secretAgent  
See images.

 ![39%20PM](https://us1.discourse-cdn.com/flex016/uploads/zetetic/original/1X/a696597e08cb8c60a45be916ee1ae9f79fc64b46.jpeg) ![47%20PM](https://us1.discourse-cdn.com/flex016/uploads/zetetic/original/1X/c93fcfdd5622f8f26a1ce6fe67ab777145729737.jpeg)

---

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [October 23, 2018, 8:50pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/4 "2018-10-23T20:50:43Z")

</div>

Hello @jcschell

Are you using a beta release of Codebook for macOS by chance? What version do you have installed?

---

<div class="post-metadata">

**Author:** ![jcschell](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jcschell](https://discuss.zetetic.net/u/jcschell)\
**Post date:** [October 26, 2018, 8:10pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/5 "2018-10-26T20:10:31Z")

</div>

V3.6.6 via the Apple Store

![48%20PM](https://us1.discourse-cdn.com/flex016/uploads/zetetic/original/1X/9b3b5e3ae4c2bf97ced972e5c602dec60cfc3039.png)

---

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [October 26, 2018, 8:49pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/6 "2018-10-26T20:49:07Z")

</div>

Hello @jcschell

Is there any chance you have more than one copy of Codebook for macOS on your machine (i.e., in two different folders)? Just to confirm how many you have, would you launch the Terminal application (located within the Utilities folder within Applications) and execute the following command:

```auto
find / -name Codebook*.app 2> /dev/null

```

---

<div class="post-metadata">

**Author:** ![jcschell](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jcschell](https://discuss.zetetic.net/u/jcschell)\
**Post date:** [October 26, 2018, 9:03pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/7 "2018-10-26T21:03:27Z")

</div>

I guess this means that only 1 exists.

 ![37%20PM](https://us1.discourse-cdn.com/flex016/uploads/zetetic/original/1X/d706f43f8a4dc04da08ecd26adf721ecb10c7527.png)

---

<div class="post-metadata">

**Author:** ![jcschell](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jcschell](https://discuss.zetetic.net/u/jcschell)\
**Post date:** [October 26, 2018, 9:04pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/8 "2018-10-26T21:04:10Z")

</div>

Oops, here is the completed run

 ![43%20PM](https://us1.discourse-cdn.com/flex016/uploads/zetetic/original/1X/f81c1c583600269de25b1441a36885931bbb7118.png)

---

<div class="post-metadata">

**Author:** ![jcschell](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jcschell](https://discuss.zetetic.net/u/jcschell)\
**Post date:** [October 26, 2018, 9:09pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/9 "2018-10-26T21:09:46Z")

</div>

Does this help?

 ![39%20PM](https://us1.discourse-cdn.com/flex016/uploads/zetetic/original/1X/1983c707fd172803fa226b76d31c5d02a58caccd.jpeg)

---

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [October 26, 2018, 9:32pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/10 "2018-10-26T21:32:47Z")

</div>

Hello @jcschell

To rule out a local corruption of the installation, would you mind deleting the application located within your `/Applications` folder, then reinstalling directly from the macOS App Store? Your data will remain safe as it is stored in a separate location from the application. Thanks!

---

<div class="post-metadata">

**Author:** ![jcschell](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jcschell](https://discuss.zetetic.net/u/jcschell)\
**Post date:** [October 26, 2018, 9:46pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/11 "2018-10-26T21:46:35Z")

</div>

I tried that before I started the thread.

---

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [October 26, 2018, 9:57pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/12 "2018-10-26T21:57:52Z")

</div>

Hello @jcschell

Would you be interested in try a beta build of Codebook for macOS to see if that resolves the issue?

---

<div class="post-metadata">

**Author:** ![jcschell](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jcschell](https://discuss.zetetic.net/u/jcschell)\
**Post date:** [October 26, 2018, 10:00pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/13 "2018-10-26T22:00:52Z")

</div>

Yes I’d be happy to.

---

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [October 26, 2018, 10:03pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/14 "2018-10-26T22:03:04Z")

</div>

Hello @jcschell

We have just added you to the Codebook Beta group on discuss, you should now see a link in the navigation. We have posted new beta builds available there. Would you try the latest beta when you get the chance and keep us posted? Thanks!

---

<div class="post-metadata">

**Author:** ![jcschell](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jcschell](https://discuss.zetetic.net/u/jcschell)\
**Post date:** [October 26, 2018, 10:21pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/15 "2018-10-26T22:21:03Z")

</div>

short answer: same behavior. I posted the details at:  
[https://discuss.zetetic.net/t/codebook-for-macos-beta-3-7-0-desert-fox-new-installer/2983](https://discuss.zetetic.net/t/codebook-for-macos-beta-3-7-0-desert-fox-new-installer/2983)

---

<div class="post-metadata">

**Author:** ![mmoore](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/mmoore/32/858_2.png) [@mmoore](https://discuss.zetetic.net/u/mmoore)\
**Post date:** [October 29, 2018, 6:02pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/16 "2018-10-29T18:02:29Z")

</div>

For anyone else experiencing the same issue, here’s a further explanation/workaround:

An application called ViewIt was associating anything with a `.mac` extension with itself (causing it to no longer be a “folder” type). So when you attempt to select it when enabling Secret Agent, it doesn’t allow you to (because the open prompt for Secret Agent only allows folder selection).

Unfortunately, there’s not really a built in/easy way of un-associating the .mac extension with the ViewIt application.

Previously I believe you could use a third party app like RCDefaultApp ([http://www.rubicode.com/Software/RCDefaultApp/](http://www.rubicode.com/Software/RCDefaultApp/)) to “un-associate” the .mac extension, but it hasn’t been updated in a long time and doesn’t work on Mojave (at least from my testing).

This workaround should allow you to select/enable Secret Agent and then bring the ViewIt app back into place:

1. Open Finder \> Applications, move the ViewIt app to the trash (but don’t empty the trash).
2. Open and Unlock Codebook. Preferences \> Enable Secret Agent and attempting to select the net.zetetic.Strip.mac folder (I was able to select it on my end as long as the ViewIt app was currently in the trash).
3. Confirm that Secret Agent is working properly again.
4. Go to the trash select ViewIt \> Right (ctrl) Click \> Put Back
5. Attempt to call Secret Agent again to ensure it’s still working properly.

It seems that associating `.mac` extension with the ViewIt app tend to negatively affect other applications (other than Codebook) as it’s relatively standard to name your containers with a `.mac` extension. Hopefully the ViewIt application developers will rectify this in the future, but until that point our recommendation is to either use the workaround posted above, or uninstall ViewIt.

---

<div class="post-metadata">

**Author:** ![jcschell](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jcschell](https://discuss.zetetic.net/u/jcschell)\
**Post date:** [October 30, 2018, 1:39pm UTC](https://discuss.zetetic.net/t/secret-agent-on-macos-majove-not-working/3180/17 "2018-10-30T13:39:16Z")

</div>

I found a great replacement viewer for ViewIt.  
ApolloOne  
It is fast, does everything ViewIt did and then some.  
No compromise here.

> **[‎ApolloOne - Photo Video Viewer](https://itunes.apple.com/us/app/apolloone-photo-video-viewer/id1044484672?mt=12)**
>
> ‎Designed from the ground up as a fast, efficient and feature rich media viewer. ApolloOne uses advanced Operating System features such as multi-threading, Grand Central Dispatch, and Core Image graphics to ensure app responsiveness.
> 
> HEADLINE...
