Can Adobe Air Create a Symbolic Link (aka shortcut) ?

Greetings,  I am working on an AIR application that automatically creates a directory tree for the user. Because there are many levels to the tree I want to have symbolic links to certain folders and files at the top level to speed navigation.   Can AIR create symbolic links ?  If not can anyone suggest a work around as this limitation would be  bad for my project.

I thought I would post a few comments that might help others.  
First, there does not seem to exist a symbolic link that is crossplatform regardless of the filesystem used (e.g., NTSF, FAT32, etc.).  In other words if you create a symbolic link in Windows XP on a network drive and then try to view that shortcut in Linux, Linux will not understand the shortcut. I tried  both the Junction and shortcut approaches.  Similarly is I create a symbolic link (ln -s) in Linux on a network drive, a Windows machine will not interpret it properly.  Since my app needs to support a heterogenous computers on a single LAN then I am SOL.
However, if you have an app that will only be used by computers of the same type, or on a single computer, you can create symbolic links using Air V2.0. Air V2.0 supports calling executables/batch files and passing information to STDIN and getting STDOUT.  You could then write a batch file in whatever OS you are using.  However other than creating junctions using MS-DOS's linkd, I don't know how you would do this on Windows XP machine.
If anyone has further comments on this thread I would be grateful.

Similar Messages

  • Can I Create A Symbolic Link to folders stored on an SMB Share folder?

    Hello,
    I am very new to Unix and was hoping that someone could point me in the right direction with regards to Symbolic links and an SMB share folder ....
    Have purchased an ext. LAN Drive enclosure (http://www.macpower.com.tw/products/hdd3/pleiades/pd_usblan) which connects to my wireless router via ethernet like my G5 (main Mac) - our iBook connects via Airport. I have copied all my general documents/files to the SMB share folder on the ext. drive so that I can access them from the G5 and also the iBook.
    However I'd also like to be able to store my actual Mail folder (/Users/Mark/Library/Mail/), , Safari folder (/Users/Mark/Library/Safari) + my Address Book and other folders sitting in the Application Support folder on my SMB share so all important docs/folders are in the one place. I've tried storing these folders on the SMB share and putting an Alias to these back in Users/Mark/Library/Mail etc but of course an Alias doesn't work.
    Question 1: Can I create a symbolic link to these files if these are stored on an SMB share folder? If so, could you please tell me exactly what I'd need to type into Terminal? My SMB Share path is smb://STORAGE-XXXX/MARK
    I have copied my iPhoto library and iTunes library to the SMB share and are working fine.
    Question 2: Is it possible/worth attempting to move my whole home folder to the SMB share folder? Ideally, I'd like to be able to access my Mail from the iBook as well. If I could log into either the G5 or the iBook and access my latest Mail, Address Book and other Application Settings, that would be perfect. Would this be possible?
    Thanks
    Mark.
    Dual 1.8GHz G5 (Rev.B), 2Gig RAM, 9600XT   Mac OS X (10.4)  

    Dear Mark,
    Yes you can. The command to create a link will look something like this:
    $ ln -s thisFolder /Users/mark/thatFolder
    I did this while I was hosting a microsoft based game. This put all of the players into a common directory.
    SMB just resolved the link and everything worked fine.
    However, as I understand it, some other applications do NOT work very well with links. As I have NOT tried it with other applications, I fear I can be of NO help to you in this matter.
    The only way to find out which applications work with links is to try them and see what happens.
    Best of luck,
    Kurt

  • How can I get permission to create a symbolic link?

    I am trying to create a symbolic link from a program, but I keep getting:
    A required privilege is not held by the client.
    I am running the program from my account which is in the Administrators group, and otherwise has admin rights. However, if I login to the Administrator account the program runs fine, so I know the program code is correct.
    I have checked the local security settings, and even added my account explicitly to the local security settings to create symbolic links, but that does not help. I have also turned of UAC, but that does not help.
    What do I need to do on Windows 8.1 to be able to create a symbolic link from an account other than Administrator?
    Cheers, Eric
    Eric Kolotyluk - software developer, music DJ, swing dancer

    Basically I have a Scala program that is doing:
      try {
        Files.createSymbolicLink(link21, folder1)
      catch {
        case fileSystemException: FileSystemException =>
          System.err.println("\n\t**** Error configuring test fixture ***\n\n")
          println(fileSystemException)
          if (fileSystemException.getMessage().contains("A required privilege is not held by the client"))
            println("You need to set permissions by...\n")
    Where Files is the java.nio API. In fact it's a unit test fixture that tests to make sure my code handles symbolic links properly. The test fixture creates a temporary directory, for example
    C:\Users\Eric\AppData\Local\Temp\testFolder-432432684744817467
    and more files and folders below that. In one folder, it tries to make a symbolic link to another folder.
    I tried what you said with Run As Administrator, in this case, I ran my Eclipse IDE as Administrator and the code works -- thanks for the tip :-)
    However, in practice, I need this to work as part of automated unit test running as part of a Maven build, so is there some way to set things up that do not require "Run As Administrator"?
    Now that I have one solution, I can probably figure out some hack, but I was hoping there would be some more simple straightforward way to do what I want.
    Eric Kolotyluk - software developer, music DJ, swing dancer

  • Chkconfig does not create right symbolic links

    Hello all,
    I am just adding a script to automate start / stop during Oracle Linux reboot. I figured out that the symbolic links are not created in the right order. To prove that, I create a small script for test purposes.
    =====================================================
    # #!/bin/sh
    # Name: init.test
    # chkconfig: 45 80 20
    # description: Script test for chkconfig
    echo "This is a test script only. chkconfig is not creating correct symbolic links."
    =====================================================
    Then I used chkconfig --add init.test
    It should be created entries for levels 4-5 only, but it creates more soft links in rc.d directories.
    find /etc -name "*init.test" | sort
    /etc/rc.d/init.d/init.test
    /etc/rc.d/rc0.d/K20init.test
    /etc/rc.d/rc1.d/K20init.test
    /etc/rc.d/rc2.d/K20init.test
    /etc/rc.d/rc3.d/K20init.test
    /etc/rc.d/rc4.d/S80init.test
    /etc/rc.d/rc5.d/S80init.test
    /etc/rc.d/rc6.d/K20init.test
    Even that chkconfig show the correct levels, I am just curious why it created more kill soft links in rc.d directories.
    chkconfig --list init.test
    init.test      0:off     1:off     2:off     3:off     4:on     5:on     6:off
    Someone could try to explain to me why the kill script has been added to runlevel 0, 1, 2, and 6? Am I missing something here?
    Appreciate your help on this.
    Cesar
    Edited by: CESARDBAIBM on Feb 18, 2013 2:43 AM

    see
    man chkconfigwhere you can find a good example including explanation
           For example, random.init has these three lines:
           # chkconfig: 2345 20 80
           # description: Saves and restores system entropy pool for \
           #              higher quality random number generation.
           This says that the random script should be started in levels 2,  3,  4,
           and 5, that its start priority should be 20, and that its stop priority
           should be 80.  You should be able to figure out  what  the  description
           says;  the \ causes the line to be continued.  The extra space in front
           of the line is ignored.

  • Can Adobe Muse create menu systems in an InDesign document?

    Can Adobe Muse create menu systems in an InDesign document?

    Hi Golden Reuel,
    Since InDesign has limited capability of integrating HTML and Muse is all about HTML. I dont think you can create menu systems in InDesign.
    For Better Clarification I would suggest you to post the query on the Muse Community.
    http://forums.adobe.com/community/muse
    Thanks!
    Eshant

  • Can Adobe Air build multiple live video chat and whiteboard application?

    Can Adobe Air build multiple live video chat application? and
    whiteboard like MSN whiteboard?
    Is there any online documentation?

    1) any practical use of P2P multicast will have a delay measured in seconds. it shouldn't go to 30 seconds unless you have a large NetStream.bufferTime.
    2) i strongly recommend against changing the multicast stream parameters. they all interact with each other. decreasing the window duration will decrease the effective reliability of the stream, by reducing the amount of time to receive all of the fragments of the stream as they pass through the P2P group -- especially when people join or leave the group, which can disrupt the low latency "push" trees that are constructed in the group.
    3) you should be able to change the encoding parameters on the fly without a major disruption. are you using H.264 or Sorenson Spark?  it's possible that your camera doesn't like to have its capture size changed and it is freezing temporarily.  i'm not having any trouble changing the capture size with my camera (and using H.264).  i recall there being some issue with changing the frames-per-second on the fly (at least some time ago, and i don't remember what the issue is) -- there was enough of an issue that i disabled it in my little app while actively publishing.

  • How can i create absolute symbolic links

    The question is simply the Thread Topic,
    I want to create an Absolute Symlink, I have found some Apple Scripts that i think create relative Symlinks.
    I am not that familiar with Terminal, so any recomendations to go that route nned to be fully explained please?
    Thanks
    John

    I have a couple of Partitioned disks on my system and i need to make symbolic links for a number of folders that are on those Partitions.
    I could not get to te partitions via terminal, i now understand i have to use the /Volumes/Folder name in my ln command.
    thx
    John

  • Can adobe air send SMS on ios and android without opening the native sms app?

    Is it possible to programatically create and send an SMS text message on android and ios using adobe AIR? I have had success using navigatetourl to create the sms message, but was curious to know if its something that AIR is capable of or if os-specific native development is required to accomplish this.
    I'm using flash builder 4.6 and AIR 15.

    Im not the best/smartest programmer in the world and I was able to eventually get it down. There are a decent number of tutorials that you can follow to get started on them. I originally followed Lee Brimelow's video tutorials on gotoandlearn.com but the interfaces for Eclipse have changed quite a bit since then and those videos were also done when Native Extensions were only part of a beta version of AIR, but you might still be able to take something away from them. Since I first started getting into Native Extensions, I have built several ANEs for Android including being able to detect phone calls, retrieve metadata for media files without having to have loaded/played them first, and more. The Android Java documentation portal and Stack Overflow will start to become your two best friends.

  • Can Adobe Air 3.1 be deployed via Group Policy?

    I am looking for a definitive answer as to whether or not Adobe Air 3.1 can be deployed via Group Policy?  I've found material on the web that is very contradictory.  Can it be done and if so how?  I can't find any solid instructions on how to deploy this application and need to have it installed on about 60 desktops. 
    We are trying to deploy the Salesforce.com Desktop Chatter application.  Any helpful info is greatly appreciated.
    Thanks!

    Hi Kevin,
    I replied via email yesterday, but in case anyone else is following along here's what I said:
    For GPO deployment, we don't officially "support" it (ie. we don't test for it internally), however I did run across this recent post where an admin had success.
    http://www.appdeploy.com/packages/detail.asp?id=2339
    Hope this helps,
    Chris

  • Can Adobe Air/AS 2.0 or even AS 3.0 pull in Data from forum's?

    I want a login place in my Adobe AIR application. Wondering if I can get login informations from my forums? So each person have to be a member on my forums?

    if your forums have a service endpoint, rss or other xml output then yes of course.
    Flex can also read html, though its better to use a web service.

  • Can Adobe AIR embed OCX

    Currently we have a Web Based Instant Messenger with VOIP
    Functionalities. The VOIP Function is embed with OCX. Now, we would
    like to transform the Web Based IM to be a Desktop Application, so
    can I know anyway I can build an Adobe AIR Application which can be
    embed and Register an OCX file during the installation.
    Thanks

    No, this is not supported.

  • Create filesystem (symbolic) links from java

    I know that symlinks are not platform independent, so I already gave up to find a portable solution. But has anyone found a way to do a "ln" or "ln -s" from pure Java code?

    I would think the answer is no.
    As you are already aware, links are platform dependent.
    For instance, VMS has an ASSIGN command that is similar to the UNIX ln command but differs in quality and duration.

  • Adobe AIR - Created disk image doesn't open

    Hi, I'm trying to create a dmg file and the resulting image file won't open. I'm working on a Mac and it's not the first time that i'm doing this.
    The error message I get when I open the disk image is "Following disk image could not be opened " and the reason "not recognized".
    It's really weird, because it used to work and now for some reason stopped. First I thought it could be, because I compiled against the new SDK 4.0, but then I tested it with older SDKs like 3.5, 3.8 and 3.9 and the problem persists. Older projects which also worked fine are no more building disk images.
    My system was 10.8 and I thought the problem could go away if I install the new Mavericks, but after upgrading the problem is still there.
    Repairing disk and file permissions didn't also help.
    Has anyone some idea what it could be? I'm really at the end of my knowledge.
    Thank you very much,
    Solano

    Ok people, finally found the problem. I'm using FDT and for some reason FDT stopped to append the flag -target native when compiling a native installer. I think that some FDT update introduced this bug.

  • Can't make symbolic links for Documents, Music, Movies, Pictures folders?

    So, on my previous setup, which was also running 10.5 I was able to create symbolic links for my Documents,Music, Movies and Pictures folders so those files could be stored on an 2nd hard drive.
    However, today I'm setting up my new Mac Pro and I try to remove those folders and create the symbolic links and it tells me that permissions are denied.
    Can anyone tell me why this would be different on the Intel Mac than it was on my PowerMac G5? How can I get around it?

    those folders are protected by "deny delete" ACLs to prevent accidental deletion.
    you can remove the ACLs using
    chmod -N ~/Documents ~/Music ~/Movies ~/Pictures
    you'll then be able to delete them.
    Message was edited by: V.K.

  • HELP! Creating symbolic link to home folder for installer DMG

    Guys,
    I'm in a bit of a bind. I need to create a symbolic link for an installer DMG to distribute a communal Bookmarks.plist to all the computers in my department. Unfortunately 'ln -s ~/Library/Safari /Volumes/Bookmarks/.' doesn't do the trick! While it creates an alias that functions on my machine, when that DMG is compiled and distributed from the original sparse image, the alias fails to link to that location on whoever attempts to mount the DMG. Any ideas?? Thanks!

    Symbolic links break when you change the machine on which they were created. Use an standard Mac alias instead as I believe they will work as expected.

