(((meta (@ (content . "Enable Zettelstore to start automatically on Windows") (name . "title"))) (meta (@ (content . "manual") (name . "role"))) (meta (@ (content . "#installation #manual #zettelstore") (name . "tags"))) (meta (@ (content . "zmk") (name . "syntax"))) (meta (@ (content . "00001003300000") (name . "backward"))) (meta (@ (content . "1") (name . "box-number"))) (meta (@ (content . "(c) 2020-present by Detlef Stern ") (name . "copyright"))) (meta (@ (content . "00010101000000") (name . "created"))) (meta (@ (content . "00001003300000 00001003305102 00001003305104 00001003305106 00001003305108 00001003305110 00001003305112 00001003305114 00001003305116 00001003305118 00001003305120 00001003305122 00001003305124") (name . "forward"))) (meta (@ (content . "en") (name . "lang"))) (meta (@ (content . "EUPL-1.2-or-later") (name . "license"))) (meta (@ (content . "20220218125541") (name . "modified"))) (meta (@ (content . "20220218125541") (name . "published"))) (meta (@ (content . "public") (name . "visibility")))) (p "Windows" " " "is" " " "a" " " "complicated" " " "beast." " " "There" " " "are" " " "several" " " "ways" " " "to" " " "automatically" " " "start" " " "Zettelstore.") (h2 (@ (id . "startup-folder")) "Startup" " " "folder") (p "One" " " "way" " " "is" " " "to" " " "use" " " "the" " " (a (@ (class . "external") (href . "https://support.microsoft.com/en-us/windows/add-an-app-to-run-automatically-at-startup-in-windows-10-150da165-dcd9-7230-517b-cf3c295d89dd")) "autostart" " " "folder") "." " " "Open" " " "the" " " "folder" " " "where" " " "you" " " "have" " " "placed" " " "in" " " "the" " " "Explorer." " " "Create" " " "a" " " "shortcut" " " "file" " " "for" " " "the" " " "Zettelstore" " " "executable." " " "There" " " "are" " " "some" " " "ways" " " "to" " " "do" " " "this:") (ul (li "Execute" " " "a" " " "right-click" " " "on" " " "the" " " "executable," " " "and" " " "choose" " " "the" " " "menu" " " "entry" " " (@L (@H "“") "Create" " " "shortcut" (@H "”")) ",") (li "Execute" " " "a" " " "right-click" " " "on" " " "the" " " "executable," " " "and" " " "then" " " "click" " " "Send" " " "To" " " ">" " " "Desktop" " " "(Create" " " "shortcut).") (li "Drag" " " "the" " " "executable" " " "to" " " "your" " " "Desktop" " " "with" " " "pressing" " " "the" " " (kbd "Alt") "-Key.")) (p "If" " " "you" " " "have" " " "created" " " "the" " " "shortcut" " " "file," " " "you" " " "must" " " "move" " " "it" " " "into" " " "the" " " "Startup" " " "folder." " " "Press" " " "the" " " "Windows" " " "logo" " " "key" " " "and" " " "the" " " "key" " " (kbd "R") "," " " "type" " " (kbd "shell:startup") "." " " "Select" " " "the" " " "OK" " " "button." " " "This" " " "will" " " "open" " " "the" " " "Startup" " " "folder." " " "Move" " " "the" " " "shortcut" " " "file" " " "into" " " "this" " " "folder.") (p "The" " " "next" " " "time" " " "you" " " "log" " " "into" " " "your" " " "computer," " " "Zettelstore" " " "will" " " "be" " " "started" " " "automatically." " " "However," " " "it" " " "remains" " " "visible," " " "at" " " "least" " " "in" " " "the" " " "task" " " "bar.") (p "You" " " "can" " " "modify" " " "the" " " "behavior" " " "by" " " "changing" " " "some" " " "properties" " " "of" " " "the" " " "shortcut" " " "file.") (h2 (@ (id . "task-scheduler")) "Task" " " "scheduler") (p "The" " " "Windows" " " "Task" " " "scheduler" " " "allows" " " "you" " " "to" " " "start" " " "Zettelstore" " " "as" " " "an" " " "background" " " "task.") (p "This" " " "is" " " "both" " " "an" " " "advantage" " " "and" " " "a" " " "disadvantage.") (p "On" " " "the" " " "plus" " " "side," " " "Zettelstore" " " "runs" " " "in" " " "the" " " "background," " " "and" " " "it" " " "does" " " "not" " " "disturbs" " " "you." " " "All" " " "you" " " "have" " " "to" " " "do" " " "is" " " "to" " " "open" " " "your" " " "web" " " "browser," " " "enter" " " "the" " " "appropriate" " " "URL," " " "and" " " "there" " " "you" " " "go.") (p "On" " " "the" " " "negative" " " "side," " " "you" " " "will" " " "not" " " "be" " " "notified" " " "when" " " "you" " " "enter" " " "the" " " "wrong" " " "data" " " "in" " " "the" " " "Task" " " "scheduler" " " "and" " " "Zettelstore" " " "fails" " " "to" " " "start." " " "This" " " "can" " " "be" " " "mitigated" " " "by" " " "first" " " "using" " " "the" " " "command" " " "line" " " "prompt" " " "to" " " "start" " " "Zettelstore" " " "with" " " "the" " " "appropriate" " " "options." " " "Once" " " "everything" " " "works," " " "you" " " "can" " " "register" " " "Zettelstore" " " "to" " " "be" " " "automatically" " " "started" " " "by" " " "the" " " "task" " " "scheduler." " " "There" " " "you" " " "should" " " "make" " " "sure" " " "that" " " "you" " " "have" " " "followed" " " "the" " " "first" " " "steps" " " "as" " " "described" " " "on" " " "the" " " (a (@ (href . "00001003300000")) "parent" " " "page") ".") (p "To" " " "start" " " "the" " " "Task" " " "scheduler" " " "management" " " "console," " " "press" " " "the" " " "Windows" " " "logo" " " "key" " " "and" " " "the" " " "key" " " (kbd "R") "," " " "type" " " (kbd "taskschd.msc") "." " " "Select" " " "the" " " "OK" " " "button.") (p (img (@ (alt . "Zettel without title: 00001003305102") (src . "00001003305102")))) (p "This" " " "will" " " "start" " " "the" " " (@L (@H "“") "Task" " " "Scheduler" (@H "”")) ".") (p "Now," " " "create" " " "a" " " "new" " " "task" " " "with" " " (@L (@H "“") "Create" " " "Task" " " "..." (@H "”"))) (p (img (@ (alt . "Zettel without title: 00001003305104") (src . "00001003305104")))) (p "Enter" " " "a" " " "name" " " "for" " " "the" " " "task," " " "e.g." " " (@L (@H "“") "Zettelstore" (@H "”")) " " "and" " " "select" " " "the" " " "options" " " (@L (@H "“") "Run" " " "whether" " " "user" " " "is" " " "logged" " " "in" " " "or" " " "not" (@H "”")) " " "and" " " (@L (@H "“") "Do" " " "not" " " "store" " " "password." (@H "”"))) (p (img (@ (alt . "Zettel without title: 00001003305106") (src . "00001003305106")))) (p "Create" " " "a" " " "new" " " "trigger.") (p (img (@ (alt . "Zettel without title: 00001003305108") (src . "00001003305108")))) (p "Select" " " "the" " " "option" " " (@L (@H "“") "At" " " "startup" (@H "”")) ".") (p (img (@ (alt . "Zettel without title: 00001003305110") (src . "00001003305110")))) (p "Create" " " "a" " " "new" " " "action.") (p (img (@ (alt . "Zettel without title: 00001003305112") (src . "00001003305112")))) (p "The" " " "next" " " "steps" " " "are" " " "the" " " "trickiest.") (p "If" " " "you" " " "did" " " "not" " " "created" " " "a" " " "startup" " " "configuration" " " "file," " " "then" " " "create" " " "an" " " "action" " " "that" " " "starts" " " "a" " " "program." " " "Enter" " " "the" " " "file" " " "path" " " "where" " " "you" " " "placed" " " "the" " " "Zettelstore" " " "executable." " " "The" " " (@L (@H "“") "Browse" " " "..." (@H "”")) " " "button" " " "helps" " " "you" " " "with" " " "that." (sup (@ (id . "fnref:1")) (a (@ (class . "zs-noteref") (href . "#fn:1") (role . "doc-noteref")) "1"))) (p "It" " " "is" " " "essential" " " "that" " " "you" " " "also" " " "enter" " " "a" " " "directory," " " "which" " " "serves" " " "as" " " "the" " " "environment" " " "for" " " "your" " " "zettelstore." " " "The" " " "(sub-)" " " "directory" " " (kbd "zettel") "," " " "which" " " "will" " " "contain" " " "your" " " "zettel," " " "will" " " "be" " " "placed" " " "in" " " "this" " " "directory." " " "If" " " "you" " " "leave" " " "the" " " "field" " " (@L (@H "“") "Start" " " "in" " " "(optional)" (@H "”")) " " "empty," " " "the" " " "directory" " " "will" " " "be" " " "an" " " "internal" " " "Windows" " " "system" " " "directory" " " "(most" " " "likely:" " " (kbd "C:\\Windows\\System32") ").") (p "If" " " "you" " " "press" " " "the" " " "OK" " " "button," " " "the" " " (@L (@H "“") "Create" " " "Task" (@H "”")) " " "tab" " " "shows" " " "up" " " "as" " " "on" " " "the" " " "right" " " "image.") (p (img (@ (alt . "Zettel without title: 00001003305114") (src . "00001003305114"))) " " (img (@ (alt . "Zettel without title: 00001003305116") (src . "00001003305116")))) (p "If" " " "you" " " "have" " " "created" " " "a" " " "startup" " " "configuration" " " "file," " " "you" " " "must" " " "enter" " " "something" " " "into" " " "the" " " "field" " " (@L (@H "“") "Add" " " "arguments" " " "(optional)" (@H "”")) "." " " "Unfortunately," " " "the" " " "text" " " "box" " " "is" " " "too" " " "narrow" " " "to" " " "fully" " " "see" " " "its" " " "content.") (p "I" " " "have" " " "entered" " " "the" " " "string" " " (kbd "run -c \"C:\\Users\\Detlef Stern\\bin\\zsconfig.txt\"") "," " " "because" " " "my" " " "startup" " " "configuration" " " "file" " " "has" " " "the" " " "name" " " (kbd "zsconfig.txt") " " "and" " " "I" " " "placed" " " "it" " " "into" " " "the" " " "same" " " "folder" " " "that" " " "also" " " "contains" " " "the" " " "Zettelstore" " " "executable." " " "Maybe" " " "you" " " "have" " " "to" " " "adapt" " " "to" " " "this.") (p "You" " " "must" " " "also" " " "enter" " " "appropriate" " " "data" " " "for" " " "the" " " "other" " " "form" " " "fields." " " "If" " " "you" " " "press" " " "the" " " "OK" " " "button," " " "the" " " (@L (@H "“") "Create" " " "Task" (@H "”")) " " "tab" " " "shows" " " "up" " " "as" " " "on" " " "the" " " "right" " " "image.") (p (img (@ (alt . "Zettel without title: 00001003305118") (src . "00001003305118"))) " " (img (@ (alt . "Zettel without title: 00001003305120") (src . "00001003305120")))) (p "You" " " "should" " " "disable" " " "any" " " "additional" " " "conditions," " " "since" " " "you" " " "typically" " " "want" " " "to" " " "use" " " "Zettelstore" " " "unconditionally." " " "Especially," " " "make" " " "sure" " " "that" " " (@L (@H "“") "Start" " " "the" " " "task" " " "only" " " "if" " " "the" " " "computer" " " "is" " " "on" " " "AC" " " "power" (@H "”")) " " "is" " " "disabled." " " "Otherwise" " " "Zettelstore" " " "will" " " "not" " " "start" " " "if" " " "you" " " "run" " " "on" " " "battery" " " "power.") (p (img (@ (alt . "Zettel without title: 00001003305122") (src . "00001003305122")))) (p "On" " " "the" " " (@L (@H "“") "Settings" (@H "”")) " " "tab," " " "you" " " "should" " " "disable" " " "the" " " "option" " " (@L (@H "“") "Stop" " " "the" " " "task" " " "if" " " "it" " " "runs" " " "longer" " " "than:" (@H "”")) ".") (p (img (@ (alt . "Zettel without title: 00001003305124") (src . "00001003305124")))) (p "After" " " "entering" " " "the" " " "data," " " "press" " " "the" " " "OK" " " "button." " " "Under" " " "some" " " "circumstances," " " "Windows" " " "asks" " " "for" " " "permission" " " "and" " " "you" " " "have" " " "to" " " "enter" " " "your" " " "password.") (p "As" " " "the" " " "last" " " "step," " " "you" " " "could" " " "run" " " "the" " " "freshly" " " "created" " " "task" " " "manually.") (p "Open" " " "your" " " "browser," " " "enter" " " "the" " " "appropriate" " " "URL" " " "and" " " "use" " " "your" " " "Zettelstore." " " "In" " " "case" " " "of" " " "errors," " " "the" " " "task" " " "will" " " "most" " " "likely" " " "stop" " " "immediately." " " "Make" " " "sure" " " "that" " " "all" " " "data" " " "you" " " "have" " " "entered" " " "is" " " "valid." " " "To" " " "not" " " "forget" " " "to" " " "check" " " "the" " " "content" " " "of" " " "the" " " "startup" " " "configuration" " " "file." " " "Use" " " "the" " " "command" " " "prompt" " " "to" " " "debug" " " "your" " " "configuration.") (p "Sometimes," " " "for" " " "example" " " "when" " " "your" " " "computer" " " "was" " " "in" " " "stand-by" " " "and" " " "it" " " "wakes" " " "up," " " "these" " " "tasks" " " "are" " " "not" " " "started." " " "In" " " "this" " " "case" " " "execute" " " "the" " " "task" " " "scheduler" " " "and" " " "run" " " "the" " " "task" " " "manually."))