Drop file in mx:application

hi,
I 'm trying to drag & drop one file in the
mx:Application (not mx:WindowedApplication)
is it possible to find the same event that NativeDragEvent
in mx:Application ?
Thanks in advance,

I'm just starting an app and am curious about this as well.
The only way to select files is through the file select dialog
called from FileReference.browse()? Cheers for any response to
this.
-t

Similar Messages

  • Can't drag and drop files onto Applications in Dock since upgrading to 10.6

    Ever since my wife upgraded her iMac (2 GHz, 2 gigs) to 10.6, she can no longer drag and drop files onto certain applications in her dock to open the file. She has to go into the application and go to "open file" or whatever.
    For example, if she has a Word doc on her desktop, she cannot drag it onto the Word icon in her dock.
    Any advice?

    You have many issues with your and your wife's machine(s). Everything you've posted works here. Reinstall Snow Leopard, repair permissions, and see if that fixes things.

  • Drag and drop file into Outlook from AIR application

    I am hoping to see if this would be possible with the Adobe AIR API. We currently have a desktop AIR application that clients install in order to facilitate certain operations triggered via a web application (such as opening files directly from the web).
    One of the actions we are requested to support is the ability to drag and drop files from our web application directly into Outlook and have the file added as an attachment. I saw the documentation at Adobe Flash Platform * Dropping file promises and was wondering if this might be a possibility, or if there was some other method of performing this.
    We are trying to get around the fact that users now have to download a document to their desktop before being able to attach in Outlook.
    Thanks for any assistance.

    You just aren't calling the right NativeDragManager functions. See http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7d83.html

  • Unable to double-click or drag/drop files to open.

    I'm running Photoshop CC 64 on a Windows 7 64 machine and am only able to open files in Photoshop by going to File->Open. Double-clicking from Explorer doesn't work and i can not drag/drop files into the open application window or taskbar icon. Right clicking on files and selecting "Open with" also doesn't work.
    I checked file associations and made sure to choose CC 64. If I right click on the shortcut and choose "Run As Administrator" which I have to do in order to get files to open between Lightroom and Photoshop (both need to be Run As Administrator), I'm still unable to open from Windows Explorer. However, if I check the box to "Run this program as administrator" in the shortcut's Compatibility tab, I can double-click to open from Explorer but am prompted with a UAC warning every time. Dragging/dropping into the open app still doesn't work.
    Opening between Bridge and PS works as expected so long as both programs are "Run As Administrator"
    Been searching the forums here and seen suggestions of similar but not the same issue, at least not that I've found.
    Anyone else experiencing? Suggested remedies?

    This is an OS permission problem.  Make sure you have ownership of the HD.  Do a web search on how to check.  External HD can be a problem for permission.

  • Not able to open XML file in the application server..........

    Hi,
    I have downloaded a XML file to the application server.....
    File is created but i am not able to open the file there....
    Plz advice ....how to open it.....
    Regards.

    Use Notepad. Drag and drop in notepad.
    Aman

  • Drop file in finder

    I am developing a Java application for Macintosh.
    I have successfully implemented (via handleOpenFile and pList) that a double click on the relevant file type will open the application which then reads the file.
    I would also like to be able to open and read the file by simply dropping it on the application icon.
    I have searched a lot of the documentation but havenät found anything on this issue.
    Please help!

    You need to restart the computer AND the application in order that the Finder be aware of pList options.

  • Drag and Drop files from other places to universal apps(windows store)

    Hi,
    Is there a possiblity to drag and drop a file from windows desktop or from other windows store app to my application. I tried searching samples, but it says about dragging an image with in the solution.
    The best example is drag and drop files into recycle bin. Is there a way possible for modern app(instead of recycle bin), or give an user similar experince as the same.
    If not windows8/windows8.1,could we expect in windows 10.
    I believe if it is not possible with XAML/c#, the same holds good for HTML5/JS
    Thanks & Regards Tejaswi Chandrapatla

    No. This is not supported.
    We cannot comment on upcoming versions.

  • Cannot drag and drop files in Finder on Yosemite 10.10

    This is basically exactly as it sounds. I just discovered that I can't drag and drop files in the Finder anymore for some reason. I've restarted 3 or 4 times since upgrading, and I've reset the SMC and PRAM already. Because of this, I can't update an application I'd like to. Copying the application does not work either; the paste option is greyed out  It's not just applications; click-and-drag and three-finger drag simply don't drag the file. It is not happening invisibly either; going through the motions and dropping the file on Applications yields no result.
    I searched the Web for this but didn't find anything similar for Yosemite. If anyone has a suggestion or the same problem, I would love to hear it.

    For two days I tried everything I could to get the drag and drop to start working again in Yosemite on my MacBook Pro Retina. I even re-installed the OS via Disk Recovery. I wound up at the Apple Store where they couldn’t find the bug either, but we did the following and I am back up and running. There is a bit of a downside, so please read all the way through.
    I have no idea if this will help you, but if you log in under a GUEST account and this drag and drop issue is NOT there - then try this. For whatever reason this bug was localized to just my single user settings Library. The GUEST account could drag and drop fine. Weird. Anyway, here’s what we did at the Apple Store that has kept me up and running….
    Create a new user
    Logout (deactivates the busted user library) and then login as that new user.
    Enable Root User (superuser) while logged in under this new user. YouTube has some 1min. videos on how to do this.
    Navigate to the Library (which is usually invisible) listed under your original admin user account.
    Rename this folder. I just added ORIGINAL to it.
    Also, create an alias for this folder and leave it there.
    Go turn off Root User and log out.
    Now, when you log back in under your usual User Acct. the system can’t find the Library system folder (because you renamed it) so it creates a fresh one. This new Library folder will still be invisible to you, but should work.
    This fixed my drag and drop problem.
    What this does though is kill all of your plists, saved website passwords, bookmarks, application settings, etc. for everything. I mean everything. Which kind of stinks.
    This is why we created the alias in Step 05, click on it and you can open your ORIGINAL Library folder and drag out the files as you need them. I guess one day I'll drag over the one setting that borked my machine, but I haven't found it yet.
    This is certainly not ideal and may not even be the best solution. But it got me up and running with no loss of files, just slows me down as I have to re-populate all my log-ins, etc.
    Hopefully someone will come up with a better fix or patch.
    Hope this helps.

  • Drag and Drop files to upload snag

    I am developing a Director projector application that uploads
    a users local files to a server via an FTP Xtra. I would like to
    have an icon on the desktop that the user can drag-and-drop files
    onto and the application automatically uploads the files. I have
    created a folder on the desktop and an application that poll it for
    content to initiate the upload but the problem with this is that
    the user, by dragging files to the folder, will unknowingly move
    the files to "upload folder" and they will be removed from their
    original locations. This is obviously not what anyone desires. I
    would like to have the drag-and-drop trigger the upload from the
    file's current location.
    One solution that I have implemented is using the "Drag &
    Drop Xtra", from Meliora Software, and created a MIAW that looks
    like a desktop folder icon. The problem with this is that the icon
    is present only when the application is running and I can not keep
    it pinned down to the desktop. When it is clicked-on it will come
    to the front, like any other application. Is there a way to keep a
    MIAW pinned down?
    Another POSSIBLE approach would be to place a shortcut to the
    application on the desktop and when a file is dropped on it,
    capture the file path and pass that along to the Director
    application on startup. Is this possible? Is there an Xtra to do
    this or does Director have this capability built in?
    Ideally, we would like to have a folder on the desktop that
    only allows copy-and-paste functionality to itself but that would
    be an OS issue and out of the control of Director. Have any of you
    created such an app? Any ideas are welcomed.
    Thanks in advance.

    > Another POSSIBLE approach would be to place a shortcut
    to
    > the application on the desktop and when a file is
    dropped on it,
    > capture the file path and pass that along to the
    Director
    > application on startup. Is this possible? Is there an
    Xtra to do
    > this or does Director have this capability built in?
    this approach won't work because every time a file is dropped
    on the icon a new instance of the projector will run.
    To achieve that you need:
    1) A Director version prior to MX 2004, Director MX would be
    fine.
    2) Remove the projector's button from the task bar when it
    starts with our Window Xtra:
    wndRemoveFromTaskbar(true)
    3) Move the projector's window to the background with our
    Window Xtra:
    WndSetDepth(wndGetMain(),"back")
    4) Apply a 1-bit alpha mask to change the projector's shape
    to make it looking like an icon, again, with our Window Xtra:
    wndTransInit(member "1BitMask",false,false)
    5) Leave all the Drag&Drop Xtra code for drop as is.
    That's it, it seems MIAW isn't required.

  • Drag and drop Files to native disk lazily

    I need help on how to copy, through DnD, a file/attachment from an email application (http://columba.sf.net) to the native operating system. Theres no problem to drag and drop files that already resides on the file system, this Ive done without any problem.
    The problem is that the attachment lies within the email, and it needs to be extracted before it can be copied to the correct location. For performance reasons I dont want to extract all attachments to the disk when the user opens an email with attachments. Neither do I want to extract the attachment during the user's DnD operation. I would like to make the copy/extraction when the DnD has been completed.
    As Ive understood is that when I want to DnD a file to the desktop, I must have a Transferable that supports the DataFlavor javaFileListFlavor. This will return a List of Files by the getTransferData() method. But the problem is that the Files must exists on the diskdrive before it the DnD starts, ie before the getTransferData() method is called.
    This I cannot do, since I the getTransferData() method is called multiple times during the DnD action, and I dont want to extract the attachment until the DnD is complete. (performance issues)
    My first idea was to create an empty dummy file on the disk, and use this as the source File to be dragged around. Then when the DnD is completed, I would extract the attachment from the email and make the copy manually. Doing it this way, Im sure that
    * theres no unecessary extraction,
    * the user doesnt have to wait until he has choosen where to put the file
    * the extraction is done according to the API for the email client.
    But as it seems now, theres no way of knowing the location of the drop target from the TransferHandler or the DataFlavor. And if I dont know the location of the drop, I cannot make the manual copy.
    Do anyone know of a solution or workaround, using the new or old DnD implementation?
    ANy help is appreaciated!

    Hi RedSolo! I've been working with the exact same problem for quite some time. I think your "workaround" in the frappucino module seems to be the best way to solve this problem. I have almost the same solution in my project. What I would like to do is to present a progressbar during the time it takes to wait for the "create files thread" to finish. But I haven't found a solution since I'm blocking the event thread. Do you have any tips or ideas how to solve this?
    Thankful for any ideas!!

  • Drag and Drop Files Onto EXE Icon

    I was wondering if there is a way to have the user drag and drop files onto the .exe icon and this would initiate the program to do something with those files automatically?
    For example: Some PDF convertor programs allow you to drag and drop documents, images, etc. directly onto the PDF convertor icon on your desktop and it will automatically convert them all to PDF's, without the user even having to open the program.
    Can this same type of functionality be done with a Labview EXE file?
    Solved!
    Go to Solution.

    Thank you! That did it.
    The only side note that I would include to others that are trying this is to make sure you have the "Pass All Command Line Arguments to Application" box checked in the "Advanced" section when you build the executable.

  • How to Ask to Rename a Dropped File?

    Hello,
         How would I create an AppleScript that asks me to rename any dropped files? I know something like this can be done in Automator, but I'd like to be able to manually input a name.
    I'm looking to do this to increase my ScanSnap workflow efficiency. After scanning a PDF, it is OCR'd and saved into the Preview iCloud Library as "Preview PDF xxx", where "xxx" is sequential numbering. It's really annoying to open up Preview every time I'm done scanning and renaming ten different files. I'd just like to be able to drop/open the files onto/into an AppleScript, have it ask me what I'd like to rename it.
    Thanks,
    Josh

    Try:
    on open of theFiles
        repeat with aFile in theFiles
            tell application "System Events" to set {name:fileName, name extension:nameExtension} to aFile
            set baseName to text 1 thru ((get offset of "." & nameExtension in fileName) - 1) of fileName
            display dialog "Rename file: " & baseName buttons {"Cancel", "OK"} default answer baseName default button "OK"
            tell application "System Events" to set aFile's name to (text returned of the result) & "." & nameExtension
        end repeat
    end open

  • Error creating AIR file: 105:ERROR, application.installFolder

    I renamed my project and can not create release build.
    would be nice to what I did that broke it.
    here is the Error message during the Export Release Build:
    Error creating AIR file: 105: ERROR,
    application.installFolder
    also, when I close flex builder then try to reopen it, my
    default workspace is busy..
    oops.. I had messed with the default install folder and had
    dropped in a C:\Program Files\... which it should only be a sub as
    air defaults already to C:\Program Files\<filename> or on mac
    \Applications\<filename>.app
    <installFolder>subfolder/subsubfolder</installFolder>

    It's not uncommong while editing your app.xml file... that one can leave stray < or >. Check to make sure the file is valid and that any included references (like icons) aren't missing or in the wrong location.
    Rick Winscot

  • Adobe reader waits about 5 mins and still fail to accept pdef drop from 3rd party applications

    The Adobe Reader Version 7.0 on Linux SLED 10, waits about 5 mins and still fail to accept the drop of pdf file from another application.
    The drag source create a tmp file in the /tmp directory and drag target type is text_uri_list. with XDND as protocols.
    Would it be possible to find out what is required to accept drop for the Adobe Reader ? and why does it takes about 5 mins to return drag fininsh events ?
    Thanks

    Hello,
    Unfortunately, the 7.0 Reader doesn't accept drag-drop on the application window. However Reader 7.0.8 (and the upcoming Reader 8.1) does.
    Regards,
    Neha

  • Drag and drop file list to MS PowerPoint

    Hi there !
    I've implemented a Transferable that supports drag and drop of multiple files from java application to natives. I took a DataFlavor.javaFileListFlavor and my getTransferData() method returns a Vector of File. My most important files are images in different formats.
    This runs very well for most of the MS applications like Word, WordPad, Internet Explorer, File Explorer, Paint Shop Pro, .... These application import all my transferred files and show their image(s).
    But I didn't reach for doing this with PowerPoint. On dropping to PowerPoint a message appears: "PowerPoint cannot open files of type <MyFile>."
    If I drag and drop my files to the file explorer and then from there to PowerPoint it works as well as if I take the files my Transferable wrote to a temporary directory.
    What's wrong ? What's the difference between PowerPoint and most other applications ? And What can I do to transfer my files to PowerPoint ?

    Look up javax.swing.TransferHandler, java.awt.datatransfer.DataFlavor, and DataFlavor.javaFileListFlavor.

Maybe you are looking for

  • Customer Interface vs HZ API

    Gurus, I need your help in Customer Conversion (R12). I tested the Customer Open Interface (ra_customers_interface, ra_customer_profiles_interface, ra_contact_phones_interface). Everything goes through fine into HZ Tables. But I want some more Custom

  • Creation of new program with reference to IW31Transaction

    Hello Experts, I have a unique requierement where I need to create a zprogram which is similar to create plant Maintenance Order Tcode IW31. My requirement is in my new zprogram I just need one screen with the header data which includes order type, F

  • I accdently formated my shuffle and now it wont work what do i do?

    I accdently formated my shuffle and now it wont work what do i do? That and when I plug the shuffle in to the comp iTunes doesn't reconize that the shuffle is pluged in. it has updated a-few times. and when iTunes sees that the shuffle is in the comp

  • Reg: Vendor Evaluation - Criteria "Delivery"

    Hi Gurus, I am in process of vendor evaluation in system. Confguration is maintained and I am opting for Automatic vendor evaluation and our interest is in Price and delivery. When I am doing Vendor evaluation in ME61, I am getting the automatic valu

  • Why do I have multiple files?

    I have 2 of each of these files:  iTunes preferences, iTunes library extras, iTunes library genius, iTunes library, iTunes Music library, sentinel and I have 2 folders that are named album artwork. I tried to delete one of each but then everything go