-
-
Notifications
You must be signed in to change notification settings - Fork 5
GetPath
Anthony Headley edited this page Apr 21, 2020
·
4 revisions
GetPath
⚠ Needs more information ⚠
Returns a path based on a string or index value
Name | Description | Optional |
---|---|---|
string | int : path | index | Path Type |
string : Path
This is a Dump of indexes 1 thru 80 from a grandMA3 Light
[
"1 ",
"2 ",
"3 /home/ma/MALightingTechnology",
"4 /home/ma/MALightingTechnology/gma3_1.1.3",
"5 /home/ma/MALightingTechnology/installation_packages",
"6 /home/ma/MALightingTechnology/gma3_1.1.3/update",
"7 /home/ma/MALightingTechnology/gma3_1.1.3/console",
"8 /home/ma/MALightingTechnology/gma3_1.1.3/console/config",
"9 /home/ma/MALightingTechnology/gma3_1.1.3/console/config/usb",
"10 /home/ma/MALightingTechnology/gma3_1.1.3/console/temp",
"11 /home/ma/MALightingTechnology/gma3_1.1.3/export",
"12 /home/ma/MALightingTechnology/gma3_1.1.3/export/user_profiles",
"13 /home/ma/MALightingTechnology/gma3_1.1.3/export/network_keys",
"14 /home/ma/MALightingTechnology/gma3_1.1.3/export/osc",
"15 /home/ma/MALightingTechnology/gma3_1.1.3/export/sacn",
"16 /home/ma/MALightingTechnology/gma3_1.1.3/export/artnet",
"17 /home/ma/MALightingTechnology/gma3_1.1.3/export/remote_analog",
"18 /home/ma/MALightingTechnology/gma3_1.1.3/export/remote_midi",
"19 /home/ma/MALightingTechnology/gma3_1.1.3/export/remote_dmx",
"20 /home/ma/MALightingTechnology/gma3_1.1.3/export/output_config",
"21 /home/ma/MALightingTechnology/gma3_1.1.3/console/temp/undo",
"22 /home/ma/MALightingTechnology/gma3_1.1.3/console/temp/crashlogs",
"23 /home/ma/MALightingTechnology/gma3_1.1.3/shared",
"24 /home/ma/MALightingTechnology/gma3_1.1.3/shared/shows",
"25 /home/ma/MALightingTechnology/gma3_1.1.3/shared/backups",
"26 /home/ma/MALightingTechnology/gma3_1.1.3/shared/demoshows",
"27 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource",
"28 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/web",
"29 /home/ma/MALightingTechnology/gma3_1.1.3/shared/language",
"30 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_color_themes",
"31 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/shaders",
"32 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/textures",
"33 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/fonts",
"34 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_images",
"35 /home/ma/MALightingTechnology/gma3_1.1.3/shared/lib_fixture_types/gobos",
"36 /home/ma/MALightingTechnology/gma3_1.1.3/shared/lib_fixture_types/gobos/.cache",
"37 /home/ma/MALightingTechnology/gma3_1.1.3/shared/lib_fixture_types/meshes",
"38 /home/ma/MALightingTechnology/gma3_1.1.3/shared/lib_fixture_types/fixture_images",
"39 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_images",
"40 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_gels",
"41 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_addons",
"42 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_menus",
"43 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_plugins",
"44 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_macros",
"45 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_matricks",
"46 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_appearance",
"47 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_presets",
"48 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_media",
"49 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_stage",
"50 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view",
"51 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/fixture_sheet",
"52 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/dmx_sheet",
"53 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/sequence_sheet",
"54 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/content_sheet",
"55 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/window_3d",
"56 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/message_grid",
"57 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/running_playbacks",
"58 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/clock_window",
"59 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/smart_view",
"60 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/generic_pool",
"61 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/preset_pool",
"62 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/commandline_window",
"63 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/help_viewer_window",
"64 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/seletion_view",
"65 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/systeminfow_window",
"66 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_view/sysmon_window",
"67 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_viewbutton",
"68 /home/ma/MALightingTechnology/gma3_1.1.3/shared/lib_fixture_types",
"69 /home/ma/MALightingTechnology/gma3_1.1.3/shared/lib_fixture_types/grandma2",
"70 /home/ma/MALightingTechnology/gma3_1.1.3/shared/lib_fixture_types/grandma3",
"71 /home/ma/MALightingTechnology/gma3_1.1.3/shared/lib_fixture_types/gdtf",
"72 /home/ma/MALightingTechnology/gma3_1.1.3/shared/lib_fixture_types/user",
"73 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/keyboards",
"74 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_keyboard_shortcuts",
"75 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/software",
"76 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_mvr",
"77 /home/ma/MALightingTechnology/gma3_1.1.3/shared/resource/lib_layout",
"78 /home/ma/MALightingTechnology/gma3_1.1.3/shared/lib_fixture_types/user",
"79 /home/ma/MALightingTechnology/gma3_1.1.3/shared/lib_fixture_types/gobos/user",
"80 /home/ma/MALightingTechnology/gma3_1.1.3/shared/lib_fixture_types/meshes/user"
]
Echo(GetPath(11))
Echo(GetPath("export"))
-- both return /home/ma/MALightingTechnology/gma3_1.1.3/export on a console