I am making an Automator application and I need to replace some text based on certain criteria. I am wondering if there is an Automator action to perform a regular expression text replacement.
If not, I always have the ability to run AppleScript, which can do this, but I really don't know how to write AppleScript code.
Thank!
Since I posted this question, I realized that using PHP code in Automator scripts. This is a great way to do all kinds of things (although it's a bit weird how you can write or delete files this way).
Automator, "Run Shell Script". stdin , sed, awk, perl, ruby .
sed
awk
perl
ruby
" TextEdit" Automated Workflows.
, , . , , .
, , . Automator, , .
, , AppleScript, Smile. Satimage AppleScript. .
, , Automator, AppleScript, , , Automation Automation .
Source: https://habr.com/ru/post/1777270/More articles:Perl program to simulate restriction enzymes using links, hash tables and subtypes - referenceHow to select no more than N records for a given column value in a table? - sqlThe fastest way to display a pixel raster on iOS devices - iosAvoiding the Impact of a NullReferenceException When Using LINQ to XML - c #Connecting to a remote MySQL server from Delphi through SSL - mysqlHow to calculate the size of an object in memory using Silverlight? - silverlightVerify string does NOT contain a value other than the known values โโ[VB.NET] - stringHow to use groovy inside an Eclipse RCP project? - groovyC # protected keyword related issue - c #ะัะถะตะฝ ัะผัะปััะพั OpenGL ES 2.0 - opengl-esAll Articles