-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlcw_Server.livecode
More file actions
46 lines (38 loc) · 879 Bytes
/
lcw_Server.livecode
File metadata and controls
46 lines (38 loc) · 879 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
46
script "lcw_Server"
--> MetaData
-
license: GPLv3
name: lcw_Server
type: home
version: 0.1
--> Project | Deps
-
getprop project_Deps
return "lcw,lcw_Menus,lcw_Tools,lcw_Authoring,lcw_GIT"
end project_Deps
--> Custom
-
command project_PostInit
-- go to stack "View|Browser"
end project_PostInit
--> Events
-
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