|
8 | 8 | ],
|
9 | 9 | "Function" : [
|
10 | 10 | {
|
11 |
| - "parameters" : [ |
12 |
| - |
13 |
| - ], |
| 11 | + "name" : "count", |
14 | 12 | "stripped_doc" : [
|
15 | 13 | "LEGACY: The number of spaces you currently have.",
|
16 | 14 | ""
|
17 | 15 | ],
|
| 16 | + "def" : "hs._asm.undocumented.spaces.count() -> number", |
18 | 17 | "doc" : "LEGACY: The number of spaces you currently have.\n\nNotes:\n * this function may go away in a future update\n\n * this functions is included for backwards compatibility. It is not recommended because it worked by indexing the spaces ignoring that fullscreen applications are included in the list twice, and only worked with one monitor. Use `hs._asm.undocumented.spaces.query` or `hs._asm.undocumented.spaces.spacesByScreenUUID`.",
|
19 |
| - "desc" : "LEGACY: The number of spaces you currently have.", |
20 | 18 | "notes" : [
|
21 | 19 | " * this function may go away in a future update",
|
22 | 20 | "",
|
|
27 | 25 | "returns" : [
|
28 | 26 |
|
29 | 27 | ],
|
30 |
| - "def" : "hs._asm.undocumented.spaces.count() -> number", |
31 |
| - "name" : "count" |
32 |
| - }, |
33 |
| - { |
| 28 | + "desc" : "LEGACY: The number of spaces you currently have.", |
34 | 29 | "parameters" : [
|
35 | 30 |
|
36 |
| - ], |
| 31 | + ] |
| 32 | + }, |
| 33 | + { |
| 34 | + "name" : "currentSpace", |
37 | 35 | "stripped_doc" : [
|
38 | 36 | "LEGACY: The index of the space you're currently on, 1-indexed (as usual).",
|
39 | 37 | ""
|
40 | 38 | ],
|
| 39 | + "def" : "hs._asm.undocumented.spaces.currentSpace() -> number", |
41 | 40 | "doc" : "LEGACY: The index of the space you're currently on, 1-indexed (as usual).\n\nNotes:\n * this function may go away in a future update\n\n * this functions is included for backwards compatibility. It is not recommended because it worked by indexing the spaces, which can be rearranged by the operating system anyways. Use `hs._asm.undocumented.spaces.query` or `hs._asm.undocumented.spaces.spacesByScreenUUID`.",
|
42 |
| - "desc" : "LEGACY: The index of the space you're currently on, 1-indexed (as usual).", |
43 | 41 | "notes" : [
|
44 | 42 | " * this function may go away in a future update",
|
45 | 43 | "",
|
|
50 | 48 | "returns" : [
|
51 | 49 |
|
52 | 50 | ],
|
53 |
| - "def" : "hs._asm.undocumented.spaces.currentSpace() -> number", |
54 |
| - "name" : "currentSpace" |
55 |
| - }, |
56 |
| - { |
| 51 | + "desc" : "LEGACY: The index of the space you're currently on, 1-indexed (as usual).", |
57 | 52 | "parameters" : [
|
58 | 53 |
|
59 |
| - ], |
| 54 | + ] |
| 55 | + }, |
| 56 | + { |
| 57 | + "name" : "moveToSpace", |
60 | 58 | "stripped_doc" : [
|
61 | 59 | "LEGACY: Switches to the space at the given index, 1-indexed (as usual).",
|
62 | 60 | ""
|
63 | 61 | ],
|
| 62 | + "def" : "hs._asm.undocumented.spaces.moveToSpace(number)", |
64 | 63 | "doc" : "LEGACY: Switches to the space at the given index, 1-indexed (as usual).\n\nNotes:\n * this function may go away in a future update\n\n * this functions is included for backwards compatibility. It is not recommended because it was never really reliable and worked by indexing the spaces, which can be rearranged by the operating system anyways. Use `hs._asm.undocumented.spaces.changeToSpace`.",
|
65 |
| - "desc" : "LEGACY: Switches to the space at the given index, 1-indexed (as usual).", |
66 | 64 | "notes" : [
|
67 | 65 | " * this function may go away in a future update",
|
68 | 66 | "",
|
|
73 | 71 | "returns" : [
|
74 | 72 |
|
75 | 73 | ],
|
76 |
| - "def" : "hs._asm.undocumented.spaces.moveToSpace(number)", |
77 |
| - "name" : "moveToSpace" |
| 74 | + "desc" : "LEGACY: Switches to the space at the given index, 1-indexed (as usual).", |
| 75 | + "parameters" : [ |
| 76 | + |
| 77 | + ] |
78 | 78 | },
|
79 | 79 | {
|
80 |
| - "parameters" : [ |
81 |
| - " * screen - an optional hs.screen object specifying the specific monitor to check the animation status for.", |
82 |
| - "" |
83 |
| - ], |
| 80 | + "name" : "isAnimating", |
84 | 81 | "stripped_doc" : [
|
85 | 82 | "Returns the state of space changing animation for the specified monitor, or for any monitor if no parameter is specified.",
|
86 | 83 | ""
|
87 | 84 | ],
|
| 85 | + "def" : "hs._asm.undocumented.spaces.isAnimating([screen]) -> bool", |
88 | 86 | "doc" : "Returns the state of space changing animation for the specified monitor, or for any monitor if no parameter is specified.\n\nParameters:\n * screen - an optional hs.screen object specifying the specific monitor to check the animation status for.\n\nReturns:\n * a boolean value indicating whether or not a space changing animation is currently active.\n\nNotes:\n * This function can be used in `hs.eventtap` based space changing functions to determine when to release the mouse and key events.\n\n * This function is also added to the `hs.screen` object metatable so that you can check a specific screen's animation status with `hs.screen:spacesAnimating()`.",
|
89 |
| - "desc" : "Returns the state of space changing animation for the specified monitor, or for any monitor if no parameter is specified.", |
90 | 87 | "notes" : [
|
91 | 88 | " * This function can be used in `hs.eventtap` based space changing functions to determine when to release the mouse and key events.",
|
92 | 89 | "",
|
|
98 | 95 | " * a boolean value indicating whether or not a space changing animation is currently active.",
|
99 | 96 | ""
|
100 | 97 | ],
|
101 |
| - "def" : "hs._asm.undocumented.spaces.isAnimating([screen]) -> bool", |
102 |
| - "name" : "isAnimating" |
103 |
| - }, |
104 |
| - { |
| 98 | + "desc" : "Returns the state of space changing animation for the specified monitor, or for any monitor if no parameter is specified.", |
105 | 99 | "parameters" : [
|
106 |
| - " * None", |
| 100 | + " * screen - an optional hs.screen object specifying the specific monitor to check the animation status for.", |
107 | 101 | ""
|
108 |
| - ], |
| 102 | + ] |
| 103 | + }, |
| 104 | + { |
| 105 | + "name" : "screensHaveSeparateSpaces", |
109 | 106 | "stripped_doc" : [
|
110 | 107 | "Determine if the user has enabled the \"Displays Have Separate Spaces\" option within Mission Control.",
|
111 | 108 | ""
|
112 | 109 | ],
|
| 110 | + "def" : "hs._asm.undocumented.spaces.screensHaveSeparateSpaces() -> bool", |
113 | 111 | "doc" : "Determine if the user has enabled the \"Displays Have Separate Spaces\" option within Mission Control.\n\nParameters:\n * None\n\nReturns:\n * true or false representing the status of the \"Displays Have Separate Spaces\" option within Mission Control.\n\nNotes:\n * This function uses standard OS X APIs and is not likely to be affected by updates or patches.",
|
114 |
| - "desc" : "Determine if the user has enabled the \"Displays Have Separate Spaces\" option within Mission Control.", |
115 | 112 | "notes" : [
|
116 | 113 | " * This function uses standard OS X APIs and is not likely to be affected by updates or patches."
|
117 | 114 | ],
|
|
121 | 118 | " * true or false representing the status of the \"Displays Have Separate Spaces\" option within Mission Control.",
|
122 | 119 | ""
|
123 | 120 | ],
|
124 |
| - "def" : "hs._asm.undocumented.spaces.screensHaveSeparateSpaces() -> bool", |
125 |
| - "name" : "screensHaveSeparateSpaces" |
| 121 | + "desc" : "Determine if the user has enabled the \"Displays Have Separate Spaces\" option within Mission Control.", |
| 122 | + "parameters" : [ |
| 123 | + " * None", |
| 124 | + "" |
| 125 | + ] |
126 | 126 | }
|
127 | 127 | ],
|
128 | 128 | "Variable" : [
|
|
134 | 134 | "Deprecated" : [
|
135 | 135 |
|
136 | 136 | ],
|
137 |
| - "type" : "Module", |
138 | 137 | "desc" : "These functions utilize private API's within the OS X internals, and are known to have unpredictable behavior under Mavericks and Yosemite when \"Displays have separate Spaces\" is checked under the Mission Control system preferences.",
|
| 138 | + "type" : "Module", |
139 | 139 | "Constructor" : [
|
140 | 140 |
|
141 | 141 | ],
|
142 |
| - "Field" : [ |
143 |
| - |
144 |
| - ], |
| 142 | + "doc" : "These functions utilize private API's within the OS X internals, and are known to have unpredictable behavior under Mavericks and Yosemite when \"Displays have separate Spaces\" is checked under the Mission Control system preferences.", |
145 | 143 | "Method" : [
|
146 | 144 |
|
147 | 145 | ],
|
|
150 | 148 | ],
|
151 | 149 | "items" : [
|
152 | 150 | {
|
153 |
| - "parameters" : [ |
154 |
| - |
155 |
| - ], |
| 151 | + "name" : "count", |
156 | 152 | "stripped_doc" : [
|
157 | 153 | "LEGACY: The number of spaces you currently have.",
|
158 | 154 | ""
|
159 | 155 | ],
|
| 156 | + "def" : "hs._asm.undocumented.spaces.count() -> number", |
160 | 157 | "doc" : "LEGACY: The number of spaces you currently have.\n\nNotes:\n * this function may go away in a future update\n\n * this functions is included for backwards compatibility. It is not recommended because it worked by indexing the spaces ignoring that fullscreen applications are included in the list twice, and only worked with one monitor. Use `hs._asm.undocumented.spaces.query` or `hs._asm.undocumented.spaces.spacesByScreenUUID`.",
|
161 |
| - "desc" : "LEGACY: The number of spaces you currently have.", |
162 | 158 | "notes" : [
|
163 | 159 | " * this function may go away in a future update",
|
164 | 160 | "",
|
|
169 | 165 | "returns" : [
|
170 | 166 |
|
171 | 167 | ],
|
172 |
| - "def" : "hs._asm.undocumented.spaces.count() -> number", |
173 |
| - "name" : "count" |
174 |
| - }, |
175 |
| - { |
| 168 | + "desc" : "LEGACY: The number of spaces you currently have.", |
176 | 169 | "parameters" : [
|
177 | 170 |
|
178 |
| - ], |
| 171 | + ] |
| 172 | + }, |
| 173 | + { |
| 174 | + "name" : "currentSpace", |
179 | 175 | "stripped_doc" : [
|
180 | 176 | "LEGACY: The index of the space you're currently on, 1-indexed (as usual).",
|
181 | 177 | ""
|
182 | 178 | ],
|
| 179 | + "def" : "hs._asm.undocumented.spaces.currentSpace() -> number", |
183 | 180 | "doc" : "LEGACY: The index of the space you're currently on, 1-indexed (as usual).\n\nNotes:\n * this function may go away in a future update\n\n * this functions is included for backwards compatibility. It is not recommended because it worked by indexing the spaces, which can be rearranged by the operating system anyways. Use `hs._asm.undocumented.spaces.query` or `hs._asm.undocumented.spaces.spacesByScreenUUID`.",
|
184 |
| - "desc" : "LEGACY: The index of the space you're currently on, 1-indexed (as usual).", |
185 | 181 | "notes" : [
|
186 | 182 | " * this function may go away in a future update",
|
187 | 183 | "",
|
|
192 | 188 | "returns" : [
|
193 | 189 |
|
194 | 190 | ],
|
195 |
| - "def" : "hs._asm.undocumented.spaces.currentSpace() -> number", |
196 |
| - "name" : "currentSpace" |
| 191 | + "desc" : "LEGACY: The index of the space you're currently on, 1-indexed (as usual).", |
| 192 | + "parameters" : [ |
| 193 | + |
| 194 | + ] |
197 | 195 | },
|
198 | 196 | {
|
199 |
| - "parameters" : [ |
200 |
| - " * screen - an optional hs.screen object specifying the specific monitor to check the animation status for.", |
201 |
| - "" |
202 |
| - ], |
| 197 | + "name" : "isAnimating", |
203 | 198 | "stripped_doc" : [
|
204 | 199 | "Returns the state of space changing animation for the specified monitor, or for any monitor if no parameter is specified.",
|
205 | 200 | ""
|
206 | 201 | ],
|
| 202 | + "def" : "hs._asm.undocumented.spaces.isAnimating([screen]) -> bool", |
207 | 203 | "doc" : "Returns the state of space changing animation for the specified monitor, or for any monitor if no parameter is specified.\n\nParameters:\n * screen - an optional hs.screen object specifying the specific monitor to check the animation status for.\n\nReturns:\n * a boolean value indicating whether or not a space changing animation is currently active.\n\nNotes:\n * This function can be used in `hs.eventtap` based space changing functions to determine when to release the mouse and key events.\n\n * This function is also added to the `hs.screen` object metatable so that you can check a specific screen's animation status with `hs.screen:spacesAnimating()`.",
|
208 |
| - "desc" : "Returns the state of space changing animation for the specified monitor, or for any monitor if no parameter is specified.", |
209 | 204 | "notes" : [
|
210 | 205 | " * This function can be used in `hs.eventtap` based space changing functions to determine when to release the mouse and key events.",
|
211 | 206 | "",
|
|
217 | 212 | " * a boolean value indicating whether or not a space changing animation is currently active.",
|
218 | 213 | ""
|
219 | 214 | ],
|
220 |
| - "def" : "hs._asm.undocumented.spaces.isAnimating([screen]) -> bool", |
221 |
| - "name" : "isAnimating" |
| 215 | + "desc" : "Returns the state of space changing animation for the specified monitor, or for any monitor if no parameter is specified.", |
| 216 | + "parameters" : [ |
| 217 | + " * screen - an optional hs.screen object specifying the specific monitor to check the animation status for.", |
| 218 | + "" |
| 219 | + ] |
222 | 220 | },
|
223 | 221 | {
|
224 |
| - "parameters" : [ |
225 |
| - |
226 |
| - ], |
| 222 | + "name" : "moveToSpace", |
227 | 223 | "stripped_doc" : [
|
228 | 224 | "LEGACY: Switches to the space at the given index, 1-indexed (as usual).",
|
229 | 225 | ""
|
230 | 226 | ],
|
| 227 | + "def" : "hs._asm.undocumented.spaces.moveToSpace(number)", |
231 | 228 | "doc" : "LEGACY: Switches to the space at the given index, 1-indexed (as usual).\n\nNotes:\n * this function may go away in a future update\n\n * this functions is included for backwards compatibility. It is not recommended because it was never really reliable and worked by indexing the spaces, which can be rearranged by the operating system anyways. Use `hs._asm.undocumented.spaces.changeToSpace`.",
|
232 |
| - "desc" : "LEGACY: Switches to the space at the given index, 1-indexed (as usual).", |
233 | 229 | "notes" : [
|
234 | 230 | " * this function may go away in a future update",
|
235 | 231 | "",
|
|
240 | 236 | "returns" : [
|
241 | 237 |
|
242 | 238 | ],
|
243 |
| - "def" : "hs._asm.undocumented.spaces.moveToSpace(number)", |
244 |
| - "name" : "moveToSpace" |
| 239 | + "desc" : "LEGACY: Switches to the space at the given index, 1-indexed (as usual).", |
| 240 | + "parameters" : [ |
| 241 | + |
| 242 | + ] |
245 | 243 | },
|
246 | 244 | {
|
247 |
| - "parameters" : [ |
248 |
| - " * None", |
249 |
| - "" |
250 |
| - ], |
| 245 | + "name" : "screensHaveSeparateSpaces", |
251 | 246 | "stripped_doc" : [
|
252 | 247 | "Determine if the user has enabled the \"Displays Have Separate Spaces\" option within Mission Control.",
|
253 | 248 | ""
|
254 | 249 | ],
|
| 250 | + "def" : "hs._asm.undocumented.spaces.screensHaveSeparateSpaces() -> bool", |
255 | 251 | "doc" : "Determine if the user has enabled the \"Displays Have Separate Spaces\" option within Mission Control.\n\nParameters:\n * None\n\nReturns:\n * true or false representing the status of the \"Displays Have Separate Spaces\" option within Mission Control.\n\nNotes:\n * This function uses standard OS X APIs and is not likely to be affected by updates or patches.",
|
256 |
| - "desc" : "Determine if the user has enabled the \"Displays Have Separate Spaces\" option within Mission Control.", |
257 | 252 | "notes" : [
|
258 | 253 | " * This function uses standard OS X APIs and is not likely to be affected by updates or patches."
|
259 | 254 | ],
|
|
263 | 258 | " * true or false representing the status of the \"Displays Have Separate Spaces\" option within Mission Control.",
|
264 | 259 | ""
|
265 | 260 | ],
|
266 |
| - "def" : "hs._asm.undocumented.spaces.screensHaveSeparateSpaces() -> bool", |
267 |
| - "name" : "screensHaveSeparateSpaces" |
| 261 | + "desc" : "Determine if the user has enabled the \"Displays Have Separate Spaces\" option within Mission Control.", |
| 262 | + "parameters" : [ |
| 263 | + " * None", |
| 264 | + "" |
| 265 | + ] |
268 | 266 | }
|
269 | 267 | ],
|
270 |
| - "doc" : "These functions utilize private API's within the OS X internals, and are known to have unpredictable behavior under Mavericks and Yosemite when \"Displays have separate Spaces\" is checked under the Mission Control system preferences.", |
| 268 | + "Field" : [ |
| 269 | + |
| 270 | + ], |
271 | 271 | "name" : "hs._asm.undocumented.spaces"
|
272 | 272 | }
|
273 | 273 | ]
|
| 274 | +Menu Developer Updated: Contents |
0 commit comments