Access to incoming text?

Posted on
Fri Sep 13, 2019 12:21 pm
Alain offline
Posts: 88
Joined: Apr 19, 2008

Re: Access to incoming text?

This is working really well, thank you very much.

Pushing your magical abilities: any way we could strip out an incoming iMessage voice recording and save it to a file?

Thanks again.
Alain

Posted on
Fri Sep 13, 2019 6:39 pm
GlennNZ offline
User avatar
Posts: 1562
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Access to incoming text?

Alain wrote:
This is working really well, thank you very much.
Pushing your magical abilities: any way we could strip out an incoming iMessage voice recording and save it to a file?
Thanks again.
Alain


Okay - have a look at 0.4.4

Made a pre-release to avoid the download issues before!
https://github.com/Ghawken/iMessagePlugin/releases

Does as requested - but the imessage audiofile is received as a *.caf file - not sure that would be much use?
But the Plugin converts it to a mp3 and then updates iMessage/Audiopath variable with the mp3 path.

If conversion not needed and *.caf files work - then let me know and would be simpler to remove this bit and use give you the *.caf path
(which is same directory just *.caf file)

Glenn

Posted on
Fri Sep 13, 2019 6:54 pm
Alain offline
Posts: 88
Joined: Apr 19, 2008

Re: Access to incoming text?

Oh, man! That's amazing. Let me play with this for a bit and let you know.

Thank so much.
Alain

Posted on
Sat Sep 14, 2019 12:53 pm
Alain offline
Posts: 88
Joined: Apr 19, 2008

Re: Access to incoming text?

Sorry, I'm not seeing any new variables, or any new files anywhere. Where should I look?

When I send a voice message within a iMessage, the buddy variable changes to "audiomessage", but that's all the changes I see.

I disabled, uninstalled previous versions of the plugin, removed the preferences file, restarted the server, put in the new buddy names, checked the variables option - so a full new installation from scratch.

All looks good in the bootup. Says it's running 0.4.4, and connection to Imsg database is successful.

Thanks,
Alain

Posted on
Sat Sep 14, 2019 3:52 pm
GlennNZ offline
User avatar
Posts: 1562
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Access to incoming text?

Ok
I have a look - may be that I missed some wit.ai check, as thought had it enabled with both wit.ai and without - but may be something further upstream that I didn’t check

Glenn


Sent from my iPhone using Tapatalk

Posted on
Sat Sep 14, 2019 3:56 pm
Alain offline
Posts: 88
Joined: Apr 19, 2008

Re: Access to incoming text?

I do not have wit.ai activated. Should I?

Posted on
Sat Sep 14, 2019 4:01 pm
GlennNZ offline
User avatar
Posts: 1562
Joined: Dec 07, 2014
Location: Central Coast, Australia

Access to incoming text?

Alain wrote:
I do not have wit.ai activated. Should I?


No should work for both.

Code seems okay - Edit: no it doesn’t it! Found issue, will fix now...


have you enabled save incoming messages to variable within pluginConfig? Other beta version may not have needed it for saving.




Sent from my iPad using Tapatalk

Posted on
Sat Sep 14, 2019 4:12 pm
GlennNZ offline
User avatar
Posts: 1562
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Access to incoming text?

Ok - try 0.4.5

In Pre-release as above.

Glenn


Sent from my iPad using Tapatalk

Posted on
Sat Sep 14, 2019 6:41 pm
Alain offline
Posts: 88
Joined: Apr 19, 2008

Re: Access to incoming text?

We are getting really close! Amazing, thank you.

AudioPath variable that is written points to where the .caf file is. Is the mp3 file somewhere else?

By the way - a .caf file is fine - I am using the Play Sound app that plays anything the Quicktime player can play, including .caf files.

So the only tweak would be to make the AudioPath just point to the .caf file exactly where it is.

If it helps, this is my AudioPath variable:

/Users/house/Library/Messages/Attachments/99/09/910757E4-D6BF-4228-96BE-0F37B41BBA07/Audio Message-7.mp3

But there's a .caf file there, not a mp3 file.

Thanks again!

Posted on
Sat Sep 14, 2019 7:32 pm
GlennNZ offline
User avatar
Posts: 1562
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Access to incoming text?

Alain wrote:
We are getting really close! Amazing, thank you.

