Now, ^⌘L copies the Dropbox URL of any number of files selected in the Dropbox folder.
","body@stripHtml({\"removeProcessingText\":true,\"removeSpoilerMarkup\":true,\"removeTocMarkup\":true,\"truncateLength\":200})@stringLength":"213","postTime":"2021-07-03T14:01:26.578-07:00","lastPublishTime":"2023-04-27T09:35:09.203-07:00","images":{"__typename":"AssociatedImageConnection","edges":[{"__typename":"AssociatedImageEdge","cursor":"MjUuMXwyLjF8b3wyNXxfTlZffDE","node":{"__ref":"AssociatedImage:{\"url\":\"https://www.dropboxforum.com/t5/s/mxpez29397/images/bS01MzA3NjEtMjQyNDNpQ0FBMEJBNDQwQjk5NEJEMg?revision=3\"}"}},{"__typename":"AssociatedImageEdge","cursor":"MjUuMXwyLjF8b3wyNXxfTlZffDI","node":{"__ref":"AssociatedImage:{\"url\":\"https://www.dropboxforum.com/t5/s/mxpez29397/images/bS01MzA3NjEtMjQyNDRpNkVGNkIzNUVFRTE0QjJDNg?revision=3\"}"}}],"totalCount":2,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"attachments":{"__typename":"AttachmentConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"solution":true,"metrics":{"__typename":"MessageMetrics","views":9151},"placeholder":false,"originalMessageForPlaceholder":null,"videos":{"__typename":"VideoConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"isEscalated":null,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:530761","customFields":[]},"ModerationData:moderation_data:651855":{"__typename":"ModerationData","id":"moderation_data:651855","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ModerationData:moderation_data:651699":{"__typename":"ModerationData","id":"moderation_data:651699","status":"APPROVED","rejectReason":null},"Rank:rank:41":{"__typename":"Rank","id":"rank:41","position":24,"name":"Collaborator | Level 8","color":"333333","icon":null,"rankStyle":"TEXT"},"ModerationData:moderation_data:630875":{"__typename":"ModerationData","id":"moderation_data:630875","status":"APPROVED","rejectReason":null},"ModerationData:moderation_data:592150":{"__typename":"ModerationData","id":"moderation_data:592150","status":"APPROVED","rejectReason":null},"ModerationData:moderation_data:592130":{"__typename":"ModerationData","id":"moderation_data:592130","status":"APPROVED","rejectReason":null},"User:user:1534819":{"__typename":"User","id":"user:1534819","login":"mbiaso","uid":1534819,"deleted":false,"avatar":{"__typename":"UserAvatar","url":"https://www.dropboxforum.com/t5/s/mxpez29397/m_assets/avatars/default/avatar-12.svg?time=0"},"rank":{"__ref":"Rank:rank:45"},"email":"","messagesCount":3,"biography":null,"topicsCount":0,"kudosReceivedCount":0,"kudosGivenCount":1,"kudosWeight":1,"registrationData":{"__typename":"RegistrationData","status":null,"registrationTime":"2022-04-14T13:46:49.273-07:00","confirmEmailStatus":null},"followersCount":null,"solutionsCount":0},"ForumReplyMessage:message:592130":{"__typename":"ForumReplyMessage","id":"message:592130","revisionNum":1,"uid":592130,"depth":5,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","readOnly":true,"editFrozen":false,"moderationData":{"__ref":"ModerationData:moderation_data:592130"},"body":"the thing is, I'm trying to find a way where I don't need to point my mouse at the file....only the keyboard highlight wold be enough...
","body@stringLength":"143","rawBody":"the thing is, I'm trying to find a way where I don't need to point my mouse at the file....only the keyboard highlight wold be enough...
","author":{"__ref":"User:user:1534819"},"isEscalated":null,"postTime":"2022-04-20T07:45:18.699-07:00"},"ForumReplyMessage:message:592150":{"__typename":"ForumReplyMessage","id":"message:592150","revisionNum":3,"uid":592150,"depth":6,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","readOnly":true,"editFrozen":false,"moderationData":{"__ref":"ModerationData:moderation_data:592150"},"body":"I don't think it's possible to fix either problem, unfortunately dhermanq. If the API can't find the file to create a shared link with (presumably because it's not yet fully uploaded), then that error makes sense. As to why it works when using the contextual menu item, I have no idea. Perhaps they're using another method which is unavailable to the Dropbox Python API. And the speed thing is unfortunate, but kind of comes with the territory of Automator/AppleScript. 😞
And mbiaso you're right, I forgot that the BTT action uses the location of the cursor, not the Finder selection. You have to use Automator to get that, which means you're back using my script. So follow the setup instructions and hopefully it will work for you.
","body@stringLength":"1205","rawBody":"I don't think it's possible to fix either problem, unfortunately
And
Hi Gene_Parmesan,
Migrate your code to use refresh token (together with the access one). Otherwise your script users will need access token update by hands quite often. Also cache the access token and wipe out all calls not related to the link receiving to speed up the process (every call - meaningful or not - takes time).
","body@stringLength":"532","rawBody":"Hi
Migrate your code to use refresh token (together with the access one). Otherwise your script users will need access token update by hands quite often. Also cache the access token and wipe out all calls not related to the link receiving to speed up the process (every call - meaningful or not - takes time).
","author":{"__ref":"User:user:422790"},"isEscalated":null,"postTime":"2022-10-21T06:59:24.031-07:00","parent":{"__ref":"ForumReplyMessage:message:592150"}},"ForumReplyMessage:message:651699":{"__typename":"ForumReplyMessage","id":"message:651699","revisionNum":1,"uid":651699,"depth":8,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","readOnly":true,"editFrozen":false,"moderationData":{"__ref":"ModerationData:moderation_data:651699"},"body":"
Здравко wrote:Hi Gene_Parmesan,
Migrate your code to use refresh token (together with the access one). Otherwise your script users will need access token update by hands quite often. Also cache the access token and wipe out all calls not related to the link receiving to speed up the process (every call - meaningful or not - takes time).
Thanks for the suggetions. I've moved the code into a repo and would be hppy to accept a pull request.
","body@stringLength":"995","rawBody":"wrote: Hi
, Migrate your code to use refresh token (together with the access one). Otherwise your script users will need access token update by hands quite often. Also cache the access token and wipe out all calls not related to the link receiving to speed up the process (every call - meaningful or not - takes time).
Thanks for the suggetions. I've moved the code into a repo and would be hppy to accept a pull request.
","author":{"__ref":"User:user:1455736"},"isEscalated":null,"postTime":"2023-01-17T07:07:31.056-08:00","parent":{"__ref":"ForumReplyMessage:message:630875"},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"Revision:revision:651855_2":{"__typename":"Revision","id":"revision:651855_2","lastEditTime":"2023-01-18T08:42:42.439-08:00"},"QueryVariables:ReplyList:message:651855:2":{"__typename":"QueryVariables","id":"ReplyList:message:651855:2","value":{"id":"message:651855","sorts":{"postTime":{"direction":"ASC"}},"useAvatar":true,"useAuthorLogin":true,"useAuthorRank":true,"useBody":true,"useKudosCount":true,"useTimeToRead":false,"useMedia":false,"useReadOnlyIcon":false,"useRepliesCount":false,"useSearchSnippet":false,"useAcceptedSolutionButton":true,"useSolvedBadge":false,"useAttachments":false,"attachmentsFirst":5,"useTags":false,"useNodeAncestors":false,"useUserHoverCard":false,"useNodeHoverCard":false,"useModerationStatus":true,"usePreviewSubjectModal":false,"useMessageStatus":true}},"CachedAsset:text:en_US-shared/client/components/users/UserAvatar-1740415901145":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/users/UserAvatar-1740415901145","value":{"altText":"{login}'s avatar","altTextGeneric":"User's avatar"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/ranks/UserRankLabel-1740415901145":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/ranks/UserRankLabel-1740415901145","value":{"altTitle":"Icon for {rankName} rank"},"localOverride":false},"CachedAsset:text:en_US-components/messages/AcceptedSolutionButton-1740415901145":{"__typename":"CachedAsset","id":"text:en_US-components/messages/AcceptedSolutionButton-1740415901145","value":{"accept":"Mark as Solution","accepted":"Marked as Solution","errorHeader":"Error!","errorAdd":"There was an error marking as solution.","errorRemove":"There was an error unmarking as solution.","solved":"Solved"},"localOverride":false},"CachedAsset:text:en_US-components/messages/LinearReplyList-1740415901145":{"__typename":"CachedAsset","id":"text:en_US-components/messages/LinearReplyList-1740415901145","value":{"title":"{count, plural, one{# Reply} other{# Replies}}","title@board:BLOG":"{count, plural, one{# Comment} other{# Comments}}","title@board:TKB":"{count, plural, one{# Comment} other{# Comments}}","title@board:IDEA":"{count, plural, one{# Comment} other{# Comments}}","title@board:OCCASION":"{count, plural, one{# Comment} other{# Comments}}","noRepliesTitle":"No Replies","noRepliesTitle@board:BLOG":"No Comments","noRepliesTitle@board:TKB":"No Comments","noRepliesTitle@board:IDEA":"No Comments","noRepliesTitle@board:OCCASION":"No Comments","noRepliesDescription":"Be the first to reply","noRepliesDescription@board:BLOG":"Be the first to comment","noRepliesDescription@board:TKB":"Be the first to comment","noRepliesDescription@board:OCCASION":"Be the first to comment","noRepliesDescription@board:IDEA":"Be the first to comment","messageReadOnlyAlert:BLOG":"Comments have been turned off for this post","messageReadOnlyAlert:TKB":"Comments have been turned off for this article","messageReadOnlyAlert:IDEA":"Comments have been turned off for this idea","messageReadOnlyAlert:FORUM":"Replies have been turned off for this discussion","messageReadOnlyAlert:OCCASION":"Comments have been turned off for this event"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/nodes/NodeAvatar-1740415901145":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/nodes/NodeAvatar-1740415901145","value":{"altTitle":"Node avatar for {nodeTitle}"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/nodes/NodeDescription-1740415901145":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/nodes/NodeDescription-1740415901145","value":{"description":"{description}"},"localOverride":false},"ModerationData:moderation_data:677234":{"__typename":"ModerationData","id":"moderation_data:677234","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:677234":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1455736"},"id":"message:677234","revisionNum":1,"uid":677234,"depth":10,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:651855"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:677234"},"body":"With the help of a user on GitHub, I have changed the script as suggested to use a refresh token and also to save and reuse the access token. I also found an unnecessary API call which was running each time and just slowing things down. So dhermanq, please give this new version a try and see if it speeds things up for you.
I'd suggest everyone upgrade, since this no longer requires generating OAuth2 tokens on the website every few hours. It's a pretty big quality of life improvement.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"postTime":"2023-04-17T04:35:53.041-07:00","lastPublishTime":"2023-04-17T04:35:53.041-07:00","metrics":{"__typename":"MessageMetrics","views":1370},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:677234","repliesCount":28,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"Rank:rank:44":{"__typename":"Rank","id":"rank:44","position":27,"name":"Helpful | Level 5","color":"333333","icon":null,"rankStyle":"TEXT"},"User:user:640507":{"__typename":"User","id":"user:640507","uid":640507,"login":"DavidW2","biography":null,"registrationData":{"__typename":"RegistrationData","status":null,"registrationTime":"2018-03-16T12:56:27.238-07:00"},"deleted":false,"email":"","avatar":{"__typename":"UserAvatar","url":"https://www.dropboxforum.com/t5/s/mxpez29397/m_assets/avatars/default/avatar-5.svg?time=0"},"rank":{"__ref":"Rank:rank:44"},"entityType":"USER","eventPath":"community:mxpez29397/user:640507"},"ModerationData:moderation_data:677310":{"__typename":"ModerationData","id":"moderation_data:677310","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:677310":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:640507"},"id":"message:677310","revisionNum":1,"uid":677310,"depth":11,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:677234"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:677310"},"body":"Are there updated instructions on how to set it up?","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"51","kudosSumWeight":0,"postTime":"2023-04-17T08:29:42.127-07:00","lastPublishTime":"2023-04-17T08:29:42.127-07:00","metrics":{"__typename":"MessageMetrics","views":1355},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:677310","repliesCount":5,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:677319":{"__typename":"ModerationData","id":"moderation_data:677319","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:677319":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:422790"},"id":"message:677319","revisionNum":1,"uid":677319,"depth":12,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:677310"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:677319"},"body":"Hi DavidW2,
If you follow the install steps in Gene_Parmesan's answer, but use my script (see above), doesn't it works? 🤔 If so, can you post details about what error are you getting? Again, it's unlikely the scripts, posted here (not only the my one), work on team/business account - some more coding has to be done, but not added yet (in all posted scripts), by now! For private/individual account (of any subscription type), it should work though. What is your subscription? 🧐
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"postTime":"2023-04-17T09:08:10.311-07:00","lastPublishTime":"2023-04-17T09:08:10.311-07:00","metrics":{"__typename":"MessageMetrics","views":1341},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:677319","repliesCount":0,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:677325":{"__typename":"ModerationData","id":"moderation_data:677325","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:677325":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1455736"},"id":"message:677325","revisionNum":4,"uid":677325,"depth":12,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:677310"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:677325"},"body":"Yes, DavidW2, it's just a minor change to App Key from generating an App Token. You can read full instructions in the README. I don't have a business account, but a previous poster said that they were able to get my script working by changing the ACCOUNT_TYPE variable, set as part of the README instructions. If there's more to it, unfortunately I'm not able to help with that.
I haven't tried running your script, Здравко, although I did read it to puzzle out how your caching worked. That, along with this forum thread and some ideas on config files from this post went into the new design.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"postTime":"2023-04-17T09:37:09.903-07:00","lastPublishTime":"2023-04-17T09:44:18.484-07:00","metrics":{"__typename":"MessageMetrics","views":1331},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:677325","repliesCount":3,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:677327":{"__typename":"ModerationData","id":"moderation_data:677327","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:677327":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:422790"},"id":"message:677327","revisionNum":1,"uid":677327,"depth":13,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:677325"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:677327"},"body":"
Gene_Parmesan wrote:...
I haven't tried running your script, Здравко, although I did read it to puzzle out how your caching worked. ...
To be honest, I'm not sure can understand what you ask actually. 🤔 It's as trivial as possible. I just keep the authentication data (\"refresh token\", \"access token\", and access token' expiration time), both on Initial OAuth flow and on every refresh latter. On script start, when config is available, it's used for client object initialization, otherwise asks user for authorization. 🤷 That's it - nothing more.
By the way your script will fail if pointed file has a link already! You don't check/handle such situation. Do it. 😉
Hope this sheds some light.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"208","kudosSumWeight":0,"postTime":"2023-04-17T09:48:41.446-07:00","lastPublishTime":"2023-04-17T09:48:41.446-07:00","metrics":{"__typename":"MessageMetrics","views":1311},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:677327","repliesCount":2,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:677380":{"__typename":"ModerationData","id":"moderation_data:677380","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:677380":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1455736"},"id":"message:677380","revisionNum":2,"uid":677380,"depth":14,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:677327"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:677380"},"body":"I have repeatedly made links to the same file with no errors, so I haven't run into this issue. If you do experience a problem, you're welcome to open an issue in the repo with reproduction steps.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"198","kudosSumWeight":0,"postTime":"2023-04-17T11:27:14.294-07:00","lastPublishTime":"2023-04-17T11:27:51.757-07:00","metrics":{"__typename":"MessageMetrics","views":1298},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:677380","repliesCount":1,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"User:user:1492482":{"__typename":"User","id":"user:1492482","uid":1492482,"login":"dhermanq","biography":null,"registrationData":{"__typename":"RegistrationData","status":null,"registrationTime":"2021-11-13T12:05:13.777-08:00"},"deleted":false,"email":"","avatar":{"__typename":"UserAvatar","url":"https://www.dropboxforum.com/t5/s/mxpez29397/m_assets/avatars/default/avatar-11.svg?time=0"},"rank":{"__ref":"Rank:rank:43"},"entityType":"USER","eventPath":"community:mxpez29397/user:1492482"},"ModerationData:moderation_data:685605":{"__typename":"ModerationData","id":"moderation_data:685605","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:685605":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1492482"},"id":"message:685605","revisionNum":1,"uid":685605,"depth":11,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:677234"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:685605"},"body":"Gene_Parmesanthis is exciting! I've finally had the chance to try out the new version, starting from scratch with your instructions on GitHub. I've gotten to Step 12 (Call the script once and follow the instructions to get a refresh token the first time), however when I run the script from Terminal I get the following result:
Traceback (most recent call last):
File \"/Users/dherman/bin/get_dropbox_link.py\", line 37, in <module>
import dropbox
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/dropbox/__init__.py\", line 3, in <module>
from dropbox.dropbox_client import ( # noqa: F401 # pylint: disable=unused-import
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/dropbox/dropbox_client.py\", line 18, in <module>
import requests
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/requests/__init__.py\", line 43, in <module>
import urllib3
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/urllib3/__init__.py\", line 38, in <module>
raise ImportError(
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 2.8.3. See: https://github.com/urllib3/urllib3/issues/2168
I tried moving forward with your instructions and created an Automator workflow to run the script, then used Keyboard Maestro to trigger it. This is the result:
Shell Script” encountered an error: “Traceback (most recent call last):
File \"/Users/dherman/bin/get_dropbox_link.py\", line 37, in <module>
import dropbox
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/dropbox/__init__.py\", line 3, in <module>
from dropbox.dropbox_client import ( # noqa: F401 # pylint: disable=unused-import
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/dropbox/dropbox_client.py\", line 18, in <module>
import requests
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/requests/__init__.py\", line 43, in <module>
import urllib3
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/urllib3/__init__.py\", line 38, in <module>
raise ImportError(
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 2.8.3. See: https://github.com/urllib3/urllib3/issues/2168”
2023-05-19 14:43:26 Action 441 failed: Execute an Automator Workflow failed with script error: The action “Run Shell Script” encountered an error: “Traceback (most recent call last):
File \"/Users/dherman/bin/get_dropbox_link.py\", line 37, in <module>
import dropbox
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/dropbox/__init__.py\", line 3, in <module>
from dropbox.dropbox_client import ( # noqa: F401 # pylint: disable=unused-import
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/dropbox/dropbox_client.py\", line 18, in <module>
import requests
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/requests/__init__.py\", line 43, in <module>
import urllib3
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/urllib3/__init__.py\", line 38, in <module>
raise ImportError(
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 2.8.3. See: https://github.com/urllib3/urllib3/issues/2168”
2023-05-19 14:43:26 Execute an Automator Workflow failed with script error: The action “Run Shell Script” encountered an error: “Traceback (most recent call last):
File \"/Users/dherman/bin/get_dropbox_link.py\", line 37, in <module>
import dropbox
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/dropbox/__init__.py\", line 3, in <module>
from dropbox.dropbox_client import ( # noqa: F401 # pylint: disable=unused-import
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/dropbox/dropbox_client.py\", line 18, in <module>
import requests
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/requests/__init__.py\", line 43, in <module>
import urllib3
File \"/Users/dherman/Library/Python/3.9/lib/python/site-packages/urllib3/__init__.py\", line 38, in <module>
raise ImportError(
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 2.8.3. See: https://github.com/urllib3/urllib3/issues/2168” in macro “Copy Dropbox Link” (while executing Execute “Copy Dropbox Link” Automator Workflow).
I'm a bit out of my depth as to what this all might mean -- if you have any thoughts they would be welcome and appreciated!
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"postTime":"2023-05-19T11:47:28.681-07:00","lastPublishTime":"2023-05-19T11:47:28.681-07:00","metrics":{"__typename":"MessageMetrics","views":1424},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:685605","repliesCount":21,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:685674":{"__typename":"ModerationData","id":"moderation_data:685674","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:685674":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1455736"},"id":"message:685674","revisionNum":4,"uid":685674,"depth":12,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:685605"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:685674"},"body":"Thanks for giving the updated script a try, dhermanq, sorry it’s not working for you. 🤔 Porg is having a similar issue, so clearly the instructions could use some refinement.
There are several suggestions in this Stack Overflow issue. Because I’m not able to reproduce the issue, I fear it will be up to you to do the actual troubleshooting, but do report back if you find something that works.
The first thing I’d try would be to install Dropbox this way:
python3 -m pip install dropbox
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":1,"postTime":"2023-05-20T01:11:39.723-07:00","lastPublishTime":"2023-05-22T13:29:40.912-07:00","metrics":{"__typename":"MessageMetrics","views":1413},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:685674","repliesCount":20,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"User:user:1602875":{"__typename":"User","id":"user:1602875","uid":1602875,"login":"markcq","biography":null,"registrationData":{"__typename":"RegistrationData","status":null,"registrationTime":"2022-12-24T04:45:52.225-08:00"},"deleted":false,"email":"","avatar":{"__typename":"UserAvatar","url":"https://www.dropboxforum.com/t5/s/mxpez29397/m_assets/avatars/default/avatar-12.svg?time=0"},"rank":{"__ref":"Rank:rank:44"},"entityType":"USER","eventPath":"community:mxpez29397/user:1602875"},"ModerationData:moderation_data:685689":{"__typename":"ModerationData","id":"moderation_data:685689","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:685689":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1602875"},"id":"message:685689","revisionNum":1,"uid":685689,"depth":13,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:685674"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:685689"},"body":"
Unfortunately none of the suggestions work for me, because you lose me at:
\"I had initially installed pip3 install dropbox (the module) as your README.md instructed.\"
What does that mean for a non-programmer? To be honest, the whole story is so convoluted that I get a headache just trying to read the instructions. So I manually right click on each item and copy the dropbox link (which I have to do many times per day)... Why is it so complicated for DB to just make a keyboard shortcut?
dropboxWhy is there not an option for this in System Preferences → Keyboard → Shortcuts → Services? Then we can make our own shortcut...
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"213","kudosSumWeight":0,"postTime":"2023-05-20T05:13:43.521-07:00","lastPublishTime":"2023-05-20T05:13:43.521-07:00","metrics":{"__typename":"MessageMetrics","views":1390},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:685689","repliesCount":19,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:686148":{"__typename":"ModerationData","id":"moderation_data:686148","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:686148":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1455736"},"id":"message:686148","revisionNum":5,"uid":686148,"depth":14,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:685689"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:686148"},"body":"
I've spent a bit more time with this and I think I've resolved the Python and Automator issues. Please see the new instructions in the repo README, and let me know if there are any further problems! dhermanq porg Note that I have fixed a problem with duplicate links caused by an unneeded \"Get Selected Finder Items\" action.
I've added threading too. Now even relatively large sets of links can be generated efficiently. There are 10 workers by default, hopefully that will strike a good balance between speed and keeping on the right side of any rate limits on Dropbox's API.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":1,"postTime":"2023-05-22T15:36:50.179-07:00","lastPublishTime":"2023-05-22T17:06:06.841-07:00","metrics":{"__typename":"MessageMetrics","views":1368},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:686148","repliesCount":18,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:686691":{"__typename":"ModerationData","id":"moderation_data:686691","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:686691":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1492482"},"id":"message:686691","revisionNum":1,"uid":686691,"depth":15,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:686148"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:686691"},"body":"Gene_Parmesan thanks for the additional help on this! I've made some progress with the new script and instructions. I took your suggestion to pin urllib3 to version 1.26.6, and that allowed me to generate the API access code. However, now when I try running my Automator workflow I get the following error:
The action “Run Shell Script” encountered an error: “usage: get_dropbox_link.py [-h] [--verbose] paths [paths ...]
get_dropbox_link.py: error: the following arguments are required: paths” in macro “Copy Dropbox Link”
Would this have something to do with the fact that either a) I use a Dropbox business account (I've changed the AccountType variable in your script accordingly), or b) I keep my Dropbox files on a removable drive, and not the standard ~/Dropbox path?
I do appreciate for all the thought and attention you've put into this thus far!
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"208","kudosSumWeight":1,"postTime":"2023-05-24T12:59:04.397-07:00","lastPublishTime":"2023-05-24T12:59:04.397-07:00","metrics":{"__typename":"MessageMetrics","views":1345},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:686691","repliesCount":17,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:686692":{"__typename":"ModerationData","id":"moderation_data:686692","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:686692":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1455736"},"id":"message:686692","revisionNum":2,"uid":686692,"depth":16,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:686691"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:686692"},"body":"You're almost there! This output means that the script IS running successfully, but it's not receiving the list of selected paths. My guess is that you are passing input \"to stdin\" instead of \"as arguments\". Either that, or your script in the Automator action doesn't have \"$0\" after it. Might either of these be the culprit?
Or what about \"Workflow receives current files or folders in Finder\"?
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"postTime":"2023-05-24T13:06:12.785-07:00","lastPublishTime":"2023-05-24T13:14:32.992-07:00","metrics":{"__typename":"MessageMetrics","views":1342},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:686692","repliesCount":16,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:686700":{"__typename":"ModerationData","id":"moderation_data:686700","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:686700":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1492482"},"id":"message:686700","revisionNum":1,"uid":686700,"depth":17,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:686692"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:686700"},"body":"Gene_ParmesanI had used \"$@\" in the automator script per the instructions and the Automator workflow you posted. I tried switching that to \"$0\" instead, but now I get a slightly different error:
2023-05-24 16:08:45 !ActionCanFail() for Action Execute “Get Dropbox Link.workflow” Automator Workflow in macro Copy Dropbox Link with failure Execute an Automator Workflow failed with script error: The action “Run Shell Script” encountered an error: “ERROR:root:'/Users/dherman/-' is not in the subpath of '/Volumes/STUDIO D DROPBOX/Good Studio Dropbox/David Herman' OR one path is relative and the other is absolute.”
2023-05-24 16:08:45 Action 441 failed: Execute an Automator Workflow failed with script error: The action “Run Shell Script” encountered an error: “ERROR:root:'/Users/dherman/-' is not in the subpath of '/Volumes/STUDIO D DROPBOX/Good Studio Dropbox/David Herman' OR one path is relative and the other is absolute.”
2023-05-24 16:08:45 Execute an Automator Workflow failed with script error: The action “Run Shell Script” encountered an error: “ERROR:root:'/Users/dherman/-' is not in the subpath of '/Volumes/STUDIO D DROPBOX/Good Studio Dropbox/David Herman' OR one path is relative and the other is absolute.” in macro “Copy Dropbox Link” (while executing Execute “Get Dropbox Link.workflow” Automator Workflow).
I'm attaching a screenshot of my Automator workflow below. It looks like I do have Pass inputs set to \"as arguments.\"
My Dropbox Volume name has spaces in it — could that be part of the issue?
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"208","kudosSumWeight":0,"postTime":"2023-05-24T13:23:50.807-07:00","lastPublishTime":"2023-05-24T13:23:50.807-07:00","metrics":{"__typename":"MessageMetrics","views":1328},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:686700","repliesCount":15,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:686702":{"__typename":"ModerationData","id":"moderation_data:686702","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:686702":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1492482"},"id":"message:686702","revisionNum":1,"uid":686702,"depth":18,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:686700"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:686702"},"body":"
I should clarify, that screenshot is of my original workflow, before I changed the script to \"$0\"
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"99","kudosSumWeight":0,"postTime":"2023-05-24T13:28:36.144-07:00","lastPublishTime":"2023-05-24T13:28:36.144-07:00","metrics":{"__typename":"MessageMetrics","views":1321},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:686702","repliesCount":14,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:686712":{"__typename":"ModerationData","id":"moderation_data:686712","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:686712":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1455736"},"id":"message:686712","revisionNum":2,"uid":686712,"depth":19,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:686702"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:686712"},"body":"Ack, that's my error! It should be \"$@\" like you had it, I'm sorry. Please change it back.
Just to be clear, when you're getting this error, are you pressing Run within Automator? If so, that won't work. You need to do the next steps to set up the Finder keyboard shortcut. That way the Workflow will be run as a Quick Action via the Services menu and thus have selected files in Finder to pass into the Quick Action.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"208","kudosSumWeight":1,"postTime":"2023-05-24T13:50:07.185-07:00","lastPublishTime":"2023-05-24T13:51:32.093-07:00","metrics":{"__typename":"MessageMetrics","views":1572},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:686712","repliesCount":13,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:686714":{"__typename":"ModerationData","id":"moderation_data:686714","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:686714":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1492482"},"id":"message:686714","revisionNum":1,"uid":686714,"depth":20,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:686712"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:686714"},"body":"Gene_ParmesanSuccess! Previously I had been using a Keyboard Maestro macro to run the Automator workflow, but I've just tried triggering it from the services menu with a keyboard shortcut, and voila! It works!
I'm curious how the two methods differ. I had used KM to run your previous version of the script without any trouble. In any case, this method works great and the link seems to be generated much much quicker than before! A massive improvement -- thank you again for this!!
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":1,"postTime":"2023-05-24T14:00:21.570-07:00","lastPublishTime":"2023-05-24T14:00:21.570-07:00","metrics":{"__typename":"MessageMetrics","views":1567},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:686714","repliesCount":12,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:686716":{"__typename":"ModerationData","id":"moderation_data:686716","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:686716":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1455736"},"id":"message:686716","revisionNum":5,"uid":686716,"depth":21,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:686714"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:686716"},"body":"Huzzah! So glad we got there in the end, thanks for helping me debug the script, LOL. And I'm really pleased to hear it's faster now!
My guess is that the difference comes from this version of the workflow requiring Finder items to be passed in at the top. Previously, I was using a Get Selected Finder Items action, which was resulting in links being duplicated given the \"Workflow receives files from Finder\" preamble. But if you add back that Get Selected Finder Items action and then go back to using KM (and I presume set the workflow to receive \"no input\", since that's how you'd now be using it)… I think it would work that way as well. You can read up on this a bit on AskDifferent.
I'd be interested to hear if my hypothesis is correct. 😀 I had assumed these two approaches were completely equivalent, but perhaps using an action is actually more flexible.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"208","kudosSumWeight":1,"postTime":"2023-05-24T14:09:28.445-07:00","lastPublishTime":"2023-05-24T14:13:12.496-07:00","metrics":{"__typename":"MessageMetrics","views":1562},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:686716","repliesCount":11,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:686722":{"__typename":"ModerationData","id":"moderation_data:686722","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:686722":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1492482"},"id":"message:686722","revisionNum":1,"uid":686722,"depth":22,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:686716"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:686722"},"body":"That was it! When I restored \"Get selected item from Finder\" and changed the input to none, my Keyboard Maestro macro worked. But after a quick and dirty test, it looks like it's just a hair faster to run the workflow as a service, so I'm going to keep it that way after all.
Thanks Gene_Parmesan !!
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":1,"postTime":"2023-05-24T14:53:06.588-07:00","lastPublishTime":"2023-05-24T14:53:06.588-07:00","metrics":{"__typename":"MessageMetrics","views":1551},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:686722","repliesCount":10,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:686724":{"__typename":"ModerationData","id":"moderation_data:686724","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:686724":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1455736"},"id":"message:686724","revisionNum":2,"uid":686724,"depth":23,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:686722"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:686724"},"body":"Great, glad we could lay that mystery to rest. Yeah, I'm not surprised that it's faster via the Services menu. As far as I understand it, having that extra Workflow step means another AppleScript invocation, and AppleScript is notoriously sluggish.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":1,"postTime":"2023-05-24T15:06:33.054-07:00","lastPublishTime":"2023-05-24T15:07:44.561-07:00","metrics":{"__typename":"MessageMetrics","views":1537},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:686724","repliesCount":9,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:686915":{"__typename":"ModerationData","id":"moderation_data:686915","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:686915":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1455736"},"id":"message:686915","revisionNum":3,"uid":686915,"depth":24,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:686724"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:686915"},"body":"Just discovered another small issue, which I have now fixed. The recent Dropbox update changed where the folder is located. Files are now actually stored in ~/Library/CloudStorage/Dropbox, and ~/Dropbox is just s symlink. This means that passing a path to a file within ~/Dropbox will fail.
\n\n
Easy enough fix, and it will only affect users trying to get links from the command line. (It looks like Finder passes the resolved path in ~/Library, so if you never plan to use this from the command line, then you should be OK without an upgrade.)
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"postTime":"2023-05-25T08:53:06.704-07:00","lastPublishTime":"2023-05-25T09:13:59.889-07:00","metrics":{"__typename":"MessageMetrics","views":1525},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:686915","repliesCount":8,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:689154":{"__typename":"ModerationData","id":"moderation_data:689154","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:689154":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1492482"},"id":"message:689154","revisionNum":1,"uid":689154,"depth":25,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:686915"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:689154"},"body":"This has been working so well for me, thank you Gene_Parmesan!!
FWIW, I wanted to report a small quirk that I've noticed, which is that a link can only be copied once the file has completed syncing. If it hasn't completed yet, I get the following error message:
Interestingly, if I right-click the file and use Dropbox's \"Copy Dropbox link\" action, it will work even if file hasn't completed its sync. Do you have any thoughts as to whether or not this is something that can be addressed by the script, or is this a limitation of the Dropbox API?
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"208","kudosSumWeight":0,"postTime":"2023-06-02T15:08:09.896-07:00","lastPublishTime":"2023-06-02T15:08:09.896-07:00","metrics":{"__typename":"MessageMetrics","views":1482},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:689154","repliesCount":7,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:689155":{"__typename":"ModerationData","id":"moderation_data:689155","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:689155":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:422790"},"id":"message:689155","revisionNum":2,"uid":689155,"depth":15,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:677380"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:689155"},"body":"
Gene_Parmesan wrote:I have repeatedly made links to the same file with no errors, so I haven't run into this issue. ...
Hm... 🤦🤷😜 Good luck!
dhermanq, It's definitely not a limitation of the Dropbox API!
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"208","kudosSumWeight":0,"postTime":"2023-06-02T15:12:34.191-07:00","lastPublishTime":"2023-06-02T15:19:42.017-07:00","metrics":{"__typename":"MessageMetrics","views":1478},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:689155","repliesCount":0,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:693391":{"__typename":"ModerationData","id":"moderation_data:693391","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:693391":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1455736"},"id":"message:693391","revisionNum":4,"uid":693391,"depth":26,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:689154"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:693391"},"body":"Hi dhermanq, glad the script is working well for you! I've had a look at the dropbox Python API docs for the function in question, and I found an option I hadn't noticed before:
pending_upload: If it’s okay to share a path that does not yet exist, set this to either PendingUploadMode.file or PendingUploadMode.folder to indicate whether to assume it’s a file or folder.
And indeed, when I upload a large file without this setting and request a link before the upload is complete, I get the same error as you. However, when I set this to PendingUploadMode.file, the link is generated anyway. When you use the generated link before the file is fully uploaded, you get this placeholder UI:
It's noteable that this option is available when using sharing_create_shared_link, but NOT with the alternative sharing_create_shared_link_with_settings which is used in the script posted by Здравко. So you'd be running into this with either script. Note also that the function description for sharing_create_shared_link says: \"If a shared link already exists for the given path, that link is returned.\" (The function without settings which I'm using, though, is marked as deprecated. If anyone knows how to enable PendingUploadMode with the new-style call, I'd be happy to accept a PR in the repo. I don't immediately see how to do this after looking through the docs and the forum.)
Anyway, now that I've found this alternative, I've pushed a fix linked to issue #10 in the repo. Let me know if that fixes the behavior for you!
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"postTime":"2023-06-21T04:56:30.332-07:00","lastPublishTime":"2023-06-21T05:15:55.047-07:00","metrics":{"__typename":"MessageMetrics","views":1397},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:693391","repliesCount":6,"readOnly":true,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:693400":{"__typename":"ModerationData","id":"moderation_data:693400","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:693400":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:422790"},"id":"message:693400","revisionNum":2,"uid":693400,"depth":27,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:693391"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:693400"},"body":"It's never good idea methods, declared as deprecated, to be in use. 'sharing_create_shared_link' is such a method! The same effect has a preceding dummy upload though. My script is just an example, that's why not feature rich, but if you want to improve yours, better include preceding dummy upload as an option instead of using deprecated things that can be dropped at any time. Such methods are for back compatibility only, that let some time for developers to adapt their codes, and not supposed to be used in new code!
Add: Gene_Parmesan, One more thing you may want to update is new links conception that's rolling out currently. Probably soon all accounts will start generate new links and the query replacement, as you have implemented it, will stop work!
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"postTime":"2023-06-21T05:23:52.120-07:00","lastPublishTime":"2023-06-21T05:49:47.676-07:00","metrics":{"__typename":"MessageMetrics","views":1379},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:693400","repliesCount":4,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:693425":{"__typename":"ModerationData","id":"moderation_data:693425","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":"member"},"ForumReplyMessage:message:693425":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1492482"},"id":"message:693425","revisionNum":1,"uid":693425,"depth":27,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001012"},"parent":{"__ref":"ForumReplyMessage:message:693391"},"conversation":{"__ref":"Conversation:conversation:168482"},"subject":"Re: Key Command/Shortcut to \"Copy Dropbox Link\" from Mac Finder.","moderationData":{"__ref":"ModerationData:moderation_data:693425"},"body":"Gene_Parmesanthe update did the trick! Thank you!!
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"52","kudosSumWeight":1,"postTime":"2023-06-21T07:18:58.142-07:00","lastPublishTime":"2023-06-21T07:18:58.142-07:00","metrics":{"__typename":"MessageMetrics","views":1330},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001012/message:168482/message:693425","repliesCount":0,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"CachedAsset:text:en_US-components/tags/TagView/TagViewChip-1740415901145":{"__typename":"CachedAsset","id":"text:en_US-components/tags/TagView/TagViewChip-1740415901145","value":{"tagLabelName":"Tag name {tagName}"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/nodes/NodeIcon-1740415901145":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/nodes/NodeIcon-1740415901145","value":{"contentType":"Content Type {style, select, FORUM {Forum} BLOG {Blog} TKB {Knowledge Base} IDEA {Ideas} OCCASION {Events} other {}} icon"},"localOverride":false}}}},"page":"/forums/ForumMessagePage/ForumMessagePage","query":{"boardId":"101001012","messageSubject":"key-commandshortcut-to-copy-dropbox-link-from-mac-finder-","messageId":"168482","replyId":"651855"},"buildId":"UtG3-Pbti3STtL2t_tPEH","runtimeConfig":{"buildInformationVisible":false,"logLevelApp":"info","logLevelMetrics":"info","openTelemetryClientEnabled":false,"openTelemetryConfigName":"dropbox","openTelemetryServiceVersion":"25.1.0","openTelemetryUniverse":"prod","openTelemetryCollector":"http://localhost:4318","openTelemetryRouteChangeAllowedTime":"5000","apolloDevToolsEnabled":false,"inboxMuteWipFeatureEnabled":false},"isFallback":false,"isExperimentalCompile":false,"dynamicIds":["./components/seo/QAPageSchema/QAPageSchema.tsx","./components/community/Navbar/NavbarWidget.tsx","./components/community/Breadcrumb/BreadcrumbWidget.tsx","./components/customComponent/CustomComponent/CustomComponent.tsx","./components/messages/TopicWithThreadedReplyListWidget/TopicWithThreadedReplyListWidget.tsx","./components/nodes/NodeActionButtonWidget/NodeActionButtonWidget.tsx","./components/nodes/NodeInformationWidget/NodeInformationWidget.tsx","./components/messages/RelatedContentWidget/RelatedContentWidget.tsx","./components/messages/MessageListForNodeByRecentActivityWidget/MessageListForNodeByRecentActivityWidget.tsx","./components/messages/MessageView/MessageViewStandard/MessageViewStandard.tsx","./components/nodes/NodeView/NodeView.tsx","./components/nodes/NodeView/NodeViewCard/NodeViewCard.tsx","../shared/client/components/common/List/UnstyledList/UnstyledList.tsx","./components/messages/MessageView/MessageView.tsx","./components/messages/MessageView/MessageViewInline/MessageViewInline.tsx","../shared/client/components/common/Pager/PagerLoadMore/PagerLoadMore.tsx","./components/customComponent/CustomComponentContent/CustomComponentScripts.tsx","../shared/client/components/common/List/UnwrappedList/UnwrappedList.tsx","./components/tags/TagView/TagView.tsx","./components/tags/TagView/TagViewChip/TagViewChip.tsx"],"appGip":true,"scriptLoader":[]}