opendialog

How to find modal dialog opener from javascript?

I have a page that opens a modal dialog. After the operations done on dialog I want to refresh the opener page. But when I open the popup by using "openDialog" I cannot access to the opener by using window.opener on popup page. It appears "undefined" when I wanted to access. (I dont want to use "popup" method in this case. I want it to b...

Automate open dialog box

Is there any way to automate a opening files with open dialog box on Mac OS? The application asks user to open files with the standard open dialog box. But I need open files automatically. The idea is to write script or a small application which will click the button in the target application to open dialog box and then somehow select f...

want to get a list of all files of directory in Delphi

Hello all... I am working with delphi, I want a list of all files of a directory when I execute openpicturedialog. i.e., When open dialog is executed and i select one file from it, I want the list of all files from the directory of selected file. You can even suggest me for getting directory name from FileName property...

getOpenFileNames dialog is not centered to the main window.

Why the opened dialog is not centered to the main window? void MainWindow::on_FileOpenAction_triggered() { QStringList fileNames = QFileDialog::getOpenFileNames( this, "Open Image", QApplication::applicationDirPath(), "Images (*.jpg);;All Files (*.*)" ); } The documentation says that is should...

GetDir in Delphi2010 not working under Windows 7?

Hello! I have the following sequence of commands in Delphi2010: var netdir:string; .... OpenDialog1.InitialDir:=netdir; .... OpenDialog1.Execute... .... GetDir(0,netdir); .... After executing OpenDialog I should have in string netdir the directory where I finished my OpenDialog.Execute. And in the next OpenDialog.Exec...