I am using Ubuntu 10.04 and zenity 2.30.0.I don't know if I found a bug or not.If I use zenity --file-selection the exit code is 0 no matter if I hit ok or cancel rather then 0 for ok and 1 for cancel. I was able to work around it since cancel returns an empty string for file selection.Anyone else seen the same behavior?
I just wrote a script based on Zenity which use this file-selection dialog : but by default it opens $HOME/Documents directory, is it possible to change it ? (not permanently but by adding a parameter to zenity or by changing a $PATH in my script)
Problem statement:I am a writer working on various kinds of text files. Because of this, I put an application launcher on my panel to shortcut to launching text. HOWEVER...The normal process of opening a program either from the menu or from an application shortcut involvesOpening the programInvoking the "open file" command in the programHunting for your file in the file-selection utilityThis is a waste of time for me, and I finally was fed up. The ordinary unix way to do things was to open the program with the filename in mind in a single step. Doing things the GUI way was painful an
I'm looking for a .NET class that provides functionality similar to the file selection interface used in file backup programs. I'd like to be able to select individual files or entire directory trees with the class returning the list of files the user selected. I'd like to be able to filter on specific file types also. I'd settle for an active-X control if that's all that's available. Hopefully, the class would handle all the recursion down through the directory structure so all I have to do is open each file and process it.
I am modifying an existing code, and I am totally new to DirectShow. The existing code shows movie on the screen, but instead of showing the movie, I want to save the movie in a file. I have Mpeg2Demultiplexer filter that outputs audio and video to the output pins. I created 2 File Writer filters-one for saving VDO file, the other for saving audio file. I tried to connect the input pin of the file writer filter to the VDO output pin of Mpeg2Demultiplexer filter, and connect the input of another file writer pin to the audio output pin of Mpeg2Demultiplexer filter. However, I get an error. It re
i am doing on file selection concepti got a problem with this codeinitially ok_button must be sensitive FALSEafter selecting a file in the list ok_button have set sensitive TRUEis it possible.how can i do thishere is the codewhich i triedCode:
In MDI project I want to add my own file extension filter to dialog windows displayed when user clics "Open..." or "Save".Do I only have to make my own class (document template) derived from CMultiDocTemplate, use it like here:pDocTemplate = new CMyMultiDocTemplate(IDR_CONTEXTTYPE,RUNTIME_CLASS(CMyDoc),RUNTIME_CLASS(CChildFrame), // custom MDI child frameRUNTIME_CLASS(CMyView));AddDocTemplate(pDocTemplate);and then override function DoPromptFileName() in this class? Or is there anything more to do?And how can I use my own filter string in DoPromptFileName()? I don't know ho
I need to put a selection filter button on a form, but only seem to be able to put a form filter on, any ideas?
Here is the question?If I am using multiple file selection in an Open File Dialog Box,I use the GetNextPathName(pos) function to traverse through all selected files.My question is: I believe I cannot use a GetFileTitle() and GetFileExt() to get the File Title and File extensions for ALL selected files. Am I correct....SO do I have to parse this info from what is returned from GetNextPathName(pos)...
I am trying to create what I thought would be quite a simple file systme filter, based on the following assumption:At some point during a readfile() routine, the filesystem HAS to call a readsector() routine (or equivilent).My intention is, that when this request comes in I redirect it to a different sector on the disk.Obviously I will be doing the same thing to the writefile/writesector routines when they come in, but I would like to start with read first.The important thing, is that I catch this action, after it has been written to the NTFS equivilent of the File Allocation Table, so essenti
I'm developing a cross platform application that needs to be able to monitor file system access in real time. By real time I mean, I have to know when a user tried to open a file in the moment he clicked it, because I might have to do several operations before he is allowed to open the file. This is just a simple example, but it shows me that I cannot relly for instance in Inotify.What I'm trying to do for both platforms is a File System Filter, I've already found it for Windows (check this link: Filter Manager Concepts, or this webcast Neal Christiansen - Inside File System Filter, part I), b
HiA friend told me that he saw an article to overwrite the buffer size i.e. the class that governs the file selection from an open file dlg box. Can someone pl. direct me to that or if any one knows a way to do this, pl. let me know. I want to get rid of the limitation of the file selection from the open box so as to select as many files as i want.Any help would be great.
How do you get the correct File Selection Order from CFileDialog? Example: If you choose 1.txt,2.txt,3.txt the edit box shows the reversed order (also returning the string using GetStartPosition and GetNextPathName same)! You can't simply reverse the string, as there are many ways of selecting multiple files (ctrl, shift, different columns, etc)...Any help appreciated in advance!
I am using Ubuntu 8.04. Recently I tried to upload some of my photos in an online photograph hosting site. When I click select files from your computer, a file selection window opens, which is stretching beyond my desktop screen size. When I try to reduce size of this window, it doesn't reduce, but when I increase, it happily increases. Moreover, all attempts to get the actual size by maximizing, unmaximizing, minimizing, moving to another desktop and things like that have failed.Any idea what's happening and how to fix that??
HH Ubuntu with separate /home partition.Practically any activity like "Open..." or "Save as..." makes me wait approximately 18 seconds before folder/file selection opens.Examples:- OpenOffice Save as.. and Open commands.- Thunderbird attachments selection- Skype file transfer selection.However, it never happens when:- Nautilus opens a folder/file with an application- An application opensI am stuck. Any hint will be appreciated.P.
I am writing a small program with some zip archiving functionality (using the ZipArchive library from www.artpol-software.com). I would like to add a list box to one of the dialog boxes and a browse button for multiple file selection, but am not sure how to go about multiple file selection at all. I would like it so that the user can click on the Browse... button and select any number of files. Upon clicking "open", the list of files will then appear in the list box above the browse button (and the list must be stored so that when the user clicks on "Zip", all of those file
I created a File System Filter for WinCE. This is a DLL. (called NVFS.dll)I made entry in Common.reg file for the FSD manager under the following path with the shown entries.[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\NVFS]"dll"="NVFS.dll""Order"=dword:0With this, the system considers NVFS.dll as the filter and all the calls shud be passed to this dll.The DLL is getting recognized (or injected into) all the System Processes. But NO User process is recognizing this.I want to make it for all the running... and newly created process also...but only calls from t
I am developing a File system filter driver for a particular files .this driver is used to restrict the copying of a particular file into floppys/cds .suppose if i open that particular file in Notepad can i saveas into floppy?can anyone plz give Suggesitions....
I've created file system filter dll for pocket pc 2005. I've respected this procedure: I've created the entry in registry.[HKEY_LOCAL_MACHINE\System\StorageManager\...\Filters\FilterName] "dll"="filter.dll" "Order"=dword:x explain on the msdn site. And I've put the dll on the folder "Windows". On the emulator Pocket Pc 2005, my filter can't able to load. Is there anything I forget to do for the version 5.0???
Senior Software Engineer (C++ / Windows System Programmer)4 to 7 years in the IT Industry in Software Engineering4 to 7 years of experience working on C/C++Excellent skills in Windows systems programming (Win32, SDK, DDK, Multi-threading, IPC user/kernel)Must have experience working on Windows Device Drivers (File System Filter Driver strongly preferred) Excellent debugging skills with WinDBG Very good knowledge of file systems
When I'm trying to select multiple files in Nautilus or Amarok using the Ctrl or the Shift simultaneously with the left track pad button, the file selection behavior continues after releasing the buttons and will continue until the same Ctrl or Shift button is pressed again. I can select all my files, release all buttons, then go back and continue selecting multiple files with the trackpad mouse button until I hit said button again. Is there some setting I can change for this? It's almost like there is a lock behavior with prolonged pressing of the button. I am using a Toshiba M35 laptop and t
A dozen times a day, from some app I'll do "File" -> "Open", and then more often than not, I not only know the path to the file, but it's in the clipboard and I just want to ^V paste it into the text field in the pop-up file selection widget. It wastes too much time browsing the file system to find a file when I already know exactly where it is and can just type the path to the file.Other *nixes; no problem, but I can't find the text field to enter the path in Ubuntu's file selection widget.Am I blind? Is it hidden? Do I have to enable an option?
i am working on program that requires me to have multiple file selection to be loaded into my program once i browse through my home directory, here's my file dailoug code to lunch up my file browser... but it can only choose one file at the time..files = QtGui.QFileDialog.getOpenFileName(self, 'Open file','/home/', ("Images (*.png *.tiff *.jpg)"))Any idea how to implement multiple file selection?down is a screen shot to clarify my inquiry
Why is the file selection in pygtk so ugly?http://www.pygtk.org/pygtk2tutorial/sec-FileSelections.html#fileselfigI tried to run the script, but it was like the screenshot.Is there a way to get a nicer file selector, like when you save a page in firefox?(see the attachment)
Ok so i have been looking this up on the internet but all the stuff i've been finding has been for other stuff or worked in a different way than i wanted it to. So what i need is a Filetype filter for a FileDialog (not a JFileDialog or anything). The program i have will allow the user to browse for mp3 files, so i need the filter to only show the user those, and it will also allow the user to save mp3 files, so i need it to only allow the user to save the file as a .mp3 extension.Here's the code which opens the filedialog and pastes the file path into a JTextField 'browsed'. protected void onB
I need to allow multi-selection in a file open dialog, by control-clicking on files. The selected files should be retrieved in the order of selection. The multiple-selection of files is working with the setting of OFN_ALLOWMULTISELECT flag in m_ofn for CFileDialog. However, the files seem to randomly re-order as they accumulate in the dialog edit box. The most recently selected file is always the first in the order, but the previously selected files change their order, apparently randomly (not alphabetically, anyway). Is it possible to force the dialog to keep the files in the order in which t
MFC.How can I setup a filter that separates files with my extention?When the "file open" dialog opened it must to shows files only with my extention.How to set "file type", for example, '*.my'?
I am not a PHP programmer, but I have some PHP code running on my website. I've run into a roadblock with my website developers skillset and mine. I have some website files that are loaded in a specific folder structure and naming convention:They are similar to this:[year]/[event]/[type-filename]Where:year = 2007,2008, or 2009event = 1,2,3,4,5,6,7,8,9,10,11,12type = M, A, Yfilename=[type]-P2.TXT, [type]-OV.TXT, [type]-LP.TXTSo a sample filename/paths would be:2009/1/M-P2.TXT2008/4/A-OV.TXTI need for my website visitor to choose from 4 drop downs and click a "view" button, then the pr
Within my file open dialog I have a file filter box that allows you to filter several different file types individually. I would like to add another filter to the list that will filter multiple types at once. For example,JPEG (*.jpeg)BMP (*.bmp)TIFF (*.tiff)JPEG, BMP, TIFF (*.jpeg, *.bmp, *.tiff) <---- How can I add this type of filterAll Files (*.*)If anyone has any ideas or examples, let me know.
Sorry for the cheesy title ;)I've been gradually building a lightweight file class for some work I'm doing at the moment. One issue I came accross was needing to do different things to different files, like caching or processing as a CSV file or stuff like that. Being a good little, pattern friendly boy I decided to abstract out this extra functionality using the Strategy pattern. However, it didn't quite scratch my itch hard enough, the key problem being that I needed a cached CSV file (processing 300Mb+ product database feeds). The sollution, I used the Decorator pattern to allow for a filte
I have created a simple disk filter driver based on DDK sample, it works fine with INF installation. But what I am going to do is removing the INF file, then when the user needs it (before some file operations), the application is able to load the disk filter driver, and then when the application exits, unload it. I am wondering if there is a way for doing this.As far as I can tell, windows use registry entries for indicating the filter driver location, I don't know how to do it if there is no this kind of entries for this particular filter driver. But I found some software could do this, I do
I am developing a Filesystem filter driver to intercept all the file system calls like Read and Write operations. I am using Windows 2000 Professioanl, VC++ 6 and DDK - Windows 2000. Now, In DriverEntry module, I am assigning the AddDevice module like this:NTSTATUS FilterAddDevice (IN PDRIVER_OBJECT DriverObject, IN PDEVICE_OBJECT DeviceObject);DriverObject->DriverExtension->AddDevice = FilterAddDevice;My FilterAddDevice is:#define NT_DEVICE_NAME L"\\Device\\C:"#define DOS_DEVICE_NAME L"\\DosDevices\\FilterDriver"NTSTATUS FilterAddDevice (IN PDRIVER_OBJECT DriverObjec
Hi! I am sure this is very basic however...I would like to have a control much like the Open File Dialog. I would like it to stay open, display files in a directory(ies), allow the user to make a selection(s) or change directories. I intend to take the selection(s) and create a single .cab file.does this simply take grunt work or is there a control or elegant way to accomplish my intended task?
Alright.I am trying to filter the open file dialog file types to only include images, as this open file dialog is for selecting images. I have a question, and am not sure it is possible. I cannot find a clear answer on the internet. Right now, I am filtering for image files like so:openFilePic.Filter = "Graphics Interchange Format Files (.gif) | *.gif|" +"JPEG File Interchange Format (.jpeg) | *.jpeg|" +"JPG File Interchange Format (.jpg) | *.jpg|" +"MS Windows Bitmap Files (.bmp) | *.bmp|" +"Portable Networks Graphics (.png) | *.png|" +"T
I'm currently writing a program to allow transfer of images between clients and a server via a web brwoser. I am currently using the html code:input TYPE="file"to allow selection of a single file from the clients computer so that it can then be uploaded. However I cannot use this method to allow selection of multiple files (or an entire subdirectory). I haven't done any work with Java before (I use C++) but I was wondering if anybody could point me in the direction of a place to get information about this.
Does anyone know of any file manager that allows what I'll call a word-processor like method of selecting files, as opposed to the standard dragging a rectangle? What I mean by that is when dragging a selection, the selection should extend as if following lines of text left-to-right, top-to-bottom, rather than a rectangle. I very rarely find that a rectangle selection is of any use to me.You can get the same effect in Nautilus by clicking the first object, then shift-clicking the second, but I'd prefer to do this by dragging a selection. Is there such a thing?
i am trying to save the last file type the user selected in the "save as" file dialog and, use it when the user "save as" again.i tried the code below, but it's not good enough.the "save as type" combo box is changed but the "explore" big icon don't display the correct files.HWND hComboExt = ::GetDlgItem(::GetParent(m_hWnd), cmb1);if (hComboExt != NULL)::SendMessage(hComboExt, CB_SETCURSEL, nMyNewFilterIndex-1, 0);any suggestions?microsof "word" application is doing what i am trying to do. save a word document as xml. the next time u save as,
I am trying to solve a compling error. I don't really don't know the protocols for asking for help on this site so if this is in the wrong section please tell me so I will know in the future. OK, the code is supposed to scan a file that is given by the user for "bad" words which are given by the user. At which time the program should output the file minus the "bad" words. The bad words should be replaced with ******. The problem I keep running into is error C2664 on lines 33, 36, 39, 42, 45. How do I deal with these errors?//Jessie Richardson//CS221 UK#include <fstream
I am interested if you know how WinRar implements the feature, when for example : I choose multiple files - > Click the mouse context menu - > click the "Add to archive button ". And after this all the files(paths) I have selected are being passed to WinRar, so that it can archive them all.How to implement this for my MFC app? Can't find anything interesting in the registryI can do it when user selects only one file.But when I do it for example with 5 files, then simply 5 instances of my app are called each handling seperate file and that's not what I want.
OK here is the problem I am having. When I do a File Open it is not displaying all the .TXT files initially. I have to manually type *.exe in the FileName field.Basically using this code below:If I comment out where I assign the strFilesBuff and nMaxFile, it will display all the TXT files in my PathCFileDialog FileDialog(TRUE,"*.*",NULL,OFN_HIDEREADONLY | OFN_ALLOWMULTISELECT,"Text Files: (*.txt)|*.txt");// Create buffer for ten filenamesTCHAR strFiles[MAX_PATH * 10] = "";FileDialog.m_ofn.lpstrFile = strFiles;FileDialog.m_ofn.nMaxFile = sizeof(strFiles);if(FileDia
I wrote the following macro the old-fashioned way (I recorded it!). It looks up and opens a file in another directory.but here's the thing: the file name will change! Is there a way I can modify the code to just get the MOST RECENT wk3 file? or ignore parts of the file name?Optimally, it would ignore the "391640" part, maybe just look for something with today's date?Appreciate any input!!!LSub Macro2()'' Macro2 Macro' Macro recorded 6/4/2008 by L'Workbooks.Open Filename:= _"W:\mtm_trade.391640_1.7595_SW.04-Jun-08.WAILER_.WAILER_.wk3"Range("B5").Selectblah blah bla
I have this file [myfile.txt] with some user data.example:$cat myfile.txtFName|LName|Gender|Company|Branch|Bday|Salary|Ageaaaa|bbbb|male|cccc|dddd|19900814|15000|20|eeee|asdg|male|gggg|ksgu|19911216|||aara|bdbm|male|kkkk|acke|19931018||23|asad|kfjg|male|kkkc|gkgg|19921213|14000|24|aera|bprb|male|cccc|pppp||15000|20|... // and so onSo what I want to do is to take out (to a file) the missing fields as following format:<FName> <LName> <Company> Missing Field/s:<> <>example output:eeee asdg gggg Missing Field/s: Salary Ageaara bdbm kkkk Missing Field/s: SalaryCAN ANYO
Want to find out if there are any way to let a user select a file from their local computer, and then return the path so that i can add it into a form field.I want to do a file upload, but want to skip the html form file upload selector.maybe someone can help
Well my prob is this. I made this SDI aplication that works with one kind of files.Now the standard dialog you get when OnFileOpen is called, displays all the filetypes (*.*), how can I apply a filter to that so that I can only see the, for example *.lst files ???Please help me out here.Tnx!!!Sh3Ll4C
Kates docu states in:The Filesystem BrowserA Filter Entry:"The filter entry saves the last 10 filters entered between sessions"However this does not work for me with:Version 3.2.90Using KDE 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))Do I miss something?
I am doing my first SDI application and I want to add two file types to the drop down list in the file open dialogue:DUF Files (*.DUF)Sequential Files (*.SEQ)where abouts in the project do I put this information since I don't implicitly create and call a CFileDialog which is where I normally put that sort of thing.Please help!Andy
I was following what MFC help file said to do when using CFileDialog with the OFN_ALLOWMULTISELECT flag set. It (the help file) said to set the m_ofn.lpstrFile to a new buffer and set the m_ofc.nMaxFile to the # of chars in the buffer. When I do this before calling DoModal(), the DoModal works intermittently. When I don't, the DoModal works every time.What's the problem here?
I'm new to Linux coding , but i have a small knowledge in python , i used WxGlade to make my first dialog , but i need to use the wxFileCtrl (file:///media/BACKUP/LINUX/wx/classwx_file_ctrl.html)in wx docs and the internet i found some documentations but i think i need a simple example on how to import and use this class or a fully detailed giude about this control i'm waiting for your help