• 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
Script in Panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script in Panther


  • Subject: Script in Panther
  • From: Marcus Rodrigues <email@hidden>
  • Date: Wed, 15 Oct 2003 17:17:04 -0200

I have this script wich runs nice in Jaguar, but the "open location"
part does not work in Panther...

Does anyone know why???

Here is the script:

tell application "Finder"
activate
display dialog "Este script vai deletar permanentemente seu arquivo.
Esteja certo do que deseja fazer!!!" buttons {"Continuar", "Cancel"}
default button 1
set arquivoDeletar to (choose file with prompt "Escolha o arquivo que
n o deleta:") as alias
set arquivo to quoted form of POSIX path of arquivoDeletar

do shell script ("rm " & arquivo)
display dialog "O arquivo " & arquivo & " foi deletado com sucesso!" &
return & "AppleScript cortesia do Marcus :-)" buttons
{"Fantstico!!!", "Contatar o autor"} default button 1
if button returned of result is "Contatar o autor" then
open location "mailto:email@hidden?subject=A respeito do
script Force Delete"
end if
end tell



p Marcus Rodrigues p
iBook 600 - Combo - Jaguar
Cnsul do Brasil Apple Clube - Caxias do Sul
Moderador BAC-Macusers
ichat: marcusrodrigues
mailto:email@hidden
http://homepage.mac.com/marcusrodrigues
_______________________________________________
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: Script in Panther
      • From: Walter Ian Kaye <email@hidden>
  • Prev by Date: Re: open file for overwriting
  • Next by Date: Re: Script in Panther
  • Previous by thread: Re: Identifying a remote disk
  • Next by thread: Re: Script in Panther
  • Index(es):
    • Date
    • Thread