I'm going to be migrating from Tex-Edit to BBEdit -- long overdue -- but 
need some help rewriting some AppleScripts so they'll do the same thing in 
BBEdit. 

Could someone please help me here? How would this script, for instance, 
need to be written for BBEdit?

-----

tell application "Tex-Edit Plus"
activate
open file "HD:Users:wama:Desktop:file.txt"
set insertion point before contents of window 1 to 
"sku,product-id,product-id-type,Price,item-condition,Quantity,add-delete,will-ship-internationally,expedited-shipping,standard-plus,item-note
"
replace window 1 looking for "\"" replacing with ""
replace window 1 looking for "," replacing with "^t"
replace window 1 looking for "
" replacing with "
"
save window 1 with creator «class TBB6»
quit saving ask
end tell

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/80c71618-12d2-4d54-951e-de0ead6fcb8e%40googlegroups.com.

Reply via email to