This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > PainShop Pro Scripting > August 2006 > dumb question...editing scripts
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 |
dumb question...editing scripts
|
|
| Pam Douglas 2006-08-22, 6:44 pm |
|
this may seem like a really dumb question but at this point in time i'm
tearing my hair out trying to figure out what the heck i did and how to fix
it. I'm having a major senior moment here but i'm gonna look stupid and ask
away *grins* I want to edit a couple scripts i wrote. However, every time
i try to edit i get the Text Editor instead of the Script Editor. how can i
get the Script Editor back rather than the text editor? Can anyone help?
Thanks so much for your input.
Pam
| |
| Pam Douglas 2006-08-22, 6:44 pm |
| sorry.....forgot to mention i use PSP 9
| |
| Fred Hiltz 2006-08-22, 6:44 pm |
| Pam Douglas wrote:
> this may seem like a really dumb question but at this point in
> time
> i'm tearing my hair out trying to figure out what the heck i did
> and
> how to fix it. I'm having a major senior moment here but i'm
> gonna
> look stupid and ask away *grins* I want to edit a couple scripts
> i
> wrote. However, every time i try to edit i get the Text Editor
> instead of the Script Editor. how can i get the Script Editor
> back
> rather than the text editor? Can anyone help?
The PSP Script Editor is limited to minor operations on recorded
scripts, such as changing steps from silent to interactive. After
any significant change, it runs out of steam, recognizes this, and
switches to the Python text editor that you have chosen, or to
Notepad if you have not chosen.
If you have not learned Python yet, you can still make small changes
like the values of settings. White space is significant to Python,
so do not change tabs and new-lines.
When you decide to get into more detail, get the Scripting for
Script Authors and the 9.01 Scripting API at
http://www.jasc.com/support/kb/arti...components.asp.
--
Fred Hiltz, fhiltz at yahoo dot com
| |
|
| "Pam Douglas" <douglas.pamela@comcast.net> wrote in
news:44eb240c$1_2@cnews:
>
> this may seem like a really dumb question but at this point in
time
> i'm tearing my hair out trying to figure out what the heck i did
and
> how to fix it. I'm having a major senior moment here but i'm
gonna
> look stupid and ask away *grins* I want to edit a couple
scripts i
> wrote. However, every time i try to edit i get the Text Editor
> instead of the Script Editor. how can i get the Script Editor
back
> rather than the text editor? Can anyone help?
>
> Thanks so much for your input.
>
> Pam
>
>
You will need to use the Text Editor (preferably Notepad as it
comes with Windows and keeps proper indentation, etc) if you wish
to do any major edits. The Script Editor only lets you make minor
changes, like Author, Copyright, etc., change the way the script
runs (Default, Silent or Interactive), and edit settings in various
dialogues called by the script. More significant changes must be
done with the text editor.
Regards,
JoeB
| |
| Spandex Rutabaga 2006-08-22, 6:44 pm |
| Pam Douglas wrote:
>
> this may seem like a really dumb question but at this point in time i'm
> tearing my hair out trying to figure out what the heck i did and how to fix
> it. I'm having a major senior moment here but i'm gonna look stupid and ask
> away *grins* I want to edit a couple scripts i wrote. However, every time
> i try to edit i get the Text Editor instead of the Script Editor.
And what's wrong with that? Python, the language in which scripts
are written, is a text language.
> how can i
> get the Script Editor back rather than the text editor?
Perhaps you can't. Let me explain. When a script contains only simple
recorded PSP commands, the PSP script editor (a very limited thing)
comes up by default (though you still have the choice of using a
real editor). When some kind of manual change has been made in a
script, PSP senses that this is no longer just a simple recorded
script that can be diddled in a simple editor and switches to your
full editor of choice. The edit that triggers this might be
inadvertent on your part, for example deleting some white space
(since white space is important to how a script is interpreted) or
accidentally wrapping a command line.
> Can anyone help?
At the moment we are talking in generalities. I think the reason
your script opens the full editor lies in its contents. Since we
can't see the script, we can't say anything about what in it is
causing the trouble. Try zipping up the scripts and attaching it to
a post and maybe some script guru can clear up the problem for you.
| |
| Pam Douglas 2006-08-22, 6:44 pm |
| thank you all for your help...it is greatly appreciated
|
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|