• 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: script editor wants to save an unchanged script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script editor wants to save an unchanged script


  • Subject: Re: script editor wants to save an unchanged script
  • From: Andy Wylie <email@hidden>
  • Date: Wed, 21 Nov 2001 23:09:46 +1300

on 21/11/01 8:12 PM, Donald S. Hall at email@hidden wrote:

> Hi again,
>
> Can anyone tell why, after running the script below in the Script Editor, I
> am always asked if I want to save the changes to the script even though I
> have not made any changes?
I believe Script Editor writes the window position into the script's
resource.
>
>I thought it might be changing the tids (I want the result to be a comma
>separated text list at the end of the script.), but this doesn't seem to be the
>case.
I think you'll get the same result running any script
>
> --begin script -------------------
> set {AppleScript's text item delimiters, oldTIDs} to {",", AppleScript's
> text item delimiters}
> tell application "Finder"
> set proclist to name of every process whose visible is true
> end tell
> set proclist to proclist as text
> set AppleScript's text item delimiters to oldTIDs
> proclist
> --end script ---------------------
>
whenever I see 'every process whose visible is true' I wonder if it's meant
to filter background apps so I think it's worth mentioning that as we have
the ability to make processes invisible and many use software to do such.

'name of application file of every process'

or
'name of every process whose file type is "APPL"'

will be more reliable
___________________________ Andy


References: 
 >script editor wants to save an unchanged script (From: "Donald S. Hall" <email@hidden>)

  • Prev by Date: Re: NetScape
  • Next by Date: help with workflow-scripiting
  • Previous by thread: script editor wants to save an unchanged script
  • Next by thread: Re: script editor wants to save an unchanged script
  • Index(es):
    • Date
    • Thread