Re: Shell w/ Sandboxes

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58601
interpreted = N
texte = Yup, Thanks On Jun 25, 2004, at 2:57 AM, Mark Derrick wrote: > Simply set the variable on the page above the [shell], and when you > construct the script you want to run within [shell], just drop the > [variable] in. > > So, in this example, you would use something like this. > > > [text]height=100[/text] > [text]width=100[/text] > [text]sourcefile=logo.jpg[/text] > [text]resultfile=result.kpg[/text] > > > Then you would a use a [shell] script like this (in your SandBoxes > scripts) to resize the image. > > [shell] > path-to-ImageMagick/convert -size [width]x[height] [sourcefile] > -resize [width]x[height] +profile "*" [resultfile] > [/shell] > > > > Hope this helps. > > Mark. > > > On 24 Jun 2004, at 11:48 pm, Jesse Proudman wrote: > >> How do you pass variables to a [shell] w/ a sandbox? >> >> I've tried: >> >> [shell scriptid=ImageMagick&dim=100x100&imfile=logo.jpg][/shell] >> >> and >> >> [shell scriptid=ImageMagick]dim=100x100&imfile=logo.jpg[/shell] >> >> Thanks >> >> -- >> Jesse Williams-Proudman >> Blue Box Development :: Custom Web Solutions >> +1.206.778.8777 :: jesse@blueboxdev.com >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > -- Jesse Williams-Proudman Blue Box Development :: Custom Web Solutions +1.206.778.8777 :: jesse@blueboxdev.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Shell w/ Sandboxes ( Jesse Proudman 2004)
  2. Re: Shell w/ Sandboxes ( Mark Derrick 2004)
  3. Shell w/ Sandboxes ( Jesse Proudman 2004)
Yup, Thanks On Jun 25, 2004, at 2:57 AM, Mark Derrick wrote: > Simply set the variable on the page above the [shell], and when you > construct the script you want to run within [shell], just drop the > [variable] in. > > So, in this example, you would use something like this. > > > [text]height=100[/text] > [text]width=100[/text] > [text]sourcefile=logo.jpg[/text] > [text]resultfile=result.kpg[/text] > > > Then you would a use a [shell] script like this (in your SandBoxes > scripts) to resize the image. > > [shell] > path-to-ImageMagick/convert -size [width]x[height] [sourcefile] > -resize [width]x[height] +profile "*" [resultfile] > [/shell] > > > > Hope this helps. > > Mark. > > > On 24 Jun 2004, at 11:48 pm, Jesse Proudman wrote: > >> How do you pass variables to a [shell] w/ a sandbox? >> >> I've tried: >> >> [shell scriptid=ImageMagick&dim=100x100&imfile=logo.jpg][/shell] >> >> and >> >> [shell scriptid=ImageMagick]dim=100x100&imfile=logo.jpg[/shell] >> >> Thanks >> >> -- >> Jesse Williams-Proudman >> Blue Box Development :: Custom Web Solutions >> +1.206.778.8777 :: jesse@blueboxdev.com >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > -- Jesse Williams-Proudman Blue Box Development :: Custom Web Solutions +1.206.778.8777 :: jesse@blueboxdev.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Jesse Proudman

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

question: back button prevention (1997) search engine friendly URLS (Mac) and Lycos! (1998) PCS Frames (1997) Search problem (2002) writing checkboxes to a database (2000) redirect from the errorsMessages.db entry (1997) shownext in Another Users.db (2000) Getting total number of items ordered (1997) 2 easy questions re: [showif] and [sendmail] (1997) Frames and WebCat (1997) [WebDNA] [thisurlplusget] not working (2012) date format (another question) (2000) Checkboxes (1997) WebCat & WebTen (1997) WCf2 and nested tags (1997) no [search] with NT (1997) WebCatalog for guestbook ? (1997) help needed: Non-english characters in WebCatalog (1997) WebCatalog can't find database (1997) [WebDNA] Record click-thrus (2008)