• 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: A script to create another script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A script to create another script


  • Subject: Re: A script to create another script
  • From: John Delacour <email@hidden>
  • Date: Tue, 17 Jun 2003 23:49:23 +0100
  • Mac-eudora-version: 6.0a21

At 5:12 pm -0500 17/6/03, Joseph Weaks wrote:

On Tuesday, June 17, 2003, at 02:20 PM, John Delacour wrote:
You son't need to deal with strings at all, just with a script object:

Using a script object is what I was looking for. This script works great now, except that when I later go and open the script that was saved onto the hard drive, the two initial properties are still valued at {}, ie. empty.

Ah, but that's not the value of the properties unless you make the fatal error of editing, compiling and saving the script once you have opened it; then the properties will indeed be reset to the written values. The values of properties are not reflected in the script text, so you can set them initially to whatever you want -- with certain provisos.

JD




.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Script to save and restore a session in TextEdit
      • From: Joseph Weaks <email@hidden>
References: 
 >Re: A script to create another script (From: Joseph Weaks <email@hidden>)

  • Prev by Date: Re: A script to create another script
  • Next by Date: Re: Resurgence in AppleScript interest
  • Previous by thread: Re: A script to create another script
  • Next by thread: Script to save and restore a session in TextEdit
  • Index(es):
    • Date
    • Thread