We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
OSX trying to be clever (Read 601 times)
OSX trying to be clever
May 14th, 2006, 6:03pm
 
Whenever I port some code from PC to OSX the Macintosh computer in question does this annoying habit of picking random files and capitalising them. This renders them invisible to Processing because I'm guessing of the whole Java case sensitive thing.

The solution of course is to go to the sketch folder and undo the "cleverness" of OSX and reload. Everything is back.

It would be nice for Processing to be smart about this issue. It would save our 1st year digital students a lot of head-scratching and unnecessary time copying and pasting code from TextEdit.
Re: OSX trying to be clever
Reply #1 - May 14th, 2006, 8:12pm
 
well .. not to start os-fights here, but actually it's WIN that hides the uppercase-names from you and os-x just shows you the real deal. Smiley

try:
r-name

let's you do magic on all kind of file-names .. even WIN ones.

F
Re: OSX trying to be clever
Reply #2 - May 15th, 2006, 2:24am
 
that sounds more like a setting in your ftp client or whatever you're trying to use to transfer the files.

if you try to do loadImage("blah.JPG") in the editor, and the file is called "blah.jpg", you should get an error telling you to rename the file.
Page Index Toggle Pages: 1