Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- title MEGAKOSMOS - Checking for Updates...
- del n.v
- download https://pastebin.com/raw/FPyc4YhJ n.v
- if not exist n.v goto men
- set /p new=<n.v
- del n.v
- if NOT %new%==1.2 (
- cls
- choice /M "MEGAKOSMOS has an update available, would you like to install it?"
- if errorlevel==2 goto men
- start up.bat
- exit
- )
- :men
- title MEGAKOSMOSViewer
- cls
- echo --MEGAKOSMOS 1.2
- cmdMenuSel 0ff0 "Images" "Logs" "Camera Software" "User Guide" "Exit"
- if %errorlevel%==1 goto imgs
- if %errorlevel%==2 goto logs
- if %errorlevel%==3 (
- cd..
- start iCap
- cd view64
- goto men
- )
- if %errorlevel%==4 goto man
- if %errorlevel%==5 exit
- goto men
- :imgs
- cd ..
- md imgs
- cd imgs
- start .
- cd ..
- cd view64
- goto men
- :logs
- title MEGAKOSMOS - Log Menu
- cls
- cmdMenuSel 0ff0 "Select Existing" "Create/Edit Current" "Back"
- if %errorlevel%==1 goto findlog
- if %errorlevel%==2 goto currentlog
- if %errorlevel%==3 goto men
- goto logs
- :findlog
- cd ..
- md logs
- cd logs
- title MEGAKOSMOS - Log Viewer
- cls
- :rey
- dir
- set /p selyr=Enter Year:
- if not exist %selyr% (
- cls
- echo Year does not exist.
- echo.
- echo.
- goto rey
- )
- cd %selyr%
- cls
- :rem
- dir
- set /p selmnth=Enter Month:
- if not exist %selmnth% (
- cls
- echo Month does not exist.
- echo.
- echo.
- goto rem
- )
- cd %selmnth%
- cls
- dir
- set /p selday=Enter Day:
- cls
- title MEGAKOSMOS - Log Viewer\%selday%.%selmnth%.%selyr:~2,2%SpaceReport.log
- type %selday%.%selmnth%.%selyr:~2,2%SpaceReport.log
- pause >nul
- cd ..
- cd ..
- cd ..
- cd view64
- goto logs
- :currentlog
- cd ..
- md logs
- cd logs
- set ar=%date:~8,2%
- set year=%date:~6,4%
- set month=%date:~3,2%
- set day=%date:~0,2%
- md %year%
- cd %year%
- md %month%
- cd %month%
- if exist %day%.%month%.%ar%SpaceReport.log start %day%.%month%.%ar%SpaceReport.log
- if not exist %day%.%month%.%ar%SpaceReport.log echo .LOG > %day%.%month%.%ar%SpaceReport.log & start %day%.%month%.%ar%SpaceReport.log
- cd ..
- cd ..
- cd ..
- cd view64
- goto logs
- :man
- title MEGAKOSMOS - User Guide
- cls
- cmdMenuSel 0ff0 "Calibration" "Optimising Software" "Link Telescope" "Return" "For any additional help, click here to watch the source video."
- if %errorlevel%==1 goto cal
- if %errorlevel%==2 goto opt
- if %errorlevel%==3 goto lin
- if %errorlevel%==4 goto men
- if %errorlevel%==5 (
- start https://www.youtube.com/watch?v=OqqoFZyxzQg
- goto man
- )
- :cal
- title MEGAKOSMOS - User Guide\Calibration
- cls
- echo Alignment unto three stars.
- echo.
- echo Press any key to return...
- pause >nul
- goto man
- :opt
- title MEGAKOSMOS - User Guide\Optimising Software
- cls
- echo :Device: NexImage 10 (37024427)
- echo :Video Size and Color Format: RGB32 (1920x1080)
- echo :FPS: 15.00
- echo :Zoom Factor: 15 %
- echo //:Application Name: iCap 2.3
- echo //Use [Crtl + U] Save Image...
- echo //:File Name for Image Saving: img#
- echo.
- echo Press any key to return...
- pause >nul
- goto man
- :lin
- title MEGAKOSMOS - User Guide\Linking Telescope
- cls
- echo Connect USB and power unit into USB block.
- echo Connect telescope to mains supply or battery pack.
- echo.
- echo Press any key to return...
- pause >nul
- goto man
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement