Jump to content
stuartcryan

LastPass Workflow for Alfred - update v1.4.7 August 19, 2016

Recommended Posts

On 5/8/2019 at 5:13 AM, deanishe said:

 

I don't think you're doing anything wrong. I suspect the instructions are out of date, as Homebrew has changed recently.

 

Looking at the Homebrew recipe for lastpass-cli, it seems that both those options are now default, so you should only need to do: brew install lastpass-cli

 

 

 

perhaps the README could be updated.

Share this post


Link to post
Posted (edited)

Hi,

 

I'm not sure if the worflow is still being used and supported.

I cannot log in, with the error below. When I type "lplogin" nothing happens, there is no notification etc.

 

I'm on a recent updated Catalina's macbook pro.

 

Quote

15:47:48.506] Logging Started...

[15:48:06.707] LastPass CLI[Keyword] Processing complete

[15:48:06.711] LastPass CLI[Keyword] Passing output '' to Run Script

[15:48:07.000] ERROR: LastPass CLI[Run Script] 2845:2846: syntax error: Oczekiwano: koniec linii. Znaleziono: „"”. (-2741)

 

Would someone has an idea what's going on?

 

Thanks a lot!

Edited by fuorviatos

Share this post


Link to post
Posted (edited)
On 3/18/2020 at 3:50 PM, fuorviatos said:

Hi,

 

I'm not sure if the worflow is still being used and supported.

I cannot log in, with the error below. When I type "lplogin" nothing happens, there is no notification etc.

 

I'm on a recent updated Catalina's macbook pro.

 

 

Would someone has an idea what's going on?

 

Thanks a lot!

 

I found what was causing the error for me.

When you open the workflow:
- click on the /usr/bin/osascript
- change the last lines from

if ("{query}" = "scriptlocationnotset") then
tell application "Alfred 3" to search "lp "
end if

 

to:

if ("{query}" = "scriptlocationnotset") then
tell application "Alfred 4" to search "lp "
end if

- then it should work again.

Edited by RKo

Share this post


Link to post
31 minutes ago, RKo said:

tell application "Alfred 4" to search "lp "

 

Change this to tell application id "com.runningwithcrayons.Alfred" to search "lp " so it will continue to work with Alfred 5+.

 

Better yet, if it's appropriate for the workflow, change the workflow to run an External Trigger instead of calling itself by keyword. That's much more reliable (a user might have changed the keyword or be using "lp" for something else as well).

 

Share this post


Link to post
On 4/8/2020 at 2:34 PM, deanishe said:

 

Change this to tell application id "com.runningwithcrayons.Alfred" to search "lp " so it will continue to work with Alfred 5+.

 

Better yet, if it's appropriate for the workflow, change the workflow to run an External Trigger instead of calling itself by keyword. That's much more reliable (a user might have changed the keyword or be using "lp" for something else as well).

 

 

This worked as a charm for me!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...