Extra Suites offer 70 new commands for AppleScripters using OS X
Extra Suites is a background scripting application which contains over 70 commands for AppleScripters using OSX. Commands include:
Move and click mouse
Autotype text (type key using command, etc)
System info, computer info, screen info
String commands (hex to string, sort strings, etc.)
Interface commands (display message, progress)
Activate/deactivate font
Plus many more…
Freely distribute scripts written for Extra Suites to end users
Registered users can distribute run-only scripts for free use by unregistered end users. End users won’t have to pay for Extra Suites to use scripts written by registered users. By adding one line of code to scripts, Extra Suites will run as if registered on any machine.
set theFolder to list folder "Macintosh HD1:Users:jbradfield:Desktop:" as alias
set thestring to item 1 of theFolder --desktop
tell application "Adobe® Photoshop® 6.0.1"
do script "New Image" --> this makes a new doc could be any program
tell application "Extra Suites"
type string thestring --> this gives the file the name of thestring
end tell
end tell
i would probably tell PS to make new doc with properties name:thestring but the dictionary won’t allow it