Specifically the first string variable asking for share service. I’d like to email the image to an address.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Send screenshot Share()
Collapse
X
-
Hello brucelevy,
Thanks for your post.
The first string is basically the name of the share service you previously created in Tools>options - Share services The first field in there is the name of the share service and that is what you would provide to the Share() method.
Please see the examples in the helpguide here: https://ninjatrader.com/support/help...-us/?share.htm also, review the tips in the link.
The first example in the helpguide shows sharing an image.
The second example shows sending a message to a different e-mail address.Paul H.NinjaTrader Customer Service
-
Hello brucelevy,
Thanks for your reply.
To discuss further would be better do through e-mail so as not expose e-mail addresses in the forum. I will need to see a screenshot of how your share service is set-up, and an example of the code you are using that produces the issue. In addition, please send your log and trace files to:
PlatformSupport@NinjaTradaer[dot]Com, mark the e-mail Atten: Paul and include a link to this thread.
Open your NinjaTrader folder under My Documents.
Right-click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
Send the 2 compressed folders as attachments to your email to platformsupport.
Once complete, you can delete these compressed folders.
Please include the screenshot(s) and code requested in your reply.Paul H.NinjaTrader Customer Service
Comment
-
My sendmail function works fine, I am using gmail.
Would you be able to show me an example of sending a screenshot to an email? I see the one in the help guide but doesn’t seem to work.
I’ll send the information you requested once I get back to my computer.
Thanks.
Comment
-
Hello brucelevy,
Thanks for your reply.
Sure, here is an example:
Share("Email", "Example Image", @"C:\Users\nameofuser\Documents\NinjaTrader 8\testimage.png", new object[]{"[email protected]","test e-mail with image"});
Please note that share will only work in real time.Paul H.NinjaTrader Customer Service
Comment
-
Hello soyjesus,
Thanks for your post.
The screenshot would need to be previously created.
You may want to review this thread: https://ninjatrader.com/support/foru...738#post527738Paul H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ZenCortexCLICK, Today, 04:58 AM
|
0 responses
2 views
0 likes
|
Last Post Today, 04:58 AM | ||
Started by sidlercom80, 10-28-2023, 08:49 AM
|
172 responses
2,280 views
0 likes
|
Last Post
by sidlercom80
Today, 04:40 AM
|
||
Started by Irukandji, Yesterday, 02:53 AM
|
2 responses
17 views
0 likes
|
Last Post
by Irukandji
Today, 03:55 AM
|
||
Started by adeelshahzad, Today, 03:54 AM
|
0 responses
5 views
0 likes
|
Last Post
by adeelshahzad
Today, 03:54 AM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
3 responses
13 views
0 likes
|
Last Post Yesterday, 11:58 PM |
Comment