renaming a file and using fields?
Posted: Thu Jul 10, 2008 2:19 pm
Hi There,
I'm a novice here. I installed the trial version of Revolution Studio about four days ago and it has totally consumed me!
I have had moderate success with my test project so far, but I seem to have hit a brick wall with something seemingly simple. Actually three things:
Q1. How do I get the contents of a field to become the new name of a file?
I can get my test program to create a file with a temporary name. I can rename that file with a predetermined new name eg: rename file "/Folder/FileName.mov" to "/Folder/NewFileName.mov"... But I want the User to put their own NewName into a field and then the contents of that field to become the new name of the file. I do not want to use the default Save dialogue - so I am trying to make my own and this is the last piece of the puzzle. I've looked all through the Help resources and can't seem to get it.
Q2. How do I get the Cursor to automatically appear in a Field when a new window (Stack) is opened (and contains that Field)?
Q3. How do I get a List Field to display the contents of a Folder? Clicking the Folder icon in the Field's Property Inspector suggests it will let me select a folder, but it doesn't seem to work that way... or am I missing something?
Many thanks in advance to anyone who is willing to help.
P
I'm a novice here. I installed the trial version of Revolution Studio about four days ago and it has totally consumed me!
I have had moderate success with my test project so far, but I seem to have hit a brick wall with something seemingly simple. Actually three things:
Q1. How do I get the contents of a field to become the new name of a file?
I can get my test program to create a file with a temporary name. I can rename that file with a predetermined new name eg: rename file "/Folder/FileName.mov" to "/Folder/NewFileName.mov"... But I want the User to put their own NewName into a field and then the contents of that field to become the new name of the file. I do not want to use the default Save dialogue - so I am trying to make my own and this is the last piece of the puzzle. I've looked all through the Help resources and can't seem to get it.
Q2. How do I get the Cursor to automatically appear in a Field when a new window (Stack) is opened (and contains that Field)?
Q3. How do I get a List Field to display the contents of a Folder? Clicking the Folder icon in the Field's Property Inspector suggests it will let me select a folder, but it doesn't seem to work that way... or am I missing something?
Many thanks in advance to anyone who is willing to help.
P