Hi, i’m looking for a system to have the path of the usb stick and then take images and so on.
Anyone can help me?
Hi, i’m looking for a system to have the path of the usb stick and then take images and so on.
Anyone can help me?
I've also been looking into this
This bit of code lists drives, excluding OldVersions, similar to the Cmd "List Drive"
local function main()
local drives = Root().Temp.DriveCollect
for k, v in ipairs(drives) do
if v.drivetype ~= "OldVersion" then
Printf("Drive # : " .. v.no)
Printf("Drive Name : " .. v.name)
Printf("Drive Path : " .. v.path)
Printf("Drive Type : " .. v.drivetype)
Printf("")
end
end
end
return main
Display More
Just select the appropriate drive as part of your script.
Same,
I tried with this cmd
Import Image 'Images'.1 /File 'myImage.png' /Path '/Volumes/my_usb_name/grandMA3/gma3_library/media/images' /NoConfirmation
But it doesn’t work
Try using the Drive keyword first before using the option keyword /Path:
Drive Keyword - grandMA3 User Manual - Help pages of MA Lighting International GmbH
Also, you should learn about the library keyword for files you want to import:
Library Keyword - grandMA3 User Manual - Help pages of MA Lighting International GmbH
Import Image Library "myImage.png.xml" At Images "Images".1 If Drive 2
This would import the file from the first connected USB drive.
Also make sure, that an XML file exists correspondingly to the image file.
You can force the creation of XML files for media files by using the UpdateContent keyword:
UpdateContent Keyword - grandMA3 User Manual - Help pages of MA Lighting International GmbH
Don’t have an account yet? Register yourself now and be a part of our community!