Maybe you are looking for

  • I have windows 7 and i get this messagethere is a problem with adobe reader if it is running please

    I have windows 7 and i get this era messwage when i try to open a pdf there is a problem with adobe re ader if it is running please exit and try again. (103:103). Already uninstalled and reenstalled adobe reader

  • Why are my files opening in AME (newb)?

    hi all, i have a host of files with some coming from my PC days and am currently using Aperture to store and create m4v and mov files. right now i have AVI, mpg, mp4, PDF etcetera that i am trying to organize. when i doubleclick on some of these file

  • Repairing permissions frequently - daily

    Can anyone shed light on this puzzle?: I have to repair permissions at least 2 or 3 times every day. I generally run only Mail 2.1.3, Safari 3.1.2, Filemaker Pro 5.5v2, Quickeys 3.2.3, and a small number of always-on gadgets (Sidenote, TypeIt4Me, Ala

  • ADF Question: call javascript function from backing bean?

    Hi all, I am running JDeveloper 10.1.3.3 with ADF BC. Heres my situation: I have a table, and after inserting a new row, then committing, I want to call a javascript function. I tried using the onkeyup javascript to force a click of the save button,

  • Inserting flash into DW MX2004

    When I check my code thru the html validator I recieved the following errors pointing to my embedded flash. Line 287 column 15: there is no attribute "src". <embed src="flash/indexFlash_071206.swf" quality="high" pluginspage=" http:// # Error Line 28