diff --git a/Meade.net.Telescope/Telescope.cs b/Meade.net.Telescope/Telescope.cs index aa23f75..d3dda39 100644 --- a/Meade.net.Telescope/Telescope.cs +++ b/Meade.net.Telescope/Telescope.cs @@ -462,13 +462,28 @@ namespace ASCOM.Meade.net { if (SkipAutoStarPrompts) { - var displayText = Action("Handbox", "readdisplay"); - if (displayText.Contains("Daylight")) + if (SharedResourcesWrapper.ProductName == TelescopeList.LX200GPS) { - for(var i = 0; i < 3; i++) + var displayText = Action("Handbox", "readdisplay"); + if (displayText.Contains("Daylight")) { - Action("Handbox", "enter"); - _utilities.WaitForMilliseconds(2000); + for (var i = 0; i < 3; i++) + { + Action("Handbox", "enter"); + _utilities.WaitForMilliseconds(2000); + } + } + } + else if (SharedResourcesWrapper.ProductName == TelescopeList.Autostar497) + { + var displayText = Action("Handbox", "readdisplay"); + if (displayText.Contains("€Press 0 to Alignor MODE for Menu")) + { + for (var i = 0; i < 4; i++) + { + Action("Handbox", "mode"); + _utilities.WaitForMilliseconds(500); + } } } }