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!
See more
See less

Partner 728x90

Collapse

Change Sounds for Log() command

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Change Sounds for Log() command

    // Generates a log message with a notification window
    Log("This will generate a notification window as well", NinjaTrader.Cbi.LogLevel.Alert);

    Is there any way to change the sound generated when the Log message window appears?

    #2
    Hello rcsingleton,

    Thank you for your post.

    Unfortunately no, the sound will be the Windows pop up message sound. You could use NinjaTrader.Cbi.LogLevel.Information, Error or Warning and use PlaySound() to play a different sound instead: http://www.ninjatrader.com/support/h.../playsound.htm

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by BarzTrading, Today, 07:25 AM
    2 responses
    15 views
    1 like
    Last Post BarzTrading  
    Started by devatechnologies, 04-14-2024, 02:58 PM
    3 responses
    20 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by tkaboris, Today, 08:01 AM
    0 responses
    4 views
    0 likes
    Last Post tkaboris  
    Started by EB Worx, 04-04-2023, 02:34 AM
    7 responses
    162 views
    0 likes
    Last Post VFI26
    by VFI26
     
    Started by Mizzouman1, Today, 07:35 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X