This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > PainShop Pro Scripting > February 2006 > "The specified file cannot be indentified as a supported type"





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 "The specified file cannot be indentified as a supported type"
David J Taylor

2006-02-08, 12:25 am

Fresh installation of Paint Shop Pro 9 onto a new PC. Try to run a script
which worked on the old PC by right-clicking, Open with PSP 9. PSP 9 is
executed, but the message appears:

"The specified file cannot be indentified as a supported type"

The script is in the correct folder, and the JASC-supplied scripts in that
folder also produce the same error message....

Suggestions or pointers welcome!

Thanks,
David


Fred Hiltz

2006-02-08, 12:25 am

David J Taylor wrote:
> Fresh installation of Paint Shop Pro 9 onto a new PC. Try
> to run a script which worked on the old PC by
> right-clicking, Open with PSP 9. PSP 9 is executed, but
> the message appears:
>
> "The specified file cannot be indentified as a supported
> type"
>
> The script is in the correct folder, and the JASC-supplied
> scripts in that folder also produce the same error
> message....


PSP is probably trying to open it as an image, rather than run it as
a script. The two customary ways to run a script are 1) point to its
folder with File > Preferences > File Locations or 2) open it with
the Run Script icon on the Script toolbar.

To make PSP start and run a script directly from Explorer, you need
to set up the command in Explorer. Tools > Folder Options > File
Types. Select PSPSCRIPT, click Advanced, select Open, and click
Edit. Check what the old PC has as "Application used to perform
action." It will probably resemble

...Paint Shop Pro.exe /script "%1"

The "/script" part might also be in the DDE Message box. Set the
same message in the new computer.
--
Fred Hiltz, fhiltz at yahoo dot com


David J Taylor

2006-02-08, 12:25 am

Fred Hiltz wrote:
> David J Taylor wrote:
>
> PSP is probably trying to open it as an image, rather than run it as
> a script. The two customary ways to run a script are 1) point to its
> folder with File > Preferences > File Locations or 2) open it with
> the Run Script icon on the Script toolbar.
>
> To make PSP start and run a script directly from Explorer, you need
> to set up the command in Explorer. Tools > Folder Options > File
> Types. Select PSPSCRIPT, click Advanced, select Open, and click
> Edit. Check what the old PC has as "Application used to perform
> action." It will probably resemble
>
> ...Paint Shop Pro.exe /script "%1"
>
> The "/script" part might also be in the DDE Message box. Set the
> same message in the new computer.


Thanks, Fred. I'd looked aroung those areas, and they were identical.

I did find a difference in the key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.PspScriptI found that I had: Application: PaintShopPro 9.exewhereas I needed: ProgID: PaintShopPro9.ScriptSeems to be OK now!Cheers,David

Fred Hiltz

2006-02-08, 12:25 am

David J Taylor wrote:
[snip][color=darkred]
> I did find a difference in the key:
>
> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.PspScript
>
> I found that I had: Application: PaintShopPro 9.exe
>
> whereas I needed: ProgID: PaintShopPro9.Script
>
> Seems to be OK now!


Hah! That is a new one, and good to know for the next time. Thank
you. Did you mean the key \OpenWithProgids under this one? For what
it's worth, mine shows PaintShopPro9.Script also. What could make
the difference? Maybe the version. Mine is 9.0.1.1.
--
Fred Hiltz, fhiltz at yahoo dot com


David J Taylor

2006-02-12, 7:25 pm

Fred Hiltz wrote:
> David J Taylor wrote:
> [snip]
>
> Hah! That is a new one, and good to know for the next time. Thank
> you. Did you mean the key \OpenWithProgids under this one? For what
> it's worth, mine shows PaintShopPro9.Script also. What could make
> the difference? Maybe the version. Mine is 9.0.1.1.


The key:
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.PspScript\OpenWithProgids

has three zero length binary values, named PaintShopPro8.Script,
PaintShopPro9.Script and PaintShopProX.Script.

It is the key:

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.PspScript

which has the value Progid set to PaintShopPro9.Script

I expect these values appearing here are attempts to stop scripts
automatically opening with PSP-10 which has the broken browser. Kill of
the association (perhaps) and then use right-click, open with... to
re-establish my desired association.

Cheers,
David


Fred Hiltz

2006-02-12, 7:25 pm

David J Taylor wrote:
[snip]
> The key:
> HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.PspScript\OpenWithProgids
>
> has three zero length binary values, named
> PaintShopPro8.Script,
> PaintShopPro9.Script and
> PaintShopProX.Script.
>
> It is the key:
>
> HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.PspScript
>
> which has the value Progid set to PaintShopPro9.Script

[snip]

Thanks, David. My 10.01 installation has the first three you
mention, but not the last one. Double clicking a PspScript file
opens PSP and runs the script OK. Maybe the new key came with 10.02.
--
Fred Hiltz, fhiltz at yahoo dot com


Sponsored Links


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