Go Back   The macosxhints Forums > OS X Help Requests > UNIX - Newcomers



 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 07-20-2012, 05:28 AM   #1
openbox
Prospect
 
Join Date: Jul 2012
Posts: 1
osascript untitled applescript

what would be the way to osascript a untitled applscript??

I'm expecting something:
-e `"some code to refer to the untitled in the active scripteditor"'
or even better:
a pathway to the untitled script ...


would like to do this without saving the script, without typing too much in the terminal shell:
tell application "Finder"
choose file
set file1 to result
open file1
say "file opened" using "victoria"
end tell


...as a novice to this, I enjoy being entertained by applications communicating in any way.
appreciate and respect the time and effort by those dedicated to "the codes" and willing to help "novices like me" to get some relaxation from playing with a computer.

best regards,
openbox
openbox is offline   Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 12:52 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.