Application Data to the user folder

In the user scripts, the application Data folder is accessible with Folder.userData

However in the SDK, I have a hard time finding the comparative service. GetAppLocalCachedDataFolder and GetAppRoamingDataFolder in FileUtils, but I don't see who gets the root folder Application data.

Thanks for any input.

FSRef yourUserFolderRef;

OSErr err = FSFindFolder (kUserDomain, kCurrentUserFolderType, kDontCreateFolder, & yourUserFolderRef);

FURL CFURLRef = CFURLCreateFromFSRef (kCFAllocatorDefault, & yourUserFolderRef);

CFURLRef fHomeURL = CFURLCreateCopyAppendingPathComponent (kCFAllocatorDefault, fURL, CFSTR ("/ Library/Application Support"), true);

CFRelease (fURL);

CFStringRef fHFSPath = CFURLCopyFileSystemPath (fHomeURL, kCFURLHFSPathStyle);

Concerning

Bartek

Tags: InDesign

Similar Questions

  • The data of the user of a Flex application recovery

    Hello! I need to use an application Flex (not a form guide) in the workspace.

    I am able to make a Flex application that is activated in the workspace, but I do not know how to retrieve data from the user.

    I know that if I use a form Guide, I can use a custom renderer Service that can retrieve data from the user, but how can I do the same if I don't use form Guide, but a pure SWF (variable type is form)?

    Thank you

    Alessio

    There is a way you can get the information of the user of the Flex application. You can get the user name, e-mail address and such things.

    You can see the following blog on how to do it: http://michael.omnicypher.com/2008/12/get-current-user-for-workspace-enabled.html

    If you need other data, you may need to make a call service or remote Web access once the Flex form has loaded.

    In the next version of LiveCycle, you will be able to use the same concept as the service rendered.

    Jasmine

  • Somehow, I deleted my index.dat in the Cookies folder.

    Somehow, I deleted my index.dat in the Cookies folder.  How do I get it back and I really need?

    Hello

    • What was the location of the folder where you deleted it go?
    The index.dat file is a database file. This is a repository of information such as web URLS, search queries, and files recently opened. Its purpose is to allow quick access to the data used by Internet Explorer. For example, all visited web addresses are stored in the index.dat file, which allows to find quickly the AutoComplete match as long as the user types an Internet Explorer web address. The index.dat file is specific to the user and is open as long as a user is connected Windows. Separate index.dat files exist for the history, cache and cookies in Internet Explorer.
    The index.dat file is never resized or deleted. A large index.dat file can affect the performance.
     
    Note: The .dat extension is commonly used for data files (files that are not readable by humans and not to hold a binary based on documents). It is possible to find named "index.dat" files that are not used by Internet Explorer.
  • How can I make a folder available only to a user (as the user folder)?

    I moved my library files and downloads folder to another partition. To do this, I did the "Users" folder I created "userA" application folder. I moved all the folders in the library in it. Everything was fine, but after the passage of 'b' user account, I found "UserB" can access all the ' wear "s newly made of the folders in the library.

    Is there a way to "wear out" folder invites a password entry window when "userB" or other users on the same computer try to access it, just like the original user folder in the original partition doesn't? (If "UserB" tries to access "userA" s original user folder in the C drive, it displays a password entry window asked to type ' wear "s login password.)

    Thank you!

    JP-

    You can change your authorization file to allow only the folder owner read the files.  If your door-inherited certain permissions from its parent, you can open the advanced permissions dialog box to remove the legacy. See http://windows.microsoft.com/en-us/windows/what-are-permissions#1TC=windows-7 for more details.

    Note there is no defense against the directors. For example at the password prompt, if the user enters an identifier of the administrator, the authorization of your file could be modified to allow access.  Administrators have full control over the system.

  • How to restore the default permissions (for example, the users folder) in windows 7?

    Dear windows users,

    Recently, I messed up the permissions of the files. What happened is that I took my laptop hard drive (win 7 64 bit system) in a USB external hard drive case. Then I get the USB into another windows office 7. I went through the users (perhaps of other files) folder in the hard disk of laptop on the desktop via a USB connection. It is very likely that the Office has changed the permissions of the files.
    I put the hard drive to my laptop, but some applications gives error like access denied messages.
    Is there a safe way to fix them? How to reset the default permissions?
    Thank you.
    BTW, have you worked with permissions of folders? Do you know what happens if permission to c:\users is messed up?

    When permissions in a subfolder in the users folder are confused so the user will not be able to run some programs, to create, modify or delete some files. The folder property affected, followed by assigning appropriate permissions, is usually sufficient to solve the problem.

  • My browser is running do not. I uninstall, install several times. Uninstall cookies, delete the data from the user, install in another user - no reaction. What's wrong? Help, please

    My browser is running do not. I uninstall, install several times. Uninstall cookies, delete the data from the user, install in another user - no reaction. What's wrong? Help, please

    Start Firefox in Safe Mode {web link} by holding down the < shift >
    (Mac options)
    key and then from Firefox. Is always the problem?

    Start your computer in safe mode with network. Then launch Firefox.
    Try the sites secure web. Is always the problem?

    Start the computer in Mode safe;
    Free online encyclopedia

  • Prevent automatic Expansion of the users folder

    It is a loss of a lot of time for me.  When opening explores, it automatically expands the users folder that I can navigate and collapse to get to where I really want to go.  How can I disable this annoying behavior?

    Go to start / computer and you will have a view that is not developed (at least mine isn't) - it shows C:\ and does not yet show the subfolders as users.  Or if you want just your own profile information, click on and it will give you just the files and folders in your profile (not developed).

    I hope this helps.

    Good luck! Lorien - a - MCSE/MCSA/network + / A +.

  • Application that prompts the user to add your opinion in AppWorld on closure

    I am trying to add this feature to my app... But do not know how... And can't seem to find any documentation on this subject...

    You can call the browser to the URL of your app in the App World.  App World opens next to your application page, where the user can leave a comment.

  • I added the user name to log on to the computer in the active directory after adding, I can't connect to the internal application by using the user name and password...

    Hello

    I added the user name to log on to the computer in the active directory after adding, I can't connect to the internal application by using the user name and password...

    Please give the solution

    What happens when you try to connect?

    If you are able to connect using the different account, try running gpupdate/force.

    If the problem persists, you can open the discussion on:

    http://social.technet.Microsoft.com/forums/Windows/en-us/home

    What is responsible technical issues forum.

  • My C drive is nearly full, can I send the 'Users' folder to 'C' on another disk "D"?

    I am usiinf Windows 7 Professional, my 'C' drive is an SSD with 'only' 56 Gig. My hard drive "D" is a one terabyte with more than 900 GB of space left on it.

    My file 'Users' is 13 Gig.

    DAVID BROOKER

    I don't think you can move the Users folder, but you can disable Hibernate and move your pagefile to free space, and you can move your Documents, music, pictures and videos folders.  You can uninstall some programs, and then reinstall them using the custom option and put them on the D: drive too.

    Good luck.

  • Our published application crashes when the user is not connected to WiFi

    It became clear after the last launch edition our published application crashes when the user is not connected to WiFi.

    This is a new one on us, someone at - it ideas?

    There was a bug in all versions of Viewer 24 and earlier that have arisen during the last iOS updated acme outside. If you upgrade to v25 or later version the issue will go away.

    Neil

  • Set initial value as the number of sequence/date/from the user

    Hi guys, I created a datablock and set up the user interface to allow users to insert all the data they need, however my table has a:

    ID - which is uniqe with each entry of the table is then gernerate by a sequence (that I created on the database), but when I put seq.nextval in the initial value on the datablock it says that I can not do that, so how can I use the sequence to insert the value in this field in the database. It's my first key in my whichobviosuly database my users cannot enter data for, on the contrary, it is generated automatically.

    User - in the same way in the datablock is a user field that has the user that inserted record, I know I can set the default for this field, but how to make the user automatically insert through forms on the database.

    Same again how put SYSDATE is automatically entered in the field date when the user submits the file?

    Any help on this would be GREATLY appreciated.

    Thanks in advance.

    Published by: user13390506 on August 5, 2010 04:11

    The DUAL table:
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/queries009.htm#sthref3198

    With: new, you reference the column should be inserted (in a trigger to update you: old and: where new: old contains the value before and: new value after the update of the column)

    Regarding your real problem: without a few pieces of code fails and you did, it's a little difficult to say what happened here. If you could get better answers by sharing.

    Sharing also the Versions of database (4 digits) and Versions of forms is important in order to obtain a response apropriate.

    Anyway: you seem to be new to the whole forms / SQL / PL/SQL stuff, so I might suggest:
    http://Tahiti.Oracle.com is a very good starting point for SQL and PL/SQL. This isn't a RTFM but rather a Council. Once you got used to you will like it. For my part, I could not live without tahiti: D.

    Cheers.

  • In the date picker, how can I default to select * dates if the user has...

    In the date picker, how can I default to select * dates if the user does not select a date.
    Thank you
    Doug

    Doug,

    Now lets say l want everything
    

    Could you post some sample data and the output you want to get... ? It would be very easy to understand the requirements...

    When you mean everything, I guess you need all possible dates between date1 and date2.

    You can use... (to asktom.oracle.com).

      1  select to_date('12-jan-2009','DD-MON-YYYY') + rownum -1
      2    from ALL_OBJECTS
      3    where rownum <= (to_date('20-jan-2009','dd-mon-yyyy') -
      4*                     to_date('12-jan-2009','DD-MON-YYYY') +1 )
    sql> /
    
    TO_DATE('
    ---------
    12-JAN-09
    13-JAN-09
    14-JAN-09
    15-JAN-09
    16-JAN-09
    17-JAN-09
    18-JAN-09
    19-JAN-09
    20-JAN-09
    
    9 rows selected.
    
    For your case, since you have date1 and date2...
    
    select to_date(:p12_date1,'DD-MON-YYYY') + rownum -1
      from ALL_OBJECTS
      where rownum <= (to_date(:p12_date2,'dd-mon-yyyy') -
                        to_date(:p12_date1,'DD-MON-YYYY') +1 )
    

    Should work... in my opinion... Have not tested the other by their Summit.

    Is that what you're looking for... ?? If no, please give details...

    Thank you
    Rajesh.

  • 'Application data' should the folder there be 21 of them?

    I had some problems with the installation of a game. I did some searching via Windows Explorer and found in the folder "ProgramData" 21 copies of the Application Data folder. Each one inside the other. This cannot be normal. What can cause this and how do I get rid of all these files?

    Right-click of your drive in my computer, choose Properties - tools - and choose
    Check now

    --
    ..
    --
    "stickbow" wrote in message news: 0f859ac8-70b8-4cb6-b973-e7188a4adbad...
    > I had a few problems with the installation of a game. I was part
    > the search through Windows Explorer and are found in the folder
    > "ProgramData" 21 copies of the Application Data folder. Each interior
    > the other. This cannot be normal. What can cause this and how
    > get rid of all these files?

  • migration assistant for only the user folder

    I'm helping a student who left a Time Machine backup College but suffered a hard disk failure in his MacBook Pro here. We can't clone or make a backup hard drive TM or run the recovery partition. All we could do was to copy the user on an external hard drive folder.

    Apple replace the drive under warranty and installation of system software. When we reboot the machine that is repaired, we will be able to use setup assistant/migration assistant to transfer the folder to the user as it will not be recognized as another backup Mac or MC? Otherwise, what is the best way to get it on the laptop and recognized as a user it?

    (She needs to work on its data before returning to the University is not an option to wait until she is back with his backup TM)

    As far as I know the Migration can be done with just the folder of the user. What I would say is that you copy the text of the drive backed up by a folder. In other words, open the two folders of Documents and copy the text from the backup folder of Documents to the Documents from the computer folder. This, for everything except the library. Most of what is in the library will be restored as the computer is reconfigured and the applications are put back in place.

Maybe you are looking for