Jump to content

Recommended Posts

  • 4 weeks later...
  • Replies 95
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

iMessage Workflow V3   My workflow has been easily surpassed by others, please use theirs  ---------> http://www.alfredfor...red/?hl=unicall   However, I'm updating this workflo

So to outline my procedure: I basically just feed a name into iMessage and "trust" iMessage to pick the correct number. For me, 4 out of 5 times, it chooses correctly. (I know that isn't a great stati

Yeah, definitely! I'm definitely trying to get there, but the problem is that iMessage only recognizes an iMessage contact after it has sent the text to the number. I'm trying to study online to see i

Posted Images

Hey Nolan,

 

Great workflow! I use iMessages as work chat client, so your workflow is one of the most used ones.

 

One problem I have is that I cannot send messages to the users whose contact card has only jabber username. Such contacts are not found by your workflow. And if I add a phone number for such contacts, the workflow sends imessage directly (which, of course, is not delivered).

 

Is it possible somehow to send a message to the jabber contact (which is visible in iMessages app)?

Link to post
  • 4 weeks later...
  • 3 weeks later...

For some reason the workflow is sending messages as SMS rather than iMessages. If I send directly from Messages.app they send correctly. I've tried "imu" to rebuild my contacts, but still having problems. Contacts have their phone numbers saved as "mobile". 

 

Am on 10.10.2, Alfred v2.6 and the latest version of the workflow (as of Feb 17th) from github. Any ideas?

Edited by Hatticus24
Link to post

For some reason the workflow is sending messages as SMS rather than iMessages. If I send directly from Messages.app they send correctly. I've tried "imu" to rebuild my contacts, but still having problems. Contacts have their phone numbers saved as "mobile". 

 

Am on 10.10.2, Alfred v2.6 and the latest version of the workflow (as of Feb 17th) from github. Any ideas?

 

It seems to be something to do with having the country code at the beginning of the number? I've edited a contact to add +44 and it works as an iMessage (but seems a bit temperamental).

 

Also, the contacts then display differently - the one I've added +44 to shows the number, the others (starting 07xx) show the contact name - http://cl.ly/ZpAw

 

 

EDIT: think I've worked it out! If Messages.app is open, then it sends as an iMessage, if not, it sends as an SMS. When Messages is open I get the contact list as above, if it's not open, I don't see the phone number, just the name

Edited by Hatticus24
Link to post
  • 3 weeks later...

It seems to be something to do with having the country code at the beginning of the number? I've edited a contact to add +44 and it works as an iMessage (but seems a bit temperamental).

 

Also, the contacts then display differently - the one I've added +44 to shows the number, the others (starting 07xx) show the contact name - http://cl.ly/ZpAw

 

 

EDIT: think I've worked it out! If Messages.app is open, then it sends as an iMessage, if not, it sends as an SMS. When Messages is open I get the contact list as above, if it's not open, I don't see the phone number, just the name

 

Hi Hatticus24,

 

Sorry for taking so long to reply! I'm intrigued as to your solution, and I was wondering what adding +44 does to a phone number? 

 

-Nolan

Link to post

Also, the contacts then display differently - the one I've added +44 to shows the number, the others (starting 07xx) show the contact name - http://cl.ly/ZpAw

I was wondering the same thing.

It looks like if there is more than one mobile number assigned to a contact it will display the number it is going to use to send a message. And if there is only one mobile number, then it will display just the name. But in case of two or more mobile numbers, how the workflow decides which number to use i have no idea. 

Link to post

Hi Hatticus24,

 

Sorry for taking so long to reply! I'm intrigued as to your solution, and I was wondering what adding +44 does to a phone number? 

 

-Nolan

+44 is the country code for the UK (and it replaces the first 0 in the phone number).

 

Any thoughts on messages not sending as iMessage?

Link to post

+44 is the country code for the UK (and it replaces the first 0 in the phone number).

 

Any thoughts on messages not sending as iMessage?

 

After a quick google, it seems that the internet has found out how to specifically send SMS's using applescript. 

 

http://www.tenshu.net/2015/02/send-imessage-and-sms-with-applescript.html

 

However, I still need to search for a way to actually label phone numbers as "iMessage" or "SMS" numbers

Link to post

After a quick google, it seems that the internet has found out how to specifically send SMS's using applescript. 

 

http://www.tenshu.net/2015/02/send-imessage-and-sms-with-applescript.html

 

However, I still need to search for a way to actually label phone numbers as "iMessage" or "SMS" numbers

Ah OK. Ideally I want it to default to trying iMessage first (as most people I know use it), but revert to SMS if not. I just sent another test message to my wife, and it sent as SMS, not iMessage, even though anything I send via Messages.app sends as iMessage.

Link to post

Ah OK. Ideally I want it to default to trying iMessage first (as most people I know use it), but revert to SMS if not. I just sent another test message to my wife, and it sent as SMS, not iMessage, even though anything I send via Messages.app sends as iMessage.

 

So you're saying that after you added the +44, your messages always default to 'SMS'? My workflow (I believe) should always default to iMessage unless under very specific circumstances (the switchover to SMS is primarily handled by the Messages app which I don't fully understand).

Link to post

So you're saying that after you added the +44, your messages always default to 'SMS'? My workflow (I believe) should always default to iMessage unless under very specific circumstances (the switchover to SMS is primarily handled by the Messages app which I don't fully understand).

Seems to be the opposite - by adding +44 it sends as iMessage, without it, it sends as SMS.

 

