This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > PainShop Pro Scripting > September 2006 > Script from Photoshop





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Script from Photoshop
Nicole

2006-08-20, 6:41 pm

Hello .... here is a link to a tutorial using Photoshop and the action script PanosFX
this make very original layout ... I wonder if there is any way to make one in Paint Shop Pro ...

Thanks in advance for your comments..


http://www.streamsfamily.com/2006/02/


Nicole
Spandex Rutabaga

2006-08-20, 6:41 pm

> Nicole wrote:
>
> Hello .... here is a link to a tutorial using Photoshop and the action
> script PanosFX
> this make very original layout ... I wonder if there is any way to
> make one in Paint Shop Pro ...


Yes, the approaches to making an image look curved or bent like a
piece of paper are discussed in the corel.PaintShopProX newsgroup.
The original thread started here:
Subject: Bend a Photo?
Date: Thu, 22 Jun 2006 11:24:26 -0500
From: "hå£ê¥" <trennemo@paulbunyan.net>
Organization: PSP Users
Newsgroups: corel.PaintShopPro
My contribution to that thread was this one:
Subject: Re: Bend a Photo?
Date: Thu, 22 Jun 2006 13:05:34 -0500
From: Spandex Rutabaga <SpRu@agabatur.xednaps>
Organization: Elastic Rootcrop Institute, Bladderwrack Blancmange
Dept.
Newsgroups: corel.PaintShopProX

In order to chop your image into sub-images to which the "bent
paper" effect is to be applied you can uses several methods. One
is to turn on Grids and Snap To Grid. Then use the Selection tool
set to rectangle to select each section in turn and promote it to
its own layer. Another is to use File > Export > Image Slicer with
the PNG/16.7 Million Color output format to chop up your image
into pieces.

These are the two main pieces you need to accomplish the tutorial
in PSP.
Nicole

2006-08-20, 6:41 pm

thank you so much for your help ... I will have to learn that more closely,
with your tip it will help a lot ....

Nicole

"Spandex Rutabaga" <SpRu@agabatur.xednaps> a écrit dans le message de news:
44E898C0.94BFF89E@agabatur.xednaps...
>
> Yes, the approaches to making an image look curved or bent like a
> piece of paper are discussed in the corel.PaintShopProX newsgroup.
> The original thread started here:
> Subject: Bend a Photo?
> Date: Thu, 22 Jun 2006 11:24:26 -0500
> From: "hå£ê¥" <trennemo@paulbunyan.net>
> Organization: PSP Users
> Newsgroups: corel.PaintShopPro
> My contribution to that thread was this one:
> Subject: Re: Bend a Photo?
> Date: Thu, 22 Jun 2006 13:05:34 -0500
> From: Spandex Rutabaga <SpRu@agabatur.xednaps>
> Organization: Elastic Rootcrop Institute, Bladderwrack Blancmange
> Dept.
> Newsgroups: corel.PaintShopProX
>
> In order to chop your image into sub-images to which the "bent
> paper" effect is to be applied you can uses several methods. One
> is to turn on Grids and Snap To Grid. Then use the Selection tool
> set to rectangle to select each section in turn and promote it to
> its own layer. Another is to use File > Export > Image Slicer with
> the PNG/16.7 Million Color output format to chop up your image
> into pieces.
>
> These are the two main pieces you need to accomplish the tutorial
> in PSP.



tape

2006-08-20, 6:41 pm

Nicole wrote:
> Hello .... here is a link to a tutorial using Photoshop and the action
> script PanosFX <http://www.panosfx.com/>


Cien has a script that seems to do the same thing as their action:
http://www.cienpsp.com/3dpc.php

--
Tanja Säily, http://www.iki.fi/tape/
Spandex Rutabaga

2006-08-20, 10:39 pm

tape wrote:
>
> Nicole wrote:
>
> Cien has a script that seems to do the same thing as their action:
> http://www.cienpsp.com/3dpc.php


Good grief. The site is finally back up. Thanks.
Patricia

2006-08-20, 10:39 pm

Thanks for the advice that the site is working again Tanja...Pat


"tape" <tape+news@iki.fi> wrote in message news:44e8d871_3@cnews...
> Nicole wrote:
>
> Cien has a script that seems to do the same thing as their action:
> http://www.cienpsp.com/3dpc.php
>
> --
> Tanja Säily, http://www.iki.fi/tape/



Tom

2006-08-21, 3:39 am

