TV

Nono Dígito em celulares SP

 
Para ampliar as possibilidades numéricas das linhas celulares na região metropolitana de São Paulo, o dígito 9 será acrescentado à esquerda dos atuais números da área 11. O formato passa a ser: 9xxxx-xxxx.

A data é 29 de julho. Fiquem atentos!

Não se esqueça que quem é de fora de São Paulo mas liga para celulares em São Paulo também precisa fazer essa alteração.

Confira alguns apps para iOS que também podem ajudar com o nono dígito.

tell application "Address Book"
set phoneList to {}
repeat with i from 1 to (count every person)
set phoneProperties to properties of phones of person i
repeat with j from 1 to (count of phoneProperties)
set phone_number to the value of item j of phoneProperties
#if phone_number begins with "015" then
# if (length of phone_number) is equal to 13 then
#set new_phone_number to "(0" & (text 4 thru 5 of phone_number) & ") " & (text 6 thru 9 of phone_number) & "-" & (text 10 thru 13 of phone_number)
if phone_number begins with "(021) " then
if (length of phone_number) is equal to (length of "(021) 1234-5678") then
set new_phone_number to "015" & (text 3 thru 4 of phone_number) & (text 7 thru 10 of phone_number) & (text 12 thru 15 of phone_number)
set phoneList to phoneList & new_phone_number
#set value of item j of phones of person i to new_phone_number
end if
end if
end repeat
end repeat
save
end tell
set outputFileName to choose file name with prompt "Save phone list:" default name "addressbook-phonelist.txt"
set outputFile to open for access outputFileName with write permission
repeat with p in phoneList
write p & (ASCII character 10) to outputFile
end repeat
close access outputFile

Gustavo Faria

de um tempo em que a UFRJ formava não cientistas da computação, mas bacharéis em informática e acompanhe as Dicas do Coca.
Botão Voltar ao topo