It is currently Tue Oct 24, 2017 3:25 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Mac equivalent for broadcasting custom message
PostPosted: Wed Nov 30, 2016 11:48 am 
Offline
Enthusiast
Enthusiast

Joined: Tue Jun 21, 2011 10:39 am
Posts: 326
In windows I use RegisterWindowMessage_ and SendMessageTimeout_ to "communicate" between programs. Is there a way to do this in Mac OS-X?


Top
 Profile  
Reply with quote  
 Post subject: Re: Mac equivalent for broadcasting custom message
PostPosted: Wed Nov 30, 2016 12:46 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 04, 2015 7:10 am
Posts: 1673
havent done any IPC myself on Mac yet but looks like quite a few options to choose from
http://nshipster.com/inter-process-communication/
https://macdevelopers.wordpress.com/cat ... ation-ipc/

_________________
Thankyou to all the coders who generously helped & encouraged me in the nearly 2yrs when i was welcome here,
it was a tremendous privilege. I learned a lot. I wish you and your families all the best and success for the future.


Top
 Profile  
Reply with quote  
 Post subject: Re: Mac equivalent for broadcasting custom message
PostPosted: Wed Nov 30, 2016 1:54 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue Jun 21, 2011 10:39 am
Posts: 326
Keya wrote:
havent done any IPC myself on Mac yet but looks like quite a few options to choose from
http://nshipster.com/inter-process-communication/
https://macdevelopers.wordpress.com/cat ... ation-ipc/
That seems like the one. But how to use them in PureBasic? :shock:


Top
 Profile  
Reply with quote  
 Post subject: Re: Mac equivalent for broadcasting custom message
PostPosted: Fri Dec 02, 2016 7:14 am 
Offline
Enthusiast
Enthusiast

Joined: Tue Jun 21, 2011 10:39 am
Posts: 326
After reading a bit on IPC it seems that your app must be signed in order to do IPC. Not worth the effort. :lol:

I only wanted to tag a running instance of my app to pass it the new parameters, but that is solved.


Top
 Profile  
Reply with quote  
 Post subject: Re: Mac equivalent for broadcasting custom message
PostPosted: Wed Feb 15, 2017 1:58 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Jan 12, 2011 3:48 pm
Posts: 182
Location: Serbia
You can use AppleScript to communicate between your programs. No signing required.

_________________
PB examples collection
pb-osx-globalhotkeys
pb-osx-notifications


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Exabot [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye