/*
Below code will help you to select the file in the dialog box using Browse Button.
*/
static void Esh_FileOpen(Args _args)
{
Dialog dialog;
DialogField dialogField;
Filename filename;
;
dialog = new Dialog('FileOpen');
dialogfield = dialog.addField(extendedTypeStr(Filenameopen), 'File Name');
dialog.run();
if (dialog.run())
{
filename = (dialogfield.value());
}
info(filename);
}
Below code will help you to select the file in the dialog box using Browse Button.
*/
static void Esh_FileOpen(Args _args)
{
Dialog dialog;
DialogField dialogField;
Filename filename;
;
dialog = new Dialog('FileOpen');
dialogfield = dialog.addField(extendedTypeStr(Filenameopen), 'File Name');
dialog.run();
if (dialog.run())
{
filename = (dialogfield.value());
}
info(filename);
}
Curious about whether your Apple Watch can sync up with your Android phone? This article has all the answers!
ReplyDeleteDon't miss out on this informative read – click now to explore compatibility options and unlock a world of possibilities!