Also, I've just noticed that if Messages.app is not open, it will now not even pick up my contacts - just hangs on 'searching'.

 

Could the latest OS X security update have affected things? That's pretty much all I can think that has changed

Link to post

This shouldn't be the behavior if messages is opened, it should display the number. Can you confirm once more?

 

OK, by trial and error, these are my findings:

 

1. iMessage closed (as in not running in the background) then the workflow displays as follows:

bej7ZzG.png

 

2. iMessage is open (window closed but the app runs in the background as denoted by a dot underneath the icon):

LueQYbK.png

 

Also I found this strange behaviour

1. When I type first three letters of the last name i get this:

3fDIUmm.png

 

2. When i type four letters of the last name i get this:

LueQYbK.png

 

As you can see when i type three letters of the last name i get absolutely irrelevant results. When i type four letters of the last name then the first line is correct but why does it show other contacts? 

 

The other workflows that involve actions on the contacts display proper contacts upon entering first two letters, so i think there is something in this workflow that does that. 

Link to post

Another thing i just noticed:

 

(iMessage is open and running in the background)

 

i type this:

YtA9xPI.png

 

 

The number that is suggested is wrong. I opened the Contacts app and checked, it is listed as home number and the  mobile number is different. After that i started the workflow again and get this:

 

RdigALi.png

 

Now the number suggested is correct, the mobile number. 

 

This happened to several contacts i tried. The workflow would suggest non-mobile number but once i check the contact in the Contacts app and call the workflow for the second time, it would suggest correct number, which is mobile. 

Link to post

Ah OK. Ideally I want it to default to trying iMessage first (as most people I know use it), but revert to SMS if not. I just sent another test message to my wife, and it sent as SMS, not iMessage, even though anything I send via Messages.app sends as iMessage.

As far as i know, iMessage first would try to send your text as iMessage anyhow and only if the number is not registered with Apple or if it is but would not "ping" then it sends the text as regular sms. 

Link to post
  • 1 month later...

Hi,

 

Is it normal for the workflow to take a long time to search for a name?

 

In Alfred, I type "im", a space, and then the name of my contact. It takes more than 20 seconds before Alfred shows a list of matching names.

 

When I installed this workflow, I ran "imu". I also checked the text file, and it contains the names and the phone numbers of my contacts.

 

I hope there's something I missed because this workflow could be really useful for me.

 

Thanks!

 
Louis
Link to post
  • 1 month later...

Hi,

 

Thanks for your work on this.

 

I've got the workflow installed... I ran the imu keyword and got the 'failed check forum for errors message'

I ran the checkforcommas keyword and found a contact with a comma that i removed

I ran imu again and get the same message.

 

I tracked down the python scrip that imu runs and tried it from the terminal.. The error it spits out there is:

 

python UpdateiMessageContacts.py

AllContactsAndAllNumbers.scpt:1515:1545: execution error: item 2 of {{}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, {}, missing value, missing value, {}, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, {}, missing value, {}, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, {}, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, {}, missing value, missing value, missing value, {}, {}, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, {}, missing value, missing value, {}, missing value, {}, missing value, missing value, missing value, missing value, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, {}, {}, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, {}, missing value, {}, {}, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, {}, {}, {}, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, {}, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, {}, missing value, {}, missing value, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, {}, missing value, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, {}, missing value, {}, missing value, missing value, {}, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, {}, {}, {}, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, {}, {}, missing value, missing value, {}, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, {}, missing value, {}, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, {}, {}, missing value, missing value, {}, missing value, {}, {}, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, {}, {}, missing value, {}, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, {}, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, {}, missing value, missing value, {}, missing value, {}, missing value, {}, missing value, missing value, missing value, missing value, missing value, {}, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, {}, {}, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, {}, missing value, {}, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, {}, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, {}, missing value, missing value, missing value, {}, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, {}, missing value, missing value, missing value, {}, missing value, {}, missing value, {}, missing value, missing value, missing value, missing value, missing value, {}, missing value, {}, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, {}, {}, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, {}, {}, missing value, {}, missing value, {}, missing value, missing value, missing value, {}, missing value, {}, missing value, {}, missing value, {}, {}, missing value, missing value, missing value, missing value, missing value, {}, missing value, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, {}, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, {}, missing value, {}, {}, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, missing value, {}, missing value, missing value, missing value, {}, missing value, missing value, missing value, missing value, {}, {}, {}} doesn’t understand the “count” message. (-1708)
Contacts Update Failed. Please check forum post for possible reason(s)
 
I tried deleting and reinstalling the workflow - thought maybe a temp file got generated with the contacts with commas in it that needed to be cleared out.
 
I'm stuck there, any suggestions on what to try next?
 
Thanks again,
Graham
Link to post
  • 1 month later...

Contact search is not accurate. I have to type whole name sometimes to get exact match.

 

Say I am searching for a name starting with "sunee". When I type s, it gives names starting with s. Works good till now. When I type su, it gives names starting with other alphabets as well (lot of unneeded values). This continues till I type all letters. Lot of spam will be there. Only after typing all letters "sunee", it gives correct name.

 

Please improve the searching. Instead if we search just using prefix search, it would be soo much better.

Link to post
  • 1 month later...

On the el capitan beta the reply to latest message feature always sends messages to one of my group chats (even if I haven't sent anything to it in a long time). Is there any information I could provide to get this issue fixed?

 

Actually, David Ferguson wrote this portion of the workflow, and I don't believe I'll be installing the el capitan beta. I guess this is a long ways to say that I don't believe this will get fixed unless another workflow adds this functionality.

Link to post
  • Vero locked this topic
  • Vero unlocked this topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...