Downloaded the Cien script, placed it in the Scrips Restricted folder and
attempted to use it but was thwarted by a window that said the script had to
be in the "trusted" scripts folder. Don't want to place it there. Is there
a way around that command?
Tom
"tape" <tape+news@iki.fi> wrote in message news:44e8d871_3@cnews...
> Nicole wrote:
>
> Cien has a script that seems to do the same thing as their action:
> http://www.cienpsp.com/3dpc.php
>
> --
> Tanja Säily, http://www.iki.fi/tape/



Spandex Rutabaga

2006-08-21, 3:39 am

Tom wrote:
>
> Downloaded the Cien script, placed it in the Scrips Restricted folder and
> attempted to use it but was thwarted by a window that said the script had to
> be in the "trusted" scripts folder. Don't want to place it there.


Why? What's the point of having a Scripts-Trusted folder if you
don't plan to use it? Certainly some caution is required but
rather than never using the folder getting the opinion of someone
who knows scripting and whom you trust would be the thing to
do. If that opinion is favorable, i.e. the script is safe, then
you can stick it in your trusted folder.

> Is there a way around that command?


The script has to be trusted because it does some things that only
trusted scripts are allowed to do, specifically opening and closing
files as far as I can tell. If you don't want to trust the script,
don't use it. I'm afraid there really aren't any other choices.

As far as I can see other that using the Python functions related
to random numbers pretty much everything else in the script is
a PSP command. In other words, it doesn't look like the script is
going to send all the files in C:\My Financial Statements to a
rogue computer in Bulgaria or format your hard disk. However, if
you don't trust Cien you probably shouldn't trust me about this
script either.
Cathy :\)

2006-08-21, 6:58 pm

I placed the script in my trusted folder and I also get this error.

Am I doing something wrong?

Cathy :)

"Spandex Rutabaga" <SpRu@agabatur.xednaps> wrote in message
news:44E92E91.F60868C5@agabatur.xednaps...
> Tom wrote:
>
> Why? What's the point of having a Scripts-Trusted folder if you
> don't plan to use it? Certainly some caution is required but
> rather than never using the folder getting the opinion of someone
> who knows scripting and whom you trust would be the thing to
> do. If that opinion is favorable, i.e. the script is safe, then
> you can stick it in your trusted folder.
>
>
> The script has to be trusted because it does some things that only
> trusted scripts are allowed to do, specifically opening and closing
> files as far as I can tell. If you don't want to trust the script,
> don't use it. I'm afraid there really aren't any other choices.
>
> As far as I can see other that using the Python functions related
> to random numbers pretty much everything else in the script is
> a PSP command. In other words, it doesn't look like the script is
> going to send all the files in C:\My Financial Statements to a
> rogue computer in Bulgaria or format your hard disk. However, if
> you don't trust Cien you probably shouldn't trust me about this
> script either.



RonV

2006-08-21, 6:58 pm

On Sun, 20 Aug 2006 23:21:40 -0400, "Tom" <n.a.n.c.y@comcast.net>
wrote:

>Downloaded the Cien script, placed it in the Scrips Restricted folder and
>attempted to use it but was thwarted by a window that said the script had to
>be in the "trusted" scripts folder. Don't want to place it there. Is there
>a way around that command?
>Tom


No. Joe F. divided script operations into 'Restricted' and 'Trusted'
for a reason. At one time, during development, all scripts were to be
given free control of everything. That scared the daylights out of
those of us that have been victims of malicious programs.

Any script that doesn't do anything outside of PSP, can run from the
Restricted folder. Any script that can write to the hard drive must
be in the Trusted section.

Remember that Python, the scripting language in PSP, is a general
purpose programming language. Any sufficiently knowledgeable
programmer can make a script that will do anything the computer can be
programmed to do. If I ever open a script and see that it's
assembling code to be saved and then executed, you'd better believe
I'm going to carefully explore what that code does, before I run it.

There are other things that can be done, too, even without writing a
virus/worm to your operating system. A Virus Checker won't stop an
'Erase all of C drive', for example, and you certainly don't want that
to happen.

RonV

RonV

2006-08-21, 6:58 pm

On Mon, 21 Aug 2006 14:45:40 -0400, "Cathy :\)"
<csavol@adelphia.nospam.net> wrote:

>I placed the script in my trusted folder and I also get this error.
>
>Am I doing something wrong?
>
>Cathy :)


Did you remove the copy from the Restricted folder? Just copying to
both folders means that PSP sees the Restricted version first and
attempts to execute that one.

In fact, PSP doesn't handle duplicate files very well, no matter if
they're scripts or picture tubes.

