Re: Shell w/ Sandboxes
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58601
interpreted = N
texte = Yup,ThanksOn 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-ProudmanBlue 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:
Yup,ThanksOn 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-ProudmanBlue 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:
NT lockup (1998)
Multiple prices (1997)
target=_blank and form variables (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Setting up WebCatalog with Retail Pro data (1996)
[cart] not being interpreted inside [founditems] (1997)
Example Search Form (1997)
WebCatalog/Mac 2.1b2 - PIXO (1997)
Emailer (WebCat2) (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
Summary search -- speed (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Emailer (1997)
Speeding up my [showif] performance (1999)
[Webcat 2]Next (1997)
Help Please WebDNA 6 Secure Forms Problem (2004)
Dates - Search and Sorting (1999)
WriteFile (2000)
SSL problems (1998)
WebCat2final1 crashes (1997)