Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 02-08-2017, 17:03   #1
Registered User

Join Date: Dec 2011
Boat: Blue Buoy Del Rey 50
Posts: 153
Anyone can write plugin like this for me?

When you click to bring up the Menu on the map. It will add custom entries(s) that will be specified in a config/settings file.
The config/settings file will contain something similar to:

Menu Title,Menu to Show in,Wait for response,Command
-----------------------------------------------------
"title 1",S,1,"command {lat} {lon} {zoom}"
"title 2",S,0,"command {lat} {lon}"
"title 3",A,0,"command {MMSI}"
"title 4",S,0,"command"


{lat} {lon} {zoom} > should get replaced by the current latitude, longitude and zoom of the point of the cursor where clicked.


{MMSI} > the mmsi of the select vessel

Not all commands will have all options some may just have lat / lon or some may have nothing.

The "Menu to show in" will be either the (S)tandard Menu or the (A)IS menu.

Once clicked and the command executed if "wait for response" = 1 then a box will show up similar to the "Target Query" for AIS.
It should show the return data if any from the command. It should be able to understand basic formatted text to display similar to basic html.

example:
<b>This is bold</b>
<br>
Hello World

At very least a way to have bold and new lines.
A Huge plus would be to be able to display images as well.

  1. If the "wait for response" = 0 the command will execute but there will be no expected response.
deepthought is offline   Reply With Quote
Old 02-08-2017, 17:14   #2
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,366
Re: Anyone can write plugin like this for me?

I don't understand the question but the answer is 42.
transmitterdan is online now   Reply With Quote
Old 02-08-2017, 17:26   #3
Registered User

Join Date: Dec 2011
Boat: Blue Buoy Del Rey 50
Posts: 153
Re: Anyone can write plugin like this for me?

Looking for a plugin that will function as specified above for OpenCPN I am not a C programmer and have written programs in other basic language that would like to get the content back to or be executed from OpenCPN.

Thanks
deepthought is offline   Reply With Quote
Reply

Tags
plug

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grib plugin for Mac - Write and Send Email Config SeattleSail OpenCPN 7 02-09-2015 06:05
Is there an email that I can write to and post on CF? s/v Beth Marine Electronics 12 08-06-2015 08:28
Would You Like to Write About Cruising and Get Paid for That? Andrewkar Commercial Posts 10 25-05-2012 13:41
Any of You Gals Write in Spanish Mexdon Families, Kids and Pets Afloat 14 19-08-2011 17:34
Prescription Meds: Who will write Rx? pwilliams Health, Safety & Related Gear 20 20-04-2011 12:27



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 04:50.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.