Script in Panther
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
no 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.