Jump to content

JJJJ

Member
  • Content Count

    22
  • Joined

  • Last visited

Everything posted by JJJJ

  1. When I mentioned office files, Microsoft office and apple's iwork apps were in my mind, although I know there are many others.
  2. I understand that, that is why I mentioned office files and the preview.app specifically.
  3. It doesn't actually have to be for all kind of files. If it could work for office files, pdfs or jpgs-pngs when they are opened in preview.app, it might still be very useful I think.
  4. Can it be done for not only a word file but any kind of file?
  5. Looks like you don't even need cmd lol. You only need to press backspace.
  6. You can delete them by pressing cmd-backspace.
  7. Totally understandable, thank you for your interest.
  8. Mojave 10.14.5. Alfred 4.0.3 You can also find the debug output in the screenshot.
  9. It gives same result with any app I wrote.
  10. Hi Vitor, Thanks for the workflow but it doesn't work for me, I couldn't figure out why. You can find the debug output below. [11:59:33.073] Logging Started... [12:01:55.375] Logging Stopped. [12:02:25.236] Logging Started... [12:04:34.766] Logging Stopped. [12:04:35.493] Logging Started... [12:04:46.458] Highlander App[Keyword] Processing complete [12:04:46.462] Highlander App[Keyword] Passing output '' to Run Script [12:04:46.877] ERROR: Highlander App[Run Script] /Users/Ceyhun/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/021C389F-7E69-4B77-B290-8E8E61904321:295:347: execution error: Error on line 7: Error: Application can't be found. (-2700)
  11. Actually, I thought Transmission was the default app but looks like it wasn't. It works hassle-free now 👌
  12. Hello godbout, When I choose a torrent to download it opens up the torrent file in soda player, but I want it to open in transmission. Is there any way to change it?
  13. Actually I thought suggestions would work like the ones in google search or Amazon search. So when you choose a suggestion it opens up in a browser.
  14. Maybe you can set the same keyword for several workflows so you can see all the suggestions from different workflows only writing one keyword.
  15. Then you can hit ALT-FN-Backspace to delete the prefixï»ż.
  16. You should use fixum workflow to make it work. I use both on mojave. https://github.com/deanishe/alfred-fixum
  17. I have been using MailTo and "Call or SMS contact" workflows and had no problems with both. Call or SMS contact:
  18. There is also a workflow that you can paste last N clipboard contents. http://www.packal.org/workflow/paste-n-clipboards
  19. Hi @jereze I couldn't find "type" column to add in account section in our system, perhaps we do not have that in my organization. I guess I will wait for the next version. Thank you very much for your help. I will be looking forward to the next version.
  20. Hi @jereze, I logged in and logged out as you say, then I got the debug report. You can find the link below. https://we.tl/t-aDmhm6yJwT
  21. @jereze It has never worked and when I try to login it gives me an error. You can find the debugger output below again. [2019-04-12 19:23:02][STDERR: input.scriptfilter] 19:23:02 workflow.py:2225 DEBUG Workflow version : 0.0.2 19:23:02 workflow.py:2633 DEBUG Got password : jereze.salesforce:access_token 19:23:02 workflow.py:2633 DEBUG Got password : jereze.salesforce:refresh_token 19:23:02 workflow.py:2633 DEBUG Got password : jereze.salesforce:instance_url 19:23:02 workflow.py:1628 DEBUG Reading settings from `/Users/Ceyhun/Library/Application Support/Alfred 3/Workflow Data/jereze.salesforce/settings.json` ... 19:23:02 workflow.py:2423 DEBUG Set last run version : 0.0.2 19:23:02 workflow.py:2267 DEBUG Workflow finished in 0.101 seconds. [2019-04-12 19:23:03][STDERR: input.scriptfilter] 19:23:02 workflow.py:2225 DEBUG Workflow version : 0.0.2 19:23:02 workflow.py:2633 DEBUG Got password : jereze.salesforce:access_token 19:23:02 workflow.py:2633 DEBUG Got password : jereze.salesforce:refresh_token 19:23:02 workflow.py:2633 DEBUG Got password : jereze.salesforce:instance_url 19:23:02 workflow.py:1628 DEBUG Reading settings from `/Users/Ceyhun/Library/Application Support/Alfred 3/Workflow Data/jereze.salesforce/settings.json` ... 19:23:02 workflow.py:2423 DEBUG Set last run version : 0.0.2 19:23:02 workflow.py:2267 DEBUG Workflow finished in 0.102 seconds. [2019-04-12 19:23:03][ERROR: input.scriptfilter] Code 1: 19:23:03 workflow.py:2225 DEBUG Workflow version : 0.0.2 19:23:03 workflow.py:2633 DEBUG Got password : jereze.salesforce:access_token 19:23:03 workflow.py:2633 DEBUG Got password : jereze.salesforce:refresh_token 19:23:03 workflow.py:2633 DEBUG Got password : jereze.salesforce:instance_url 19:23:03 salesforce_api.py:50 INFO API get call: https://eu26.salesforce.com/services/data/v40.0/search/?q=FIND+{logi}+IN+ALL+FIELDS+RETURNING+Account+(Id%2C+Name%2C+Type)%2C+Contact+(Id%2C+Name%2C+Email)%2C+Opportunity+(Id%2C+Name%2C+StageName%2C+CloseDate)%2C+Lead+(Id%2C+Name)+WITH+METADATA%3D'LABELS'+ 19:23:03 salesforce_api.py:78 INFO 5Aep861JmND5bFIsaeJoNXoXlUVRs_AmYexRCMmImn9vREMKE1G.RFjImnpIzdOc6pgYZWWR9HKk1HfOJxQwkWT 19:23:03 salesforce_api.py:79 INFO API post call: https://login.salesforce.com/services/oauth2/token 19:23:03 salesforce_api.py:84 DEBUG {"error":"invalid_grant","error_description":"expired access/refresh token"} 19:23:03 workflow.py:2243 ERROR API error when refreshing the token (400): {"error":"invalid_grant","error_description":"expired access/refresh token"} Traceback (most recent call last): File "/Users/Ceyhun/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C0B19BE3-EAF6-495A-A013-653D32CDF126/workflow/workflow.py", line 2236, in run func(self) File "salesforce_search.py", line 136, in main 'q': "FIND {%s} IN ALL FIELDS RETURNING Account (Id, Name, Type), Contact (Id, Name, Email), Opportunity (Id, Name, StageName, CloseDate), Lead (Id, Name) WITH METADATA='LABELS' " % query.replace("\\", "\\\\").replace("'", "\\'") File "/Users/Ceyhun/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C0B19BE3-EAF6-495A-A013-653D32CDF126/salesforce_api.py", line 52, in api_call self.refresh_access_token() File "/Users/Ceyhun/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C0B19BE3-EAF6-495A-A013-653D32CDF126/salesforce_api.py", line 85, in refresh_access_token raise ValueError('API error when refreshing the token (%i): %s' % (r.status_code, r.text)) ValueError: API error when refreshing the token (400): {"error":"invalid_grant","error_description":"expired access/refresh token"} 19:23:03 workflow.py:2267 DEBUG Workflow finished in 0.604 seconds. [2019-04-12 19:23:04][ERROR: input.scriptfilter] Code 1: 19:23:04 workflow.py:2225 DEBUG Workflow version : 0.0.2 19:23:04 workflow.py:2633 DEBUG Got password : jereze.salesforce:access_token 19:23:04 workflow.py:2633 DEBUG Got password : jereze.salesforce:refresh_token 19:23:04 workflow.py:2633 DEBUG Got password : jereze.salesforce:instance_url 19:23:04 salesforce_api.py:50 INFO API get call: https://eu26.salesforce.com/services/data/v40.0/search/?q=FIND+{login}+IN+ALL+FIELDS+RETURNING+Account+(Id%2C+Name%2C+Type)%2C+Contact+(Id%2C+Name%2C+Email)%2C+Opportunity+(Id%2C+Name%2C+StageName%2C+CloseDate)%2C+Lead+(Id%2C+Name)+WITH+METADATA%3D'LABELS'+ 19:23:04 salesforce_api.py:78 INFO 5Aep861JmND5bFIsaeJoNXoXlUVRs_AmYexRCMmImn9vREMKE1G.RFjImnpIzdOc6pgYZWWR9HKk1HfOJxQwkWT 19:23:04 salesforce_api.py:79 INFO API post call: https://login.salesforce.com/services/oauth2/token 19:23:04 salesforce_api.py:84 DEBUG {"error":"invalid_grant","error_description":"expired access/refresh token"} 19:23:04 workflow.py:2243 ERROR API error when refreshing the token (400): {"error":"invalid_grant","error_description":"expired access/refresh token"} Traceback (most recent call last): File "/Users/Ceyhun/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C0B19BE3-EAF6-495A-A013-653D32CDF126/workflow/workflow.py", line 2236, in run func(self) File "salesforce_search.py", line 136, in main 'q': "FIND {%s} IN ALL FIELDS RETURNING Account (Id, Name, Type), Contact (Id, Name, Email), Opportunity (Id, Name, StageName, CloseDate), Lead (Id, Name) WITH METADATA='LABELS' " % query.replace("\\", "\\\\").replace("'", "\\'") File "/Users/Ceyhun/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C0B19BE3-EAF6-495A-A013-653D32CDF126/salesforce_api.py", line 52, in api_call self.refresh_access_token() File "/Users/Ceyhun/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C0B19BE3-EAF6-495A-A013-653D32CDF126/salesforce_api.py", line 85, in refresh_access_token raise ValueError('API error when refreshing the token (%i): %s' % (r.status_code, r.text)) ValueError: API error when refreshing the token (400): {"error":"invalid_grant","error_description":"expired access/refresh token"} 19:23:04 workflow.py:2267 DEBUG Workflow finished in 0.558 seconds.
  22. Hello @jereze , This workflow might be very useful for me but I get an error when I use the workflow, debugger output is below. What can I do to make it work? Starting debug for 'Salesforce' [2019-04-12 17:03:33][STDERR: input.scriptfilter] 17:03:32 workflow.py:2225 DEBUG Workflow version : 0.0.2 17:03:32 workflow.py:2633 DEBUG Got password : jereze.salesforce:access_token 17:03:32 workflow.py:2633 DEBUG Got password : jereze.salesforce:refresh_token 17:03:32 workflow.py:2633 DEBUG Got password : jereze.salesforce:instance_url 17:03:32 workflow.py:1628 DEBUG Reading settings from `/Users/Ceyhun/Library/Application Support/Alfred 3/Workflow Data/jereze.salesforce/settings.json` ... 17:03:32 workflow.py:2423 DEBUG Set last run version : 0.0.2 17:03:32 workflow.py:2267 DEBUG Workflow finished in 0.117 seconds. [2019-04-12 17:03:36][STDERR: input.scriptfilter] 17:03:35 workflow.py:2225 DEBUG Workflow version : 0.0.2 17:03:35 workflow.py:2633 DEBUG Got password : jereze.salesforce:access_token 17:03:35 workflow.py:2633 DEBUG Got password : jereze.salesforce:refresh_token 17:03:35 workflow.py:2633 DEBUG Got password : jereze.salesforce:instance_url 17:03:35 workflow.py:1628 DEBUG Reading settings from `/Users/Ceyhun/Library/Application Support/Alfred 3/Workflow Data/jereze.salesforce/settings.json` ... 17:03:35 workflow.py:2423 DEBUG Set last run version : 0.0.2 17:03:35 workflow.py:2267 DEBUG Workflow finished in 0.099 seconds. [2019-04-12 17:03:38][ERROR: input.scriptfilter] Code 1: 17:03:36 workflow.py:2225 DEBUG Workflow version : 0.0.2 17:03:36 workflow.py:2633 DEBUG Got password : jereze.salesforce:access_token 17:03:36 workflow.py:2633 DEBUG Got password : jereze.salesforce:refresh_token 17:03:36 workflow.py:2633 DEBUG Got password : jereze.salesforce:instance_url 17:03:36 salesforce_api.py:50 INFO API get call: https://eu26.salesforce.com/services/data/v40.0/search/?q=FIND+{12}+IN+ALL+FIELDS+RETURNING+Account+(Id%2C+Name%2C+Type)%2C+Contact+(Id%2C+Name%2C+Email)%2C+Opportunity+(Id%2C+Name%2C+StageName%2C+CloseDate)%2C+Lead+(Id%2C+Name)+WITH+METADATA%3D'LABELS'+ 17:03:38 salesforce_api.py:78 INFO 5Aep861JmND5bFIsaeJoNXoXlUVRs_AmYexRCMmImn9vREMKE1G.RFjImnpIzdOc6pgYZWWR9HKk1HfOJxQwkWT 17:03:38 salesforce_api.py:79 INFO API post call: https://login.salesforce.com/services/oauth2/token 17:03:38 salesforce_api.py:84 DEBUG {"error":"invalid_grant","error_description":"expired access/refresh token"} 17:03:38 workflow.py:2243 ERROR API error when refreshing the token (400): {"error":"invalid_grant","error_description":"expired access/refresh token"} Traceback (most recent call last): File "/Users/Ceyhun/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.B19691F4-ECEA-46E6-85BC-0ED7E746B876/workflow/workflow.py", line 2236, in run func(self) File "salesforce_search.py", line 136, in main 'q': "FIND {%s} IN ALL FIELDS RETURNING Account (Id, Name, Type), Contact (Id, Name, Email), Opportunity (Id, Name, StageName, CloseDate), Lead (Id, Name) WITH METADATA='LABELS' " % query.replace("\\", "\\\\").replace("'", "\\'") File "/Users/Ceyhun/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.B19691F4-ECEA-46E6-85BC-0ED7E746B876/salesforce_api.py", line 52, in api_call self.refresh_access_token() File "/Users/Ceyhun/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.B19691F4-ECEA-46E6-85BC-0ED7E746B876/salesforce_api.py", line 85, in refresh_access_token raise ValueError('API error when refreshing the token (%i): %s' % (r.status_code, r.text)) ValueError: API error when refreshing the token (400): {"error":"invalid_grant","error_description":"expired access/refresh token"} 17:03:38 workflow.py:2267 DEBUG Workflow finished in 1.966 seconds. [2019-04-12 17:03:40][ERROR: input.scriptfilter] Code 1: 17:03:38 workflow.py:2225 DEBUG Workflow version : 0.0.2 17:03:38 workflow.py:2633 DEBUG Got password : jereze.salesforce:access_token 17:03:38 workflow.py:2633 DEBUG Got password : jereze.salesforce:refresh_token 17:03:38 workflow.py:2633 DEBUG Got password : jereze.salesforce:instance_url 17:03:38 salesforce_api.py:50 INFO API get call: https://eu26.salesforce.com/services/data/v40.0/search/?q=FIND+{12345}+IN+ALL+FIELDS+RETURNING+Account+(Id%2C+Name%2C+Type)%2C+Contact+(Id%2C+Name%2C+Email)%2C+Opportunity+(Id%2C+Name%2C+StageName%2C+CloseDate)%2C+Lead+(Id%2C+Name)+WITH+METADATA%3D'LABELS'+ 17:03:40 salesforce_api.py:78 INFO 5Aep861JmND5bFIsaeJoNXoXlUVRs_AmYexRCMmImn9vREMKE1G.RFjImnpIzdOc6pgYZWWR9HKk1HfOJxQwkWT 17:03:40 salesforce_api.py:79 INFO API post call: https://login.salesforce.com/services/oauth2/token 17:03:40 salesforce_api.py:84 DEBUG {"error":"invalid_grant","error_description":"expired access/refresh token"} 17:03:40 workflow.py:2243 ERROR API error when refreshing the token (400): {"error":"invalid_grant","error_description":"expired access/refresh token"} Traceback (most recent call last): File "/Users/Ceyhun/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.B19691F4-ECEA-46E6-85BC-0ED7E746B876/workflow/workflow.py", line 2236, in run func(self) File "salesforce_search.py", line 136, in main 'q': "FIND {%s} IN ALL FIELDS RETURNING Account (Id, Name, Type), Contact (Id, Name, Email), Opportunity (Id, Name, StageName, CloseDate), Lead (Id, Name) WITH METADATA='LABELS' " % query.replace("\\", "\\\\").replace("'", "\\'") File "/Users/Ceyhun/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.B19691F4-ECEA-46E6-85BC-0ED7E746B876/salesforce_api.py", line 52, in api_call self.refresh_access_token() File "/Users/Ceyhun/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.B19691F4-ECEA-46E6-85BC-0ED7E746B876/salesforce_api.py", line 85, in refresh_access_token raise ValueError('API error when refreshing the token (%i): %s' % (r.status_code, r.text)) ValueError: API error when refreshing the token (400): {"error":"invalid_grant","error_description":"expired access/refresh token"} 17:03:40 workflow.py:2267 DEBUG Workflow finished in 1.641 seconds.
×
×
  • Create New...