AudioPath variable that is written points to where the .caf file is. Is the mp3 file somewhere else?
By the way - a .caf file is fine - I am using the Play Sound app that plays anything the Quicktime player can play, including .caf files.
So the only tweak would be to make the AudioPath just point to the .caf file exactly where it is.
If it helps, this is my AudioPath variable:
/Users/house/Library/Messages/Attachments/99/09/910757E4-D6BF-4228-96BE-0F37B41BBA07/Audio Message-7.mp3
But there's a .caf file there, not a mp3 file.
Thanks again!


Mine points directly to the mp3 file - which does exist in that location.
I would presume there are some folder permission issues for you.

But happy to not create mp3 file, and just point to already existing caf file.

Updating now.
Try 0.4.6

Posted on
Sat Sep 14, 2019 7:55 pm
Alain offline
Posts: 88
Joined: Apr 19, 2008

Re: Access to incoming text?

Looking awesome. Now I just have to make all the pieces work together. Will summarize back to this thread.
Thanks so much for being so responsive.

Alain

Posted on
Tue Oct 22, 2019 6:45 am
siclark offline
Posts: 1960
Joined: Jun 13, 2017
Location: UK

Re: Access to incoming text?

Hi Glenn, I just tried installing 0.4.6 as I was interested in the variable functionality, but have now lost the configure menu item. I just have disable and reload.

I have tried rolling back to the plugin store version, as well as stopping server, deleting from plugin folder and restarting. I don't get any error messages on startup. Any ideas?

Thanks
Simon.

Downgrading plugin iMessage Plugin to older version 0.4.2 (previous version moved to trash)
Loading plugin "iMessage Plugin 0.4.2"
Starting plugin "iMessage Plugin 0.4.2" (pid 81718)
iMessage Plugin
iMessage Plugin ================================================ Initializing New Plugin Session =================================================
iMessage Plugin Plugin name: iMessage Plugin
iMessage Plugin Plugin version: 0.4.2
iMessage Plugin Plugin ID: com.GlennNZ.indigoplugin.iMessage
iMessage Plugin Indigo version: 7.4.0
iMessage Plugin Python version: 2.7.16 (default, Aug 24 2019, 18:37:03) [GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.32.4) (-macos10.15-objc-s
iMessage Plugin Python Directory: /System/Library/Frameworks/Python.framework/Versions/2.7
iMessage Plugin System Release: 19.0.0
iMessage Plugin System Release Short: 19
iMessage Plugin System Version: Darwin Kernel Version 19.0.0: Wed Sep 25 20:18:50 PDT 2019; root:xnu-6153.11.26~2/RELEASE_X86_64
iMessage Plugin ==================================================================================================================================
iMessage Plugin First run of new version, performing some maintenance
iMessage Plugin Performing first upgrade/run of version 0.4.2
iMessage Plugin Backing up Current iMsg Database Directory to :/Users/simon/Documents/Indigo-iMsgBackup/
iMessage Plugin Running update wit.ai Device naming and further Sample data for Wit.Ai Online App now
iMessage Plugin App ID exists, presuming App exists.
iMessage Plugin Completing plugin updating/installation for 0.4.2

Posted on
Tue Oct 22, 2019 11:13 am
siclark offline
Posts: 1960
Joined: Jun 13, 2017
Location: UK

Re: Access to incoming text?

I disabled the plugin, stopped server, deleted the plugin and the preferences then restarted, and reinstalled 4.6 from github and all good now.

Posted on
Tue Oct 22, 2019 2:09 pm
GlennNZ offline
User avatar
Posts: 1562
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Access to incoming text?

siclark wrote:
I disabled the plugin, stopped server, deleted the plugin and the preferences then restarted, and reinstalled 4.6 from github and all good now.


Good to hear up and going,

Was going to say send me the prefs file and I’ll have a look.

Still will have a look and see what might have gone wrong when upgraded.

When you say config menu - to confirm - what do you mean? - device settings or plugin config menu? Did you get a error message?

Thanks

Glenn


Sent from my iPad using Tapatalk

Posted on
Wed Oct 23, 2019 3:33 am
siclark offline
Posts: 1960
Joined: Jun 13, 2017
Location: UK

Re: Access to incoming text?

Hi,

When I clicked on plugin menu and hovered over the iMessages plugin, the pop up menu only shows Disable, Reload and maybe About? No other options. When I tired to use the plugin in actions it said it wasnt running, greyed out, but the log showed that it had started.

Simon

Who is online

Users browsing this forum: No registered users and 1 guest