idpaterson / alfred-wunderlist-workflow

Unbelievably fast task entry in Wunderlist with due dates, reminders, and recurrence
298 stars 8 forks source link

Adding a task does not work #37

Closed michaelmeelis closed 10 years ago

michaelmeelis commented 10 years ago

Hi,

I freshly installed the workflow in Alfred 2 and all the autocomplete functions work, but once I try to add a task to a list or the inbox it switches to Wunderlist but does not add the task.

Greetings, Michael

idpaterson commented 10 years ago

Hi Michael,

Can you take a screenshot of what you see in Wunderlist after adding the task? This has proven to be a good starting point since in some cases the various layout options in Wunderlist can interfere with detecting the lists or adding events.

michaelmeelis commented 10 years ago

Hi Ian,

I before I took this screenshot I tried to add a task to the inbox with "wlin testing". (The cursor moved to input field but doesn't add anything it removes the default value of the input field)

[image: Inline image 1]

Greetings, Michael

On Wed, Jan 22, 2014 at 4:17 PM, Ian Paterson notifications@github.comwrote:

Hi Michael,

Can you take a screenshot of what you see in Wunderlist after adding the task? This has proven to be a good starting point since in some cases the various layout options in Wunderlist can interfere with detecting the lists or adding events.

— Reply to this email directly or view it on GitHubhttps://github.com/idpaterson/alfred-wunderlist-workflow/issues/37#issuecomment-33032071 .

michaelmeelis commented 10 years ago

Hi Ian,

Seems that replying with an attachment doesn't work ;)

screen shot 2014-01-22 at 16 19 20

Greetings, Michael

idpaterson commented 10 years ago

Thanks, I'll do some testing this evening to see if I can replicate that. I have a few follow-up questions for you if you don't mind:

Thanks for reporting!

michaelmeelis commented 10 years ago

I'm using

Wunderlist 2.3.5 Mac OS X Maverick 10.9.1 Alfred 2.1.1

My computer is fast enough. I'm not complaining about the speed of it ;) so more of a normal kind of hardware.

No nothing different happens with the clipboard.

Yes I use the terminal for work so I don't mind doing some debugging with it.

On Wed, Jan 22, 2014 at 4:38 PM, Ian Paterson notifications@github.comwrote:

Thanks, I'll do some testing this evening to see if I can replicate that. I have a few follow-up questions for you if you don't mind:

  • Which version of these are you running?
    • Wunderlist
    • OS X
    • Alfred
    • Where did you download the workflow?
  • How powerful is your computer, would you say it's pretty fast or pretty slow?
  • Does anything happen differently if you copy some text like "SAMPLE TEXT" to your clipboard before using Alfred?
  • Are you familiar with using the terminal in case we need to do further debugging?

Thanks for reporting!

— Reply to this email directly or view it on GitHubhttps://github.com/idpaterson/alfred-wunderlist-workflow/issues/37#issuecomment-33034349 .

idpaterson commented 10 years ago

Ok let's try this…

  1. cd to your Alfred preferences
    • By default this will be ~/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows unless you use Dropbox sync or similar
  2. find . -name wunderlist.scpt to find the workflow directory, then cd into it
  3. From the workflow directory, run this and let me know if there are any errors in the terminal osascript -e 'tell (load script POSIX file ((do shell script "pwd") & "/wunderlist.scpt")) to addTaskToInbox("testing")'
  4. To also test the wl command, try this: osascript -e 'tell (load script POSIX file ((do shell script "pwd") & "/wunderlist.scpt")) to addTask("1::testing")'
michaelmeelis commented 10 years ago

Both of them seem to work strangely enough. But not from the alfred app.

idpaterson commented 10 years ago

Okay thank you, that gives me somewhere to look this evening!

idpaterson commented 10 years ago

Let's try a few more things:

  1. In System Preferences > Security & Privacy > Privacy > Accessibility is Alfred 2.app checked?
  2. Have you had trouble with any other workflows?
michaelmeelis commented 10 years ago
  1. Yes I followed your install instructions on github ;)
  2. No not really this is the first time.

After the osascript I got another notification for iTerm 2 (because it was run from the terminal). So I don't think that is the problem, because it works from there with the accessibility settings.