Skip to content

Startup parameters

Nicke Manarin edited this page Jun 7, 2021 · 5 revisions

Arguments

The app can interpret these parameters when starting:

Argument Parameters Name Observation Example
-lang
/lang
Language codes,
such as pt, ru or es-AR
Localization selection Alters the localization of the whole app. ScreenToGif.exe -lang pt
-softmode
/softmode
-sm
/sm
<none> Software UI render mode Forces the UI render to be
done via software mode.
ScreenToGif.exe -sm
-hardmode
/hardmode
-hm
/hm
<none> Hardware UI render mode Forces the UI render to be
done via hardware mode.
ScreenToGif.exe -hm
-new
/new
-n
/n
<none> New instance Forces a new instance to open.
(>= v2.32)
ScreenToGif.exe -n
-open
/open
-o
/o
minimized/min/m
startup/start/up
screen-recorder/screen/s
webcam-recorder/webcam/w
board-recorder/board/b
editor/e
options/o
Open window Opens a window passed as parameter.
(>= v2.32)
ScreenToGif.exe -open screen
ScreenToGif.exe -open options
ScreenToGif.exe -open e
-region
/region
-r
/r
Rect structure:
100,200,500,250
Region Sets the capture region for the screen recorder.
(>= v2.32)
ScreenToGif.exe -r 50,40,100,200
-frequency
/frequency
-framerate
/framerate
-f
/f
15fps
20fpm
45fph
manual
interaction
Capture frequency Sets the capture frequency for the screen recorder.
(>= v2.32)
ScreenToGif.exe -f 60fps
-limit
/limit
-l
/l
TimeSpan structure:
00:01:30 as 1m30s
1:25 as 1h25m
Time limit Sets a capture time limit for the screen recorder.
Limit is ignored if user pauses or closes the recorder.
Doesn't work with manual and interaction capture frequencies.
(>= v2.32)
ScreenToGif.exe -l 00:01:10
-capture
/capture
-c
/c
<none> Start capture Starts capture of the screen recorder.
You need to set the screen recorder to open for this command to work.
Doesn't work with manual and interaction capture frequencies.
(>= v2.32)
ScreenToGif.exe -n -o s -r 300,300,400,250 -f 15fps -l 00:00:06 -c

Example

./ScreenToGif.exe -lang pt -sm