No too sure of this is the way to do it but I think that MAC OS is UNIX based, and if so this is out of Maya 6 the complete ref.
save it as a .txt file then you change the permissions so out of the book
"open a shell then use the cd command to navigate to the location then type the following
chmod a=rwx filename.txt
(where filename is the name of the text file)
press enter (return) then to begin rendering type
./filename.txt
As I say I dont know if this is the correct way to do it for a mac but it might make more sense to a mac user as some of the commands might be commonplace in your OS vocab, and hence make sense.
I still use chmod 755 or 644 or similar for ownerships (depending on what you want to do) even though it might be the 'old' way
You can do it all from your current location as well, I think its a bourne shell variant on the mac so auto tab completion should work. If you go to a terminal and type the first couple of letters of the directories that it is in and then presse the tab then it should give you the path (or if there are many with the same starting name it will cycle through them with each tab press).
once you get into the directory with the file just add the ./filename to the end and if the permissions are set correct it will execute it.
e.g,
In command terminal:
/home/simon/scripts/./filename
obviously replace with your own details
not that beneficial here but just a different way of executing a script without having to move into its location
You may not post new threads |
You may not post replies |
You may not post attachments |
You may not edit your posts |
BB code is On |
Smilies are On |
[IMG] code is On |
HTML code is Off