Questions tagged [recent-documents]

15 questions
174
votes
10 answers

View a list of recent documents in Vim

Is there a way to view the list of recent documents you've opened in Vim? I realize I could view the cursor jump list, :ju, and then go to a cursor position in the list but this is not ideal because there will be multiple listings of the same…
chris
  • 2,740
  • 3
  • 25
  • 23
13
votes
6 answers

How to create Recent Documents History in C# in WPF Application

I am making a WPF Application in C# where I need to show the recent documents history (just like it happens in word, excel and even visual studio), showing the list the last 5 or 10 documents opened. I have absolutely no idea as to how I should go…
Gagan
  • 337
  • 3
  • 7
  • 18
8
votes
1 answer

Add to the "Open Recent" menu an item that doesn't point to a file

Is there a way to add an item that doesn't point to a file that exists on the file system to the "Open Recent" menu? In an application not based on NSDocument, I can add an item to the "Open Recent" submenu with the following…
Guillaume
  • 21,685
  • 6
  • 63
  • 95
3
votes
1 answer

mac osx recent items even if i change it from the preferences like 5 it resets it to none again

OS X El capitan, i realised that i can not see any recent projects especially in the Xcode. Then i made some search and i found that i could change that option from the System Preferences. When i change the recent items count from none to 5 for…
yekose
  • 33
  • 7
3
votes
2 answers

How to get a list of recently opened documents for an application?

I've found that it's easy to add a recently opened document with help of SHAddToRecentDocs Windows 7 Jump Lists somehow do it by knowing only program shortcut. Programs added to Windows 7 start menu also allow to access their corresponding recently…
mdonatas
  • 1,770
  • 2
  • 15
  • 15
2
votes
1 answer

NSDocumentController recentDocuments Sandbox (weird) issue

I'm on Objective-C, Xcode 11, macOS not iOS, sandboxed application. I need to manually update recent documents menu. I store the URLs in bookmarks so i can access them according to sandbox. What is weird is that code A works but B does not. Does…
Pat_Morita
  • 3,355
  • 3
  • 25
  • 36
1
vote
2 answers

Batch file to search for string in most recent file

I have alot of log files which need searching for certain strings and was wondering if I could make a batch file to automate this job for me? All I need it to do is locate the most recent log in a certain directory then search for the string in that…
Russell Price
1
vote
0 answers

Prevent adding files to recent documents

I have an application using two diffent types of files. The 1st file type is a project file (called *.pcwex) and the 2nd file type is a library file (called *.pcwlx). If I open a project file using the "File open" dialog (file extension *.pcwex),…
DStroeker
  • 11
  • 3
1
vote
0 answers

Recent documents list gets cleared after app relaunch

I have a non-document-based application in which I would like to use the "Open Recent" menu item to open a recently opened item. I've implemented this using application:openFile: and noteNewRecentDocumentURL: as described here. AppDelegate.m…
DanielGibbs
  • 9,910
  • 11
  • 76
  • 121
1
vote
1 answer

Custom titles for Windows 7 Jump List Recent items

Quickie question: I'm toying with some of the new taskbar APIs in Windows 7 and have gotten Recent Items on my Apps jumplist to show up, but I would like to display them under a different title than the filename (most files my app will be opening…
Toji
  • 33,927
  • 22
  • 105
  • 115
0
votes
1 answer

How to add file to Recent Docunents in .NET?

I'm trying to figure out how to add a file to the recent documents using .NET. In this post SHAddToRecentDocs doesn't add my file to recent documents it shows how to do it via C# but how do I do it with VB.NET? Is it possible?
JayJay101
  • 1
  • 1
0
votes
1 answer

Visual Studio 2008 does not show recent projects

I have installed Visual Studio in my laptop. Laptop is run by Windows XP SP3. And Visual Studio 2008 (with SP1) does not show recent files in Start Up page. Buy the way VS 2008 does not show recent projects and files in File menu. Any…
Sergii
  • 749
  • 3
  • 15
  • 36
0
votes
1 answer

Windows 7 Jump List Displays No Icons

The application I'm working on has a set of file types associated with it. Everyone is familiar with Windows 7's new Jump List and its features. If I open a file (double clicking on it or from within my application), my list of 'Recent Documents' in…
Quentamia
  • 3,244
  • 3
  • 33
  • 42
0
votes
2 answers

Linux command most recent non soft link file

Linux command: I am using following command which returns the latest file name in the directory. ls -Art | tail -n 1 When i run this command it returns me latest file changed which is actually soft link, i wants to ignore soft link in my result,…
d-man
  • 57,473
  • 85
  • 212
  • 296
0
votes
1 answer

SHAddToRecentDocs doesn't add my file to recent documents

Double clicking on a file in Explorer correctly adds the file to the recent list for my application and I can open it again from the popup menu on my application which I have pinned on the start menu. I've got a special file manager in the…
user1006720
  • 29
  • 1
  • 5