Eyes cowering down, Please Sir, how do I change a file name?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
chris25
Posts: 354
Joined: Tue Oct 08, 2013 9:32 pm

Eyes cowering down, Please Sir, how do I change a file name?

Post by chris25 » Mon Nov 18, 2013 3:36 pm

Right, from the beginning. I wanted to change the file name of an app from ResFinderTab, to ResFinder - simple eh, not when LC is in charge apparently :x it hates you!

I began by changing the name in the finder (apple mac) directly, simple it has worked for 12 years so why not work now...well then I saved as a stanalone app, and it had the original file name. Step 1!

So I thought to myself, ok, I will change the stack name through the property inspector to ResFinder from ResFinderTab, I will rename the file from within the LV IDE and start again. Nope That did not work Step 2 and I am a little concerned.

So methinks, being the clever genius that I am thinking I can break LC and force it to submit to a higher authority - I made a back up of ResFinderTab from within LC IDE, renamed the backup as ResFinder, deleted the original offending file, made sure that the word TAB was no where to be found and proceded to standalone and guess what? Yep you've got it, LC says No, I am not in the mood today. Step 4 and I am now arming the nukes with every bit of wisdom I have left, here comes the ultimate in supreme authority. The nuke attack.

So :) I went to the terminal, I purged the memory (not wired mem), I rebooted - I renamed before all this once again, I re-saved under different folder.I nuked everything to oblivion and checked under the beds for ResFinderTab hiding in the shadows, IT WAS GONE. Hee hee, gotchja, went to standalone, saved once again as standalone and Lo and Behold the Bl@#$%^ thing was there right in my face laughing - now I am not prone to violence but I am agitated somewhat above normal levels for this time of the day. If that darn ResFinderTab has not gone by this evening there will be no santa claus in Edinburgh this year.

My agitated regards
chris.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Eyes cowering down, Please Sir, how do I change a file n

Post by Mark » Mon Nov 18, 2013 4:14 pm

Hi Chris,

To change the name of a standalone, you need to change the Standalone name on the General tab of the standalone application settings.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

chris25
Posts: 354
Joined: Tue Oct 08, 2013 9:32 pm

Re: Eyes cowering down, Please Sir, how do I change a file n

Post by chris25 » Mon Nov 18, 2013 5:19 pm

I don't beleeev it, how assumptions get you into trouble, well I just assumed that the standalone automatically recognised the new name of the file being configured, Mmm... :shock:
Thanks Mark

Post Reply