Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

299
Views
Símbolo hash de AppleScript (#) en URL

Tengo este Automator AppleScript para traducir textos. Funciona, pero sólo con una palabra. Si selecciono dos palabras o más para traducir, cambia el hash (#) en la URL a %23, así

https://www.deepl.com/translator%23pt/en/

y obtengo un 404 No encontrado.

 on run {input, parameters} open location "https://www.deepl.com/translator#pt/en/" & input end run
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Yo usaría ' Listado 32-7 AppleScriptObjC: Manejador que URL codifica texto' de Codificación y decodificación de texto .

Ejemplo de código AppleScript :

 use framework "Foundation" use scripting additions on run {input, parameters} open location "https://www.deepl.com/translator#pt/en/" & encodeText(input as string) end run on encodeText(theText) set theString to stringWithString_(theText) of NSString of current application set theEncoding to NSUTF8StringEncoding of current application set theAdjustedString to stringByAddingPercentEscapesUsingEncoding_(theEncoding) of theString return (theAdjustedString as string) end encodeText
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!