RonV

Spandex Rutabaga

2006-08-21, 6:58 pm

"Cathy :)" wrote:
>
> I placed the script in my trusted folder and I also get this error.


"My trusted folder" isn't a precise description. There is a
Scripts-Trusted sub-folder of the folder where you installed
PSP. You shouldn't put anything there. There is a similar
sub-folder of My PSP Files, which is where you would normally
put it. You can have a Scripts-Trusted folder anywhere else
you like, provided you include it in File > Preferences > File
Locations. I don't know what you have and what you did.

> Am I doing something wrong?


It's possible but I can't say since I don't know what you did.
Also you may be running afoul of another security measure. You
can have scripts of the same name in all sorts of different
folders. To minimize possible malicious damage PSP will run
the one in a restricted folder (if one exists) and ignore the
one with the same name in the trusted folder. If you have a
copy of the script in both trusted and restricted folders, only
the latter will run and, being restricted, will give the message
you got. That's simply one possibility of several but you should
check for it.
Cathy :\)

2006-08-21, 10:42 pm

Thanks - that was the answer. Although I had it in my Trusted Scripts
folder, I actually had that folder set up in preferences as a restricted
file location.

I made myself a separate subfolder for PSPX trusted scripts.

Cathy :)

"Spandex Rutabaga" <SpRu@agabatur.xednaps> wrote in message
news:44EA306D.824ABC4C@agabatur.xednaps...
> "Cathy :)" wrote:
>
> "My trusted folder" isn't a precise description. There is a
> Scripts-Trusted sub-folder of the folder where you installed
> PSP. You shouldn't put anything there. There is a similar
> sub-folder of My PSP Files, which is where you would normally
> put it. You can have a Scripts-Trusted folder anywhere else
> you like, provided you include it in File > Preferences > File
> Locations. I don't know what you have and what you did.
>
>
> It's possible but I can't say since I don't know what you did.
> Also you may be running afoul of another security measure. You
> can have scripts of the same name in all sorts of different
> folders. To minimize possible malicious damage PSP will run
> the one in a restricted folder (if one exists) and ignore the
> one with the same name in the trusted folder. If you have a
> copy of the script in both trusted and restricted folders, only
> the latter will run and, being restricted, will give the message
> you got. That's simply one possibility of several but you should
> check for it.



Tom

2006-08-22, 6:44 pm

Wow! Didn't mean to singe any tail feathers. I am new at this and remember
that someone once said in a post to this newsgroup that there was no reason
to have to place a script in the trusted scripts folder. I wouldn't know
what codes to look for anyway to see if the script could be trusted.
Insofar as familiarity with contributers is concerned, I recognize your name
Spandex but don't recall seeing Cien's. But you seem to vouch for the
script so I'll place it in trusted and take the precaution to remove it
first from Restricted, as was mentioned in a later posting to Cathy from Ron
V.
Thanks
Tom
"Spandex Rutabaga" <SpRu@agabatur.xednaps> wrote in message
news:44E92E91.F60868C5@agabatur.xednaps...
> Tom wrote:
>
> Why? What's the point of having a Scripts-Trusted folder if you
> don't plan to use it? Certainly some caution is required but
> rather than never using the folder getting the opinion of someone
> who knows scripting and whom you trust would be the thing to
> do. If that opinion is favorable, i.e. the script is safe, then
> you can stick it in your trusted folder.
>
>
> The script has to be trusted because it does some things that only
> trusted scripts are allowed to do, specifically opening and closing
> files as far as I can tell. If you don't want to trust the script,
> don't use it. I'm afraid there really aren't any other choices.
>
> As far as I can see other that using the Python functions related
> to random numbers pretty much everything else in the script is
> a PSP command. In other words, it doesn't look like the script is
> going to send all the files in C:\My Financial Statements to a
> rogue computer in Bulgaria or format your hard disk. However, if
> you don't trust Cien you probably shouldn't trust me about this
> script either.



Spandex Rutabaga

2006-08-22, 6:44 pm

Tom wrote:
>
> Wow! Didn't mean to singe any tail feathers.


You didn't singe any feathers. It's a simple question: why do you
want to avoid using something the PSP authors created for you?
There must be a reason, surely. It's important to understand
people's motivations when answering questions because they often
shed light on unspoken assumptions, which might be correct or
not.

> I am new at this and remember
> that someone once said in a post to this newsgroup that there was no reason
> to have to place a script in the trusted scripts folder.


I can't say I remember such a post. People say all sorts of things
in newsgroups. Sometimes they are wrong. I've been known to make
the odd mistake, for instance. The above advice is wrong. The
rule is: (1) use restricted scripts wherever possible and (2) use
trusted scripts when this is really required to get the job done
in PSP and when you trust the source and when have looked inside
the script (and asked for help if puzzled about the contents).
With that said, I have never heard of anyone receiving a malicious
payload in a script. That doesn't mean it can't happen at some
point though.

> I wouldn't know
> what codes to look for anyway to see if the script could be trusted.


I think maybe you don't give yourself enough credit. A script is
human readable text and can be viewed in Notepad. Though the long
command names may seem intimidating at first, their length tends
to make them self-documenting, i.e. the command name tells you
what the command does. Then it becomes fairly clear what is what.
The thing you need to be afraid of is anything that looks like
a Windows operating system command as opposed to a PSP menu item.
Formatting your disk, sending stuff to another, computer, spawning
the execution of another program, accessing the Registry are the
sorts of things to worry about. If it says PromoteToLayer or
MeshWarp then there's no problem.

> Insofar as familiarity with contributers is concerned, I recognize your name
> Spandex but don't recall seeing Cien's.


He (she?) has been absent for a while.
Steve

2006-09-24, 7:18 pm

I went to the site, but can't seem to download anything there. When I hit
the download button I get the following error msg:

Warning: fopen(clicks.txt): failed to open stream: Permission denied in
/home/cienpsp/public_html/ccount/click.php on line 70
Can't write to log file! Please Change the file permissions (CHMOD to 666 on
UNIX machines!)

I also couldn't find an email link on the page for Cien so hopefully he'll
see this note.


Steve


"Spandex Rutabaga" <SpRu@agabatur.xednaps> wrote in message
news:44E8E907.23FA17B4@agabatur.xednaps...
> tape wrote:
>
> Good grief. The site is finally back up. Thanks.



Spandex Rutabaga

2006-09-24, 7:18 pm

Steve wrote:
>
> I went to the site, but can't seem to download anything there.


It worked on August 20th, but now it's September 16th. Prior
to August 20th the site was down for quite a while.
simplyred

2006-09-24, 7:18 pm


"Tom" <n.a.n.c.y@comcast.net> wrote in message news:44e925f4_3@cnews...
> Downloaded the Cien script, placed it in the Scrips Restricted folder and
> attempted to use it but was thwarted by a window that said the script had
> to be in the "trusted" scripts folder. Don't want to place it there. Is
> there a way around that command?
> Tom
> "tape" <tape+news@iki.fi> wrote in message news:44e8d871_3@cnews...
>
>

How did you get it to download? I got the error message noted in a previous
post. I tried to sign up for the newsletter and got sent to a "this doesn't
exist" type of page.

Is it considered improper to ask you to send me a copy of the script since I
can't download from the site? I would really love to have some of her
scripts, and particularly this one.

simplyred


W.Madison

2006-09-24, 7:18 pm


"simplyred" <erniehendrix@hotmail.com> wrote in message
news:450d6095$1_2@cnews...
>
> "Tom" <n.a.n.c.y@comcast.net> wrote in message news:44e925f4_3@cnews...
> How did you get it to download? I got the error message noted in a
> previous post. I tried to sign up for the newsletter and got sent to a
> "this doesn't exist" type of page.
>
> Is it considered improper to ask you to send me a copy of the script since
> I can't download from the site? I would really love to have some of her
> scripts, and particularly this one.
>
> simplyred

I can't get it either, get this error:

Warning: fopen(clicks.txt): failed to open stream: Permission denied in
/home/cienpsp/public_html/ccount/click.php on line 70
Can't write to log file! Please Change the file permissions (CHMOD to 666 on
UNIX machines!)


Tom

2006-09-24, 7:18 pm

Sorry, I deleted it from my PSP folders. Was able to get it to download but
could not get PanosFX to function in either the Restricted or Trusted
folders.
Tom

"simplyred" <erniehendrix@hotmail.com> wrote in message
news:450d6095$1_2@cnews...
>
> "Tom" <n.a.n.c.y@comcast.net> wrote in message news:44e925f4_3@cnews...
> How did you get it to download? I got the error message noted in a
> previous post. I tried to sign up for the newsletter and got sent to a
> "this doesn't exist" type of page.
>
> Is it considered improper to ask you to send me a copy of the script since
> I can't download from the site? I would really love to have some of her
> scripts, and particularly this one.
>
> simplyred
>



Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews