Getting "open recent" items and "open documents" from an application

How do I ask Textedit (if running) for the list of documents currently open?
How do I ask Textedit (if running ) for the list of "open recent" items?
Thank you

Thank you. This does the job for "opened documents" in TextEdit and other applications. I wish there were a similar method for "open recent" items. Each application (TextEdit, BBEdit etc) seems to handle the "open recent" items in its own way!
Thank you again.

Similar Messages

  • Getting host name and port number from an application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Open Recent Items list disappeared

    Hello,
    Well, the Open Recent Items list - the list underneath Users, Macintosh HD, etc - has disappeared from all applications. This is list vital to my sanity, it's taking twice as long to navigate to files now.
    I've searched the Apple Discussions and the Internet without any luck. Does anyone have a solution to make this list viewable again?
    Any assistance would be greatly appreciated!
    Thanking you in advance.
    JT.

    Hi JT:
    Welcome to Apple discussions.
    I think this knowledge base article will help you:
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8376.html
    Barry

  • Programatically create new mail item and open - body text lost on subsequent saves

    Hi,
    I have a problem with trying to create new GroupWise mail item from a
    button in a C3PO. I require programmatic access to this via the Object
    API, so it must be a saved draft. This is relativley straight forward to
    do - just create a mail item using the object API, and then use the Token
    API to open this item.
    This worked fine in 6.5.0, however in 6.5.1 and 6.5.2 I have noticed that
    when the user does a subsequent save, the body text of the message
    dissappears in the GUI (it is updated correctly in the draft however) -
    and all subsequent saves cause the body text to dissappear. If you close
    the mail item and open the draft manually you can continue as normal.
    As a test, I also tried to use the Token API to create a new mail item,
    and then again to save the item in the work in progress folder. This
    seems to work fine the very first time you do this, but each subsequent
    time the same behaviour is seen - i.e. the body text of the email is
    deleted from the GUI. Also, another observation here, event though the
    mail item was saved in the WIP folder via the token API command
    ItemSaveMessageDraft, it moves into the users MailBox when the user saves
    it manually.
    I have posted the two snippets of code from my test C3PO project at then
    end.
    This is a major problem, as we need to be able to reliably create new mail
    items from a toolbar button, so any help very much appreciated.
    Regards
    Greg
    Test case 1: Create a new message object in the WIP folder, and then open
    it using Token API...
    Dim sRetString As String
    Dim DraftMail As Object
    Set DraftMail =
    g_C3POManager.ClientState.CurrentAccount.WorkFolde r.Messages.Add
    ("GW.MESSAGE.MAIL", egwDraft)
    g_Commander.Execute "ItemOpen(""" & DraftMail.MessageId & """)", sRetString
    Test case 2: Create a new mail via token API, then use token API to save
    the item in the WIP folder...
    Dim sRetString As String
    ' create the new mail item...
    g_Commander.Execute "NewMail()", sRetString
    ' Get the folder path as a string..
    Dim GWFolder As Object
    Dim sAccount As String
    Dim sFolderPath As String
    sAccount = g_C3POManager.ClientState.CurrentAccount.RootFolde r.Name
    Set GWFolder = g_C3POManager.ClientState.CurrentAccount.WorkFolde r
    sFolderPath = sAccount & "\" & GWFolder.Name
    ' dirty the message so save works...
    g_Commander.Execute "ItemSetText(""X00"";Subject!;"" "")", sRetString
    g_Commander.Execute "ItemSetText(""X00"";Subject!;"""")", sRetString
    ' do the save...
    g_Commander.Execute "ItemSaveMessageDraft(""" & sFolderPath & """)",
    sRetString

    Hi,
    I have a problem with trying to create new GroupWise mail item from a
    button in a C3PO. I require programmatic access to this via the Object
    API, so it must be a saved draft. This is relativley straight forward to
    do - just create a mail item using the object API, and then use the Token
    API to open this item.
    This worked fine in 6.5.0, however in 6.5.1 and 6.5.2 I have noticed that
    when the user does a subsequent save, the body text of the message
    dissappears in the GUI (it is updated correctly in the draft however) -
    and all subsequent saves cause the body text to dissappear. If you close
    the mail item and open the draft manually you can continue as normal.
    As a test, I also tried to use the Token API to create a new mail item,
    and then again to save the item in the work in progress folder. This
    seems to work fine the very first time you do this, but each subsequent
    time the same behaviour is seen - i.e. the body text of the email is
    deleted from the GUI. Also, another observation here, event though the
    mail item was saved in the WIP folder via the token API command
    ItemSaveMessageDraft, it moves into the users MailBox when the user saves
    it manually.
    I have posted the two snippets of code from my test C3PO project at then
    end.
    This is a major problem, as we need to be able to reliably create new mail
    items from a toolbar button, so any help very much appreciated.
    Regards
    Greg
    Test case 1: Create a new message object in the WIP folder, and then open
    it using Token API...
    Dim sRetString As String
    Dim DraftMail As Object
    Set DraftMail =
    g_C3POManager.ClientState.CurrentAccount.WorkFolde r.Messages.Add
    ("GW.MESSAGE.MAIL", egwDraft)
    g_Commander.Execute "ItemOpen(""" & DraftMail.MessageId & """)", sRetString
    Test case 2: Create a new mail via token API, then use token API to save
    the item in the WIP folder...
    Dim sRetString As String
    ' create the new mail item...
    g_Commander.Execute "NewMail()", sRetString
    ' Get the folder path as a string..
    Dim GWFolder As Object
    Dim sAccount As String
    Dim sFolderPath As String
    sAccount = g_C3POManager.ClientState.CurrentAccount.RootFolde r.Name
    Set GWFolder = g_C3POManager.ClientState.CurrentAccount.WorkFolde r
    sFolderPath = sAccount & "\" & GWFolder.Name
    ' dirty the message so save works...
    g_Commander.Execute "ItemSetText(""X00"";Subject!;"" "")", sRetString
    g_Commander.Execute "ItemSetText(""X00"";Subject!;"""")", sRetString
    ' do the save...
    g_Commander.Execute "ItemSaveMessageDraft(""" & sFolderPath & """)",
    sRetString

  • Open sales orders and open deliveries and open billing doc to sap from legesy

    Dear all
    i have some open sales orders and open deliveries and open billing doc are there in the legesy system
    so i want to know how to transfer the doc to sap by using lsmw plz tell me

    Hi Amith,
    it is always good to search in Google before posting .LSMW is very old topic and i am sure you will get lots of Documents on this .Please go through the below link .you will get some idea on this.
    http://scn.sap.com/thread/1012472
    there are 14 steps in LSMW and it is same for all (master data and Transaction Data)
    Pls practice this in your sand box or quality system before working it in the client requirement.
    Hope this helps to you
    Regards
    Sundar

  • My payslip gets emailed to me and opens with fire fox , i can not print it out have tried saving to doc but still opens will not print

    my payslip gets emailed to me and opens with firefox , i can not print it out have tried saving to doc, but still opens with firefox and will not print.
    The server i have to use for my pay is Explorer( i told them that this would have conflicting things on my computer, they said no i wont.( i can get it just can not print it?)

    Hi there morinallen,
    Try downloading and running the print and scan doctor located here to ensure there are no software conflicts:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03275041&cc=us&dlc=en&lc=en
    It can fix a lot on its own and if not give a better idea of what is going on.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • I can not get itunes to install and open on my new laptop i am so frustrated i have uninstalled and reinstalled at least a dozen times in the last month

    i can not get itunes to install and open on my new laptop i am so frustrated i uninstalled and reinstalled at least a dozen times in the last month
    i got a error 7 this time but have had diff ones befpre please help

    Will iTunes open in safe mode? Hold down CTRL+SHIFT as, or immediately after, you click the icon that starts iTunes and keep holding until you see this prompt.
    Click Continue.
    Assuming iTunes has opened, enable the menu bar, if necessary, with CTRL+B. Then go to Edit > Preferences > Store and untick Show iTunes in the Cloud purchases. Press OK, close iTunes, wait until it has had a chance to fully close then reopen.
    Will iTunes open normally now?
    If not, see Troubleshooting issues with iTunes for Windows updates for genral advice.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2
    tt2
    Message was edited by: turingtest2

  • Open Recent Items List

    The names of the files in the "Open recent Items" list are
    being shown in an Asian Character set.
    Is there a way to reset this to a traditional Western
    font?

    Hi JT:
    Welcome to Apple discussions.
    I think this knowledge base article will help you:
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8376.html
    Barry

  • To get line item and confirmation details from CRM_ORDER_READ

    Hi,
    Please can anybody let me know which the field from which i can get line item details and material for the service order given?
    I am using CRM_ORDER_READ to retrieve the values. In that i am exporting 4 fields - et_orderadm_h,  et_orderadm_i, et_product_i, et_doc_flow. So from where to get line items and material id from these fields?
    I will be very thankful if i get the answer of this question.

    Hi,
    The attribute NUMBER_INT of ET_ORDERADM_I contains the Item Number.
    Hope this helps!
    Regards,
    Rohit

  • Can I open a pages or PDF document from a numbers cell?

    Can I open a pages or PDF document from a numbers cell?

    No.  Numbers will only linke to a web page or an email.

  • HT5012 Any body suffering leggsness while opening the appstore and game center  from mnimaze center...... In ipad mini pls sort me out and tell me ......it will be improve after the update to ios 7.0.3

    Any body suffering leggsness while opening the appstore and game center  from mnimaze center...... In ipad mini pls sort me out and tell me ......it will be improve after the update to ios 7.0.3

    There have been issues with the app store and with game center. And they all seem to be on Apple's end. I'd wait for the next update and see if that helps.

  • Open PR Quantity and Open PO Quantity

    Dear Friends, Good Morning..
    Please suggest me...
    I need to create a report with Inventory + PO + Plan data.
    In case of PO I need
    Open PR Quantity  and
    Open PO Quantity
    Open PO Quantity : I'm getting from 0PUC_C01 InfoCUbe i.e.
    Open PO Quantity =  PO Qty -  GR Qty.
    But how can I get Open PR Quantity  please help me.
    Thanks
    Gnaga

    Hi,
    I dont see anything like open PR quantity. u cant have GR based on PR, even if it is an internal order an STO has to be cretaed out of this PR.
    Check for more with ur functional consultant and design acordingly.
    regards
    Joga

  • Open PO Quantity and Open PR Quantity

    Dear Friends,
    How can we get Open PO Quantity and Open PR Quantity?.
    I used 2LIS_02_ITM, 2LIS_02_SCL to 0PUR_C01 Cube and 0PUR_DS03 DSO and I have done lots of R & D by using restrictions i.e. Delivery Completed indicator, I'm getting GR Qty, but not Open PO Qty..
    And in teh same way how can I get Open PR Qty?. From EBAN table, I can create Generic DS, But is the any SAP Defined DS's apart from 0DF_IS_DFS_32
    Thanks
    Ganga.

    HI,
    Check the below link for EBAN which will help you in getting a generic datasource working like a standard datasource to get details of EBAN.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10b68b99-022e-2a10-999d-c4dc9ec24a59&overridelayout=true
    Thanks,
    Arun

  • App to completely clear all History (Recent Items and Folders)

    It easy to clear the Recent Items list in the Apple Menu and also the Recent Folders in the Finder.
    What is a good Snow Leopard app that will do both and all the clean-up for you, totally erase history on all fronts?
    Thanks.

    sig wrote:
    I don't see as you would need an app for that. Just go to Recent Items and select Clear Menu. For folders do the same, Go>Recent Folders>Clear Menu. How simple is that?
    I prefer one that will completely vanish all footprints on all fronts in one stroke including Internet history, Open Recent items list in apps and every possible traces of recent activities using only one client.

  • Open Target Quantity and Open Target Value in Contract

    Hi,
    When we execute transaction 'ME3N', it displays the report which is having columns as 'Open Target Quantity' and 'Open Target Value'. I have the similar requirement to read this 'Open Target Quantity' and 'Open Target Value'  of contract.
    Is there any table which stores these values or is there any function module which gives the value of 'Open Target Quantity' and 'Open Target Value'.
    Thanks,
    Siddhi

    Hi,
    Thank you for the reply.
    I tried to find that way too. But I was not able to get the table / field for 'Open Target Quantity' or 'Open Target Value'.
    Now, I am looking for the logic to get the 'Open Target Quantity' and 'Open Target Value' in contract.
    Can anybody please help me with getting this logic?
    Thanks,
    Siddhi

Maybe you are looking for

  • Can I set up a Content Filter that is Time/Date stamp dependent?

    My company would like to add an additional disclaimer text during Holidays where the company is closed.  It will say something like: "In observance of the 'XYZ' holiday, our offices will be closing at 3:00 PM on Friday, December........ and will reop

  • After Upgrading to Mac Os X 10.6 (SNOW LEOPARD) Internet is half-deading

    Yeah, i know this is a known topic, i'm stuck here 2h researching that. I still couldn't find a fix on it. I'm using facebook as a test site, because it isn't connecting to facebook anymore But i'm still able to visit some sites, including here and M

  • Hot Backups - Oracle 9i, 10g and 11g

    Are all hot backups run outside of RMAN as an OS file copy? If so, isn't this a very risky exercise. I understand that RMAN will check for corruption where as hot backups won't. RMAN can also track backups in a recovery catalog. If using a hot backup

  • SAP Standard Scripts ( how to Modify Standard Scripts)

    hi every one , This is Abdul Rahman , i want to know how i should modify Standard SAP Scripts like RVORDER01 or MEDRUCK SCRIPTS ,i want to know whole process . and how to Run the Script . plz any kindly send some good DOC or web pages which i can ace

  • XI Administration in RWB

    Hi Everyone, What does Adapter Engine, Business Process Engine, Integration engine does exactly in Integration Server and as from the basis/administration part what sholud be monitored. What will be the process it follows(IE, BPE,Adapter engine) when