Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / April 2007



Tip: Looking for answers? Try searching our database.

droplet to execute shellscript

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rolf randen - 23 Apr 2007 17:27 GMT
hi there,

(hope i hit the right newsgroup...) i wrote a shellscript to convert
indesign xml-code to html. as i don't want to confront our users with
the terminal, i'm now looking for a way (droplet?!) to integrate it into
finder. any hints are appreciated.

rolf
Reinder Verlinde - 23 Apr 2007 18:13 GMT
> hi there,
>
[quoted text clipped - 4 lines]
>
> rolf

Two easy options:

<http://www.apple.com/applescript/folderactions/05.html> describes how
to call a shell script from a folder action.

<http://developer.apple.com/documentation/AppleApplications/Conceptual/Au
tomatorConcepts/Articles/ShellScriptActions.html> describes how to call
a shell script from a automator script.

Reinder
rolf randen - 25 Apr 2007 15:58 GMT
>> hi there,
>>
[quoted text clipped - 15 lines]
>
> Reinder

hi reinder,

thanks for the links! i think the automator thing will work for me,
altough it's veeeery slow (several seconds just for grabbing path and
filename - in terminal the whole 18kb script needs only about 1 second
to process a 40kb-file).

getting into xcode for just sending some file into a pipe appears a
little exaggerated to me - perhaps i'll have a second look at it when
it's winter again ;)

regards,

rolf
Sherm Pendley - 25 Apr 2007 16:58 GMT
> (hope i hit the right newsgroup...) i wrote a shellscript to convert
> indesign xml-code to html. as i don't want to confront our users with
> the terminal, i'm now looking for a way (droplet?!) to integrate it into
> finder. any hints are appreciated.

Have a look at Wil Sanchez' DropScript:

   <http://www.wsanchez.net/software/>

sherm--

Signature

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

rolf randen - 26 Apr 2007 10:33 GMT
>> (hope i hit the right newsgroup...) i wrote a shellscript to convert
>> indesign xml-code to html. as i don't want to confront our users with
[quoted text clipped - 6 lines]
>
> sherm--

hallo sherm,

thank you, that's exactly what i was looking for! the "shove"-
examplescript even works as a droplet, although it's ment to be an
app-service.

with best regards,

rolf
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.