[Q] Strange Drag & Drop from my app to FCP project window
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:X-Mailer; b=eA/+Gio1LnttLxv8sm/ka7IQkOaa164wkj+qSu40HMB5ELxEKRaoku3t+1TEEWc2tKNsMs6+vspcVsh28gL9T/nhO+9ssTqFsJNLYEuIPc8SDlzAcXkTP21iFQ5W0dqSJcmPQhGicwlifD0h++4sF+0MwxakZOxRKfFT8spPxqM= ; Hello, all In my code, I put the extensions for mov and image files. The code is like : Thank you. _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... I wrote lines of codes for Drag&Drop from an NSTableView of my program to the FCP. What is strange is that file extension for dragged image file is shown on the FCP's project window, while that of dragged mov file is not. If the same image file is dragged and dropped from the Finder, it doesn't show the file extension. isStillImage = [[mClipArray objectAtIndex:indexInClipsArray] alpha_id]; if( isStillImage ) { NSString *fileNameInStillImageFolder; NSString *currentFileName; NSRange rangeForFileName; currentFileName = [[mClipArray objectAtIndex:indexInClipsArray] longName]; while( fileNameInStillImageFolder = [dirEnum nextObject] ) { rangeForFileName = [fileNameInStillImageFolder rangeOfString:currentFileName]; if( rangeForFileName.location != NSNotFound ) { // Found it!!!! fileName = [NSString stringWithFormat:@"%@%@/Stills/%@", fileNamePrefix, configPath, [fileNameInStillImageFolder lastPathComponent]]; break; } } } else { fileName = [NSString stringWithFormat:@"%@%@/MOV/%@.mov", fileNamePrefix, configPath, [[mClipArray objectAtIndex:indexInClipsArray] longName]]; } if( fileName ) [fileNamesArray addObject:fileName]; I also used DragPeeker X for debugging D&D. However, it doesn't reveal any differences. So, how to make the extension not displayed on the FCP's project window? This email sent to site_archiver@lists.apple.com
participants (1)
-
JongAm Park