Hard problem. how to track which application a user opens next?

Hello,
When the user runs my program,
then **with his permission**, I want to be able to track
which application the user has opened.
For example, if he opens resume.rtf in MSWord, then I
should be able to record or store the full path of
MSWord and also the document path (c:\my
documents\resume.rtf).
Do you know how to do it?
I would appreciate any help.
thanks,
Anil Philip

In this old link
http://www.gamedev.net/community/forums/topic.asp?topic_id=313980
Da Wanderer has posted code (in Visual Basic?) to open a folder. He says it is cross platform. I am stumped by the code for Linux. Does anyone know if it will work for Linux. ie. Can I use the same options to open a document in Linux?
I plan to use Runtime.exec similarly in Java, to open a doc.
if (vars.Contains("GNOME_DESKTOP_SESSION_ID"))
               processes.Add( new ProcessAndArgs("nautilus", "--nodesktop --browser " + path) );
               osFound = true;
          else if (vars.Contains("KDEDIR"))
               processes.Add( new ProcessAndArgs("kfmclient", "exec " + path) );
               osFound = true;
          }

Similar Messages

  • Hi, I followed the instructions to apply for the Made For iPhone Program. After submission of the necessary documents and information, I have not heard back from Apple. How to track the application progress? Can someone help?

    Hi, I followed the instructions from Apple MFI website, to apply for the Made For iPhone Program. After submission of the necessary documents and information, I have not heard back from Apple for couple weeks. How to track the application progress? Can someone help? < Edited by Host >
    Thank you.
    Best Regards,
    Gerald

    Hi Gerald
    This is a user-to-user forum, and your message will not be received by Apple. You will need to sign into your Developer/MFI account, and contact Apple that way. This can be done here.
    P.S Please do not post your e-mail address here.
    Taylor

  • How to query which Tcodes specified user used with one day?

    Hi guys:
      How to query which Tcodes specified user used with one day?

    Hi
    You can use transaction code ST03N.
    1. Go to tx code - ST03N
    2. Under "Workload" you can select your "Instance or Total" so that it expands and shows you Days, Week, Month.
    3. If you want to look at the transactions executed for a particular day, lets say, then double click on any day.
    4. At the bottom left you get "Analysis Views"
    5. Select & expand "User and Settlement Statistics"
    6. Double click on "User Profile"
    7. On the right side of the window you get a list of all the users
    8. Double click on a particular user you want to view the details of.
    9. The new screen will display the "Transactions/Reports Utilized by User XXX"
    If you wanna track which users executed a particular transacation then follow this:
    10. In "Analysis Views" expand "Transaction Profile"
    11. Double click on "Standard"
    You can view the list of Transactions and Reports.
    12. Double click on the Tx Code or Report you wanna check and it will show the Use of it.
    This will help you.
    Regards
    Sumit Jain
    [reward with points if the answer is useful]

  • How do I keep applications from automatically opening when I power up my Macbook Air?

    How do I keep applications from automatically opening when I power up my Macbook Air?

    When you Shutdown or restart, uncheck this option.
    Regards,
    Captfred

  • Change All / Get Info issue. How to set which application  opens a file?

    Hello,
    I would like to be able to set which application opens a specific file, but cannot get the 'Change all' option in the get info to stick, or to have scvope beyond the immediate folder. For example: whenever I download an.xml file and try to open it the application it defaults to is 'Property List editor' - so I have to go into 'get info' and set the application that I want to use to open the file. Let's say - Textmate. That file will then remain set, for the length of that session anyway - but clicking 'Change all' will not mean that the next file downloaded will default to 'Textmate', or that any .xml files outside the folder will open in Textmate. I have to set them all manually, which gets to be a drag.
    I once had a little open source app. that I used to set the preferences as to which application opened a specific suffix - which worked with some, some of the time... but after a clean install I lost it - and can't remember what it was called. Anyway, it didn't entirely solve the problem, only lessened it.

    [Mac OS X: Double-Clicking a File Opens the Wrong Application|http://support.apple.com/kb/TS2291?viewlocale=en_US]
    *Changing the application used to open all files of a certain kind*
    1) In a Finder window highlight a file of the kind you want to change the application to open that kind of file.
    2) While that file is highlighted, select File > Get Info or press command (apple or propeller icon) + i to get a file information window.
    3) In the lower part of the info window there is an "open with" menu with a list of applications.
    4) If your application is already in the box then it is the default application for opening that kind of file and you don't need to do anything more. Close the get info window.
    5) If the application showing in the menu is not the one with which you wish to open the file then select a new application. If your application does not appear there then select the "other..." and track down the application (usually in the Applications folder at the main level of the computer).
    6) If you wish to change all files of this type to open with this application in future, make sure the "change all" button is selected.
    7) Close the get info window.
    I know that what I posted may have been what you have been doing, but wanted to double check.
    I don't know to what application you are referring but application/file type association is done by Launch Services. Potentially this can become corrupted. You can use Onyx (free) utility to rebuild LS, but in doing so you will lose all non-default associations.
    As with any problems, I would also make sure you have run disk utility to verify and repair your drive, and repair permissions on your computer, before doing any other actions. It's surprising what that can clear up. You can slo just try starting in Safe mode, then restarting normally and see if that helps.
    [Mac OS X: Double-Clicking a File Opens the Wrong Application|http://support.apple.com/kb/TS2291?viewlocale=en_US]
    [Mac OS X: Starting up in Safe Mode|http://docs.info.apple.com/article.html?artnum=107393]
    [What is Safe Boot, Safe Mode? (Mac OS X)|http://docs.info.apple.com/article.html?artnum=107392]
    [Safe Boot takes longer than normal startup|http://docs.info.apple.com/article.html?artnum=107394]

  • How to identify which application is deployed wirelessly by BES?

    From BlackBerry Manager, can we identify which application is deployed wirelessly by BES, which is deployed by end user himself?  thanks.

    Thanks, but is a thumb rule that smaller table will be hashed ?
    Also, how can i be sure by seeing the executing plan that smaller table is hashed ?

  • How to detect which applications that are currently running

    Hi there. Is there a way to detect which applications that are currently running on my machine? Is there a class that can get all of the running applications, you know, like the taskmanager.
    //peter

    What you are asking for is indeed not possible through "100% Pure Java," because each operating system that runs Java Virtual Machines can handle the running processes differently (think about the differences between a process scheduler for, say, Windows NT and your Palm Pilot, both of which could have a JVM running).
    That means there are essentially 2 avenues to persue for this:
    1. Use an external "user-level" command (like ps on a UNIX-like OS) and parse the results (this is what people are referring to when they say "Runtime.exec()". There have been some nice exec() frameworks posted around here before, so I'd recommend searching around a bit for more info.
    I also found this link (from Google) which apparently shows the javadocs where someone has attempted something similarly on the Linux platform before...that's all I know about it:
    http://www.cougaar.org/software/9.2/javadoc/api/org/cougaar/tools/server/system/linux/LinuxProcessStatusReader.html
    2. Use a JNI (Java Native Interface) call to an externally provided C function to get the info you need. Here's a link to the Java 1.4 JNI information:
    http://java.sun.com/j2se/1.4/docs/guide/jni/
    Hope this helps! (But it's not going to be a quick and easy problem to work with)...
    -J

  • How to find which applications are running

    I cannot figure out where on the HD to look to see which apps on my iMac are open.
    Other than the ones highlighted in the dock, can there be others open?
    I was ejecting my external HD and a message reads 'it is in use, try quitting applications'.
    As far as I can see, I have quit them.

    Every application that is open goes into the dock and has a blue light under it until the application is closed.... if that application is not added to the dock, then the icon just disappears...
    If application is added to the dock, then when you end the program the little blue light under the icon disappears.
    Cheers

  • How to identify which application users are connected to in an rdp session

    so we have an rdp gateway with couple of servers acting as brokers. users connect to the RD web access site and see a list of applications. usually these applications are the same but with different parameters like (done through the RemoteApp manager)
    app1: C:\Program Files\app.exe arg: C:\appdata\group1\file
    app2: C:\Program Files\app.exe arg: C:\appdata\group2\file
    i'm trying to find a way to tell which app the users are connecting to at a point with no luck, any help will be appreciated
    Noor

    Hi Noor,
    Thank you for posting in Windows Server Forum.
    From your description I can understand that you want the user name with app they have in their session.
    You can achieve with below command.
    Query process User name
    Displays information about processes running on a terminal server. You can use this command to find out which programs a specific user is running, and also which users are running a specific program.
    More information:
    Query process
    http://technet.microsoft.com/en-us/library/bb490798.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • How to track "Date of Last user Login" across all provisioned systems ?

    We all know how hard it is to track old users - in particular ones that have left and termination paperwork has not been completed (users such as contractors, service technicians etc)
    Anyone think of a way where IDM could track the date/time of last login to each system that it has provisioned that user to ?
    Maybe a new field per system eg LASTLOGIN<ECPxxx> which I can then view along with the User ID Alias ACCOUNT<ECPxxx> field and see ;
    Which Systems the user has a login to
    Date / Time of last login to these systems
    Yes, it can be done manually by logging in to each to the systems and running SUIM, but I would hopping for an elegant solution as part of the IDM process.

    Hi Phil,
    getting the last logon date is dependent on the system to which you are provisioning userids. For some systems you might not be able to retrieve the last logon date at all.
    We have implemented something like that in my previous project for Active Directory, because we needed to implement a custom password ageing functionality that disables accounts when the user does not change his password in time. For Active Directory you can check the lastLogon attribute or alternatively the accountExpires attribute.
    Best regards
    Holger

  • As a Hyperion Admin how to track changes if one user changes / creates user

    1) in Hyperion how Admin can find if one user
    Password resets logged.
    2)In hyperion how Admin an fine if one user
    Creation, change and deletion of User accounts logged.

    Shared Services allows the auditing of provisioning and life-cycle management activities to track changes to security objects and the artifacts that are exported or imported using Lifecycle Management Utility.
    For Shared Services auditing, refer Page 129 of http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security.pdf
    Planning Administrators can select aspects of the application for change tracking. For example, you can track changes to metadata, such as when users change a member property or add a currency. You can also track changes in data forms, business rules, workflow, users, access permissions, and so on.
    For Planning auditing, refer Page 56 of http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin.pdf
    HTH-
    Jasmine.

  • How to track the existing logged user on the portal

    Hi
    I am using portal 3.0.9.8.1.
    From time to time , I am stopping the Oracle http server for the
    purpose of deploying new servlet class/jar files in its
    configuration files.
    My question is "How to define/track the list of users who are
    currently accessing the portal"?
    In my portal configuration, I setup up the life cycle of new
    session id for 15 minutes so it is assumed that I should get
    only the list of active users (< 15 minutes) !!!
    thanks in advance

    Hi
    First of all, thanks for your reply.
    I issue a simple SQL Statement as follows :
    select count(*) from wwlog_activity_logs;
    It generates for me around 1300 rows!!!! Is it normal?
    Currently, the portal is used only for intranet purposes and the
    number of users is only 5?
    How the portal is updating this table? is is a historic table?
    Can I delete the content of this table at any time?
    Thanks in advance for your feeback

  • How to make Finder to launch newer verstion of application when user opens file

    I have 2 versions of the same program. Only difference in Info.plist of that bundles is CFBundleVersion field. How can I make Finder to launch newer version, when user opens file assosiated with this application (user has both versions)

    This is not something I know about, but I did find the following in the  Launch Services Programming Guide:
    I'd suggest reposting your question in the Developer's forum here.
    https://discussions.apple.com/community/developer_forums

  • How to determine which cell the user has just left?

    I want to check the contents of a JTable cell just after the user has left that cell.
    What is the most reliable way to determine which cell the user has just left?

    Hi,
    I use the cellRenderer for that... if the value is not correct, I call an editCellAt() method...
    JRG

  • How to get which domain a user belongs to via powershell

    Hi Guys
      I have a forest that contains many subdomain, like
    Forest Root: contoso.com
    Child Domain: a.contoso.com ; b.contoso.com and so on, now I'd like to write a powershell query to find out a which domain a user belongs to , was it possible ?

    Hi,
    Here's something you can try:
    Get-ADUser USERNAME -Properties CanonicalName |
    Select @{N='Domain';E={($_.CanonicalName -split '/')[0]}}
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

Maybe you are looking for

  • How can we edit the workbook

    hi how can we edit the workbook means i am having a workbook with some queries, i want to change the name of the workbook how we do this? Can any one provide me the solution Thanks in Advance.

  • Responding to Dropdown choices

    What's the Java-centric way to respond to the selection of an item in a drop down list in HTML that requires then refreshing the values in another drop down list? I need a user to be able to select "location" from a list and then populate a "Room" dr

  • Plz tell me whats wrong?

    i hv a code & it doesn't work,i dnt know y. this is my code: public void set_level(int lvl)      System.out.println("level = "+ lvl); try {      statement = connection.createStatement();     ResultSet r= statement.executeQuery("select level from User

  • Crash ID: bp-1f3cceb9-6716-4a0a-bd3b-f3ace2140225

    ''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/987842 /questions/987842]'' Firefox keeps crashing on startup AdapterDeviceID: 0x0166 AdapterVendorID: 0x8086 Add-ons: %7BBBDA0591-3099-440a-AA10-4176

  • Ipod to p.c

    hey im new to all this so bare with me,i just bougt my g/f a video compatible 30gb ipod, we loaded some 2000 songs from itunes onto the badboy and several weeks later my p.c crashed, which resulted in me losing everything on my hard drive. if i can h