-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlcw_Script.livecode
More file actions
45 lines (38 loc) · 861 Bytes
/
lcw_Script.livecode
File metadata and controls
45 lines (38 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
script "lcw_Script"
--> MetaData
-
license: GPLv3
name: lcw_Script
type: home
version: 0.1
--> Props
-
getprop project_Deps
return "lcw,lcw_Tools,lcw_Authoring,lcw_GIT"
end project_Deps
--> Events
-
command project_PostInit
set the cursor to watch
--
ide_InitLcw
end project_PostInit
on preOpenStack
if the short name of the defaultstack is not the short name of me then
pass preOpenStack
else
lcw_Init
env_RecursivelyLoadProjects
end if
end preOpenStack
--> Deps
-
command lcw_Init
-- make sure LCW is loaded so we can open from finder
set the itemdelimiter to slash
put the effective filename of the defaultstack into lcwHomePath
put "lcw/lcw.livecode" into item -2 to -1 of lcwHomePath
if there is a stack lcwHomePath then
dispatch "lcw_Init" to stack lcwHomePath
end if
end lcw_Init