Jump to content

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


Recommended Posts

  • 1 month later...
  • Replies 106
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Simple LastPass Workflow for Alfred - quick and easy access to your LastPass vault Simple yet powerful integration with the Lastpass CLI so you can now get your passwords out of your Lastpass vault a

Howdy my good man, so sorry I missed this. I have logged two bugs for you: 1. Weird search issue --> https://github.com/stuartcryan/lastpass-alfred-workflow/issues/12 2. Shameful SHAMEFUL typo L

This will fix it.

Posted Images

  • 7 months later...

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
Link to post
  • 3 weeks later...
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
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).

 

Link to post
  • 2 months later...
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!

Link to post
  • 3 months later...

For the newbies like me that faced issues, for using Lastpass workflow within the latest version of Alfred, I merged two solutions pointed by the power users above.

 

1. the lastpass-cli tool (that supports the workflow) is now simple installed by this command on your terminal:

brew install lastpass-cli

 

2. in Alfred preferences, replace the penultimate line of lplogin -> /usr/bin/osascript   for the following line.

tell application id "com.runningwithcrayons.Alfred" to search "lp "

 

2.1) this will make sure the script will work for all Alfred versions (at least in thesis)

Edited by arthurdapaz
underline fixing
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...