Reply to post

[FAQ]How to load .ini automatically when Hyper starts?

Author
DennisTheHyper
User
  • Total Posts : 1
  • Scores: 0
  • Reward points: 0
  • Joined: 2014/09/04 14:51:55
  • Status: offline
2014/09/04 14:58:12 (permalink)
0

How to load .ini automatically when Hyper starts?

HONESTLY, I can't find the answer -- and I really, really looked for it. 
 
Thank you for your help

1 Reply Related Threads

    Admin
    Administrator
    • Total Posts : 275
    • Scores: 6
    • Reward points: 0
    • Joined: 2010/11/22 00:00:00
    • Location: USA
    • Status: offline
    Re: How to load .ini automatically when Hyper starts? 2014/09/06 15:24:07 (permalink)
    0
    Sorry for the late answer, too much to do all the time... You could use .ini file in 2 ways: either import it to the system registry, so upon the next start the new options are in the registry and is used by HyperSnap by default, or redirect HyperSnap to skip the registry completely, and read/save the options from/to an .ini file only. This second way would be useful if you wanted to have several different configurations of HyperSnap to use for different tasks.
     
    1. To read in the options once and save them in the registry, first exit completely any running instance of HyperSnap by selecting File/Exit command, then you would need to open Command Prompt window and type a command like:
     
    "C:\Program Files (x86)\HyperSnap 7\HprSnap7.exe" -readopts C:\tmp\MyOptions.ini
     
    In this command, substitute the part "C:\Program Files (x86)\HyperSnap 7\..." by your actual path to HprSnap7.exe program file, or if you already use version 8, to HprSnap8.exe. Also substitute the "C:\tmp\MyOptions.ini" with the actual path and name of your .ini file.
    Afterwards, you can just start HyperSnap normally and it will use the new options.
     
    2. If you want to create maybe several shortcuts to HyperSnap using different ini files, reading and writing back the options there as you modify them, you could create or modify a shortcut to HyperSnap 7 or 8. You do this by a right-click on the shortcut/icon that starts HyperSnap, choose "Properties" from the menu, then click into the "Target" text field. Move the text cursor to the very end and add 1 space, then type:
     
        -initfrom C:\tmp\MyOpts2.ini
     
    or whatever is your path/filename of the ini file, after the -initfrom argument. As I said, you can have several shortcuts/icons for starting HyperSnap with different ini files, if different settings are needed for different tasks.
     
    Greg
     
    Jump to:
    © 2024 APG vNext Commercial Version 5.1