 |
 |
AppleScript Stuio Unix?
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
I don't have the Dev Tools installed, but I'm going to install them soon. I have questions on just what AppleScript Studio is and how it works.
You can make "real apps" with it. Does this mean that the AppleScript code is actually compiled into computer code, or are they just Applets with GUIs stuck to them? Next, can you make GUIless Unix apps with them. I know you can make a unix app that runs as a CGI really easy with the Dev tools, can you use AppleScript to do it? I know to get a 'normal' Script to run as a CGI, you have to jump through many a hoop, one of which is having a normal GUI program running in your dock at all times. I used to be dangerous at writing applescripts, if I could make real unix apps as CGIs with them, I would be a very happy DUDE, and my web sites would just get sicker and sicker as time when on.
(Last edited by l008com; Aug 19, 2002 at 01:59 AM.
)
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: 'round the corner
Status:
Offline
|
|
Well, applescript studio is like writing with Cocoa but instead using AppleScript to write it
i wrote this with AppleScript Studio: http://www.versiontracker.com/morein...&db=macosx
A sample would be:
on clicked theObject
if the Object is button "button" of window "window" then
display dialog "Balh!"
else
display dialog "BAHHH"
end if
end on clicked
simple enough!
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
yeah that kinda isn't really what I asked though
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Nov 2001
Status:
Offline
|
|
Originally posted by l008com:
I don't have the Dev Tools installed, but I'm going to install them soon. I have questions on just what AppleScript Studio is and how it works.
You can make "real apps" with it. Does this mean that the AppleScript code is actually compiled into computer code, or are they just Applets with GUIs stuck to them? Next, can you make GUIless Unix apps with them. I know you can make a unix app that runs as a CGI really easy with the Dev tools, can you use AppleScript to do it? I know to get a 'normal' Script to run as a CGI, you have to jump through many a hoop, one of which is having a normal GUI program running in your dock at all times. I used to be dangerous at writing applescripts, if I could make real unix apps as CGIs with them, I would be a very happy DUDE, and my web sites would just get sicker and sicker as time when on.
AppleScript code isn't compiled; open up an AppleScript studio application and you'll find a "Scripts" folder in the Resources folder. I pretty sure you can't make command-line apps with AppleScript studio.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
You can run an ASS app GUI-less just like you can run a normal Cocoa application GUI-less (that is, don't have it open any windows and set NSUIElement to 1 in its Info.plist), but no, you can't make a straight "UNIX" app with it. From what I can tell, an ASS app is basically a normal Cocoa app whose objects interact with an AppleScript you write. Thus, it always has to be 1) a bundle, and 2) a Cocoa application.
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|