• 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: "exists" not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "exists" not working


  • Subject: Re: "exists" not working
  • From: "Tracy Vanderwerf" <email@hidden>
  • Date: Wed, 03 Apr 2002 11:31:47 -0500
  • Organization: White Directory Publishers

I have finally figured out my problem and do not need assistance on this.

Tracy Vanderwerf wrote:

> I have had no success in ever getting a question of mine answered on
> this list, but will try again. Perhaps my questions are too elementary,
> but I really am at a loss here and still a novice. Is there a "newbie"
> list ?
> I am running AS 9.0.4.
> The code in question works outside of the main script and in Script
> Debugger, but not within the script itself, which has a run handler with
> parameters. The script just stops after the display dialog. The file
> does exist and my variable is set to true if I run this outside of the
> main script. What am I doing wrong?
>
> on run{parameter list}
> process_it(parameters)
>
> other stuff
> end run
>
> on process_it(parameters)
>
> set some variables
>
> if (ADTYPE = "COU" or ADTYPE = "MIS" or ADTYPE = "WTM") then
> set my_expandpath to (filepath & ".sit")
> display dialog "my_expandpath = " & my_expandpath
> tell application "Finder"
> set stuffed_file to (exists (alias my_expandpath))
> end tell
> end if
>
> end process_it
>
> [demime 0.98b removed an attachment of type text/x-vcard which had a name of tvanderwerf.vcf]
> _______________________________________________
> 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.

[demime 0.98b removed an attachment of type text/x-vcard which had a name of tvanderwerf.vcf]
_______________________________________________
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:
    • Re: "exists" not working
      • From: Paul Berkowitz <email@hidden>
References: 
 >"exists" not working (From: "Tracy Vanderwerf" <email@hidden>)

  • Prev by Date: RE: SQL database and applescript?
  • Next by Date: Re: list of lists as arrays
  • Previous by thread: "exists" not working
  • Next by thread: Re: "exists" not working
  • Index(es):
    • Date
    • Thread