September 30, 201213 yr Hi, I need some help, please. I made a stupid mistake. I built an export script to push a .cvs file to my desktop file folder "RoyaltyReports". And when I selected the file folder in the pop up window and then selected my .cvs file ( once ) I could see that the the "KIND" was "Comma - Separated Value" I had my Numbers Application opened and I could drag this file over the Number sheet and release the file over the Row/Column I wanted and the comma-separated data would fill in each column perfectly. Then I did something stupid, not realizing it until it was too late. I changed the default application of the .cvs export file from "Other" to open with "Number" in the "Get Info" window thinking it would open directly into numbers as if I had dragged and dropped the file onto the spread sheet like before. But Nope! And I also select to open "ALL" similar files. I was stupid. Now all my export files open with the "Number" as the "KIND" in my file window and I can no long get the comma-separate data any more. What happens when I drag and drop the file, is that the "FileName.cvx" now populates the field I dropped the file into, not the all the data in the comma separated file I would get before. Help... Is there anyway to get back the old default "KIND" of "Comma-Separate Value" when I export my .cvs file I tried rewriting the export script, changing the file name but no luck. The system seems to notice that this file is similar and assigns the "Number" application to open it or changes the .cvs extension something happens I can not fix/change. I don't now. I can create an export script an manually creating a filename and selecting the folder and the file maintains it "KIND" of Comma-Separated Value". But my script even re-writing it completing, still gets the "Numbers designation on export? Any help would be grateful. Choose ( Abs ( Get ( SystemPlatform ) ) -1 ; /*MAC OS X*/ "filemac:" & Get ( DesktopPath ) & Project One to Preference One::Pref Desktop Folder Name & "/NonUAE" & Right ( Projects::Project Export File Year ; 2 ) & ".cvs" ; /*WINDOWS*/ "filewin:"& Get ( DesktopPath ) & Project One to Preference One::Pref Desktop Folder Name & "/NonUAE" & Right ( Projects::Project Export File Year ; 2 ) & ".cvs" )
September 30, 201213 yr Author Bruce, Yikes!!! Is all I can say. Works now! Hahahaha :-) Unbelievable. Thank you so much :-) I was completely baffled by this. Tom :-)
Create an account or sign in to comment