save window 1 in file ResultFile as string with creator «class TBB6» with unstyled formatting
Various script steps preceding defining variables
————
(*Process the file for InDesign*)
tell application "Tex-Edit Plus"
activate
open file SourceFile
save window 1 in file ResultFile as string with creator «class TBB6» with unstyled formatting
close window 1 saving no
end tell
tell application "Finder"
activate
end tell
tell application "System Events"
set default application of file "/Users/fletcher/Desktop/myfile.txt" to file "Smog:System:Applications:TextEdit.app:"
end tell
tell application "System Events"
set creator type of file "/Users/fletcher/Desktop/myfile.txt.txt" to «class TBB6»
end tell
--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/3ce0d94f-6111-47d2-ba8c-b7cafff0cd51n%40googlegroups.com.
(*Process the file for InDesign*)
tell application "Tex-Edit Plus"
activate
open file SourceFile
save window 1 in file ResultFile as string with creator «class TBB6» with unstyled formatting
close window 1 saving no
end tell
tell application "Finder"
activate
end tell(*Process the file for InDesign*)
tell application "Tex-Edit Plus"
activate
open file SourceFile
save window 1 in file ResultFile as string with creator «class TBB6» with unstyled formatting
close window 1 saving no
end tell
tell application "Finder"
activate
end tell
(*Process the file for InDesign*)
tell application "BBEdit"
activate
open file SourceFile
save text document 1 to file ResultFile
close window 1
end tell
tell application "Finder"
activate
end
What is the switch I need to get in there that resolves the raw text to the Tex-Edit processed one ?
Thank you if you got this far
Kind Regards
Eric
save window 1 in file ResultFile as string with creator «class TBB6» with unstyled formatting
--- You received this message because you are subscribed to a topic in the Google Groups "BBEdit Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bbedit/hzZWFDppL-8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/64DF0B7B.6040008%40rickgordon.com.