PDA

View Full Version : Dialog



SeDneY
02-27-2010, 11:20 AM
Hi all
I would like to know why this script does not work in dialogs?
Script:

v1 = Dialog.FolderBrowse ( "description", "AutoPlay \ \ Docs");
Input.SetText ( "Input3", v1);
All checked ten times, but still after selecting a folder in the input nothing is transmitted.

T3STY
02-27-2010, 11:41 AM
Maybe because you wrote a wrong path..


v1 = Dialog.FolderBrowse ( "description", "AutoPlay\\Docs");
Input.SetText ( "Input3", v1);


Use also an Application.GetLastError() to determine occured errors

Sakuya
02-27-2010, 01:20 PM
Hi all
I would like to know why this script does not work in dialogs?
Script:

v1 = Dialog.FolderBrowse ( "description", "AutoPlay \ \ Docs");
Input.SetText ( "Input3", v1);
All checked ten times, but still after selecting a folder in the input nothing is transmitted.

This worked fine for me in a Page and a Dialog, are you sure Input3 exists?