• 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: Delete without Dialog in OS X?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delete without Dialog in OS X?


  • Subject: Re: Delete without Dialog in OS X?
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 29 May 2002 07:40:56 -0700

If it's a Classic applet, you can still use Classic osaxen, you know. So you
can use Jon's deleteFile or Akua's collate with deletion or collate with the
trasher.

There is only one Finder, I think, so even your Classic applet is probably
speaking to the OS X Finder, not the Classic one. Is the dialog an OS X
dialog? Whose dialog is asking if you really want to delete? That doesn't
happen with OS X applets or scripts, AFAIK, so I'm puzzled as to why it
would insist in a Classic applet. Or is this maybe an FMP-deletion and
FMP-dialog? Whose dialog is it?

--
Paul Berkowitz

> From: bryan <email@hidden>
> Reply-To: email@hidden
> Date: Wed, 29 May 2002 08:34:08 -0400
> To: AppleScript Users List <email@hidden>
> Subject: Delete without Dialog in OS X?
>
> My first Classic environment applet is an emigration of a 9.2 applet.
>
> I have a wonderful script that does everything that is asked in finding,
> reading and parsing data, writing it to a FileMaker DB and starting to
> delete the original file; all in a Classic on X applet.
>
> Problem is, I can't get the OS to do the deletion without a stupid dialog
> popping up to ask me if I "really want to delete the file immediately."
>
> Of course I do, I wrote the code!
> What can I do to turn off OS X's condescending mode?
> or at least allow the script to answer the dialog?
>
> This worked perfectly in 9.2, I'm getting the the feeling that I have to
> step pretty far backward to get OS X to work. Has anybody else?
>
> Anybody have any work-arounds or solutions?
>
> Bryan Kaufman
>
> [demime 0.98b removed an attachment of type text/x-vcard which had a name of
> bryan.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.
_______________________________________________
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.

References: 
 >Delete without Dialog in OS X? (From: bryan <email@hidden>)

  • Prev by Date: Re: \n appended
  • Next by Date: Re: Entourage X Duplicate Email Remover?
  • Previous by thread: Delete without Dialog in OS X?
  • Next by thread: Checking whether a website has loaded completely
  • Index(es):
    • Date
    • Thread