• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Rename a variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rename a variable


  • Subject: Re: Rename a variable
  • From: KOENIG Yvan <email@hidden>
  • Date: Tue, 14 Nov 2006 16:12:50 +0100


Le 14 nov. 06 à 15:48:53, Fleisher, Ken a écrit :

Hi. I'm trying to rename a variable from "interleavechannels" to
interleaveChannels" (change the c to a C), but whenever I recompile it
reverts back to the lowercase version. I remember something about this from
years ago, but I can't remember how to trick Script Editor into letting me
make the change and I can't find a reference in the archives.


It's important to make this change because it's not actually a variable, but
a property in Photoshop's tiff save options and I don't think it is
recognizing it correctly with the lower case c.


Does anyone have any ideas about this?

Thanks in advance...

Ken Fleisher

Hello

I'm not sure that you are on the good track but, to do what you asked for I uses this protocol:

-- select all
-- copy to the clipboard
-- quit the Script Editor [really Quit (cmd Q) not leave it]
-- paste in a TextEdit new document.
-- use Searh/Replace to set the wanted spelling
- select all
-- copy to clipboard
-- restart the Script Editor
-- paste in it
-- Compile.

Except when (doing an error) I am using a reserved word, the new spelling is kept.

Yvan KOENIG _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Rename a variable
      • From: "Fleisher, Ken" <email@hidden>
References: 
 >Rename a variable (From: "Fleisher, Ken" <email@hidden>)

  • Prev by Date: Re: Rename a variable
  • Next by Date: Re: Rename a variable
  • Previous by thread: Re: Rename a variable
  • Next by thread: Re: Rename a variable
  • Index(es):
    • Date
    • Thread