Moderatore: ModiMaccanici
Codice: Seleziona tutto
set myIP to IPv4 address of (get system info)
tell application "Mail"
set newMessage to make new outgoing message with properties {subject:"IP address", content:myIP}
tell newMessage
set visible to true
activate
end tell
end tell
Codice: Seleziona tutto
set myIP to do shell script "curl echoip.com"
tell application "Mail"
set newMessage to make new outgoing message with properties {subject:"IP address", content:myIP}
tell newMessage
set visible to true
activate
end tell
end tell
Visitano il forum: Nessuno e 1 ospite