Skip to content

Commit 8abf1a7

Browse files
authored
auto focus important inputs when start menu or assist are opened
1 parent eacebe5 commit 8abf1a7

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

OSL Programs/apps/System/.Install_system.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"path": "Origin/(A) System/System Apps",
117117
"name": "Origin_Start.osl",
118118
"icon": "c #111 w 10 square 0 0 5 5 c #fff w 2 icn power 0.7",
119-
"version":"4.5"
119+
"version":"4.6"
120120
},
121121
{
122122
"url": "https://origin.mistium.com/OSL%20Programs/apps/System/File_Info.osl",
@@ -179,7 +179,7 @@
179179
"path": "Origin/(A) System/System Apps",
180180
"name": "originAssist.osl",
181181
"icon": "c #6eeb99 w 10 square 0 0 5 5 c #111 w 8 square 0 0 5 5 dot 0 0 square 0 0 5 5 c #6eeb99 icn search 0.5",
182-
"version":"3.2"
182+
"version":"3.3"
183183
},
184184
{
185185
"url": "https://origin.mistium.com/OSL%20Programs/apps/System/Http_Client.osl",

OSL Programs/apps/System/OriginAssist.osl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ def searchFiles(this.term) (
3535
apps = "user/Applications".listFolder()
3636

3737
frames = 0
38+
39+
input "focus" "main"
40+
3841
mainloop:
3942

4043
frames ++

OSL Programs/apps/System/Origin_Start.osl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ apps = before ++ apps
100100

101101
total = apps.len
102102

103+
input "focus" "search"
104+
103105
mainloop:
104106
wt:load_theme
105107

0 commit comments

Comments
 (0)