Need help with using Patterns in name text

Moderator: Kathy_9

craftykid
Posts: 15
Joined: Tue Jan 26, 2021 5:55 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
Corel programs: PSPProX6 PSPPro2018 PSPPro2019 PSPPr2020

Re: Need help with using Patterns in name text

Post by craftykid »

Never mind.. I fixed it.. :)
LeviFiction
Advisor
Posts: 6778
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Need help with using Patterns in name text

Post by LeviFiction »

Glad you fixed it. One last suggestion, I noticed you're importing both PSPApp and JascApp in the first two lines of your script. For simplicity only import JascApp. You don't need to import PSPApp. This will also increase the backwards compatibility of your script.

In older versions of PSP JascApp is the only version that's available but in newer versions of PSP the JascApp library calls PSPApp for you.
craftykid
Posts: 15
Joined: Tue Jan 26, 2021 5:55 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
Corel programs: PSPProX6 PSPPro2018 PSPPro2019 PSPPr2020

Re: Need help with using Patterns in name text

Post by craftykid »

Oh Thank you for that suggestion.. I didn't realize that. I'll fix it.. :)

Now if I can just figure out why every time I try to use Eyecandy 3.1 for the glow effect I get this "can't find or open eyecandy 3.1 ini file." I know that's not a Psp scripting question. lol but i'm trying to add using it to my script and this keeps popping up.
It's not the fault of the script because it does it just normally in trying to use it in PSP. There's always something. :)

Is there another section here on the user board where I could ask that question? It's a plugin issue I'm sure.
LeviFiction
Advisor
Posts: 6778
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Need help with using Patterns in name text

Post by LeviFiction »

Does it only happen within the script or does it happen when using the EyeCandy plugin? Because that sounds like a problem with the plugin. If only when running the script then try this.

1) Run EyeCandy Plugin
2) Open the History Palette (if not already open)
3) Right-Click on the Plugin run
4) Copy to clipboard
5) Replace your current EyeCandy plugin call in your script with what you copied to the clipboard.

Can't guarantee it'll help as I said before that's an odd error as there shouldn't be anything PSP is sending to EyeCandy that makes the .ini file visible.
craftykid
Posts: 15
Joined: Tue Jan 26, 2021 5:55 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
Corel programs: PSPProX6 PSPPro2018 PSPPro2019 PSPPr2020

Re: Need help with using Patterns in name text

Post by craftykid »

No it doesn't just happen in the script. It happens if I just normally use it in PSP. I know its the plugin but I'll try what you suggest.
Yes, another odd error.. I seem to be able to find them.. lol
thank you
craftykid
Posts: 15
Joined: Tue Jan 26, 2021 5:55 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
Corel programs: PSPProX6 PSPPro2018 PSPPro2019 PSPPr2020

Re: Need help with using Patterns in name text

Post by craftykid »

I tried what you said and got the same information that is already in my script. The situation is that the odd error message shows up BEFORE the plugin runs.

The error message pops up first as soon as you select the Eye Candy 3.1 glow in the Effects list.. when I dismiss the message, the glow dialog opens and works just fine.
craftykid
Posts: 15
Joined: Tue Jan 26, 2021 5:55 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
Corel programs: PSPProX6 PSPPro2018 PSPPro2019 PSPPr2020

Re: Need help with using Patterns in name text

Post by craftykid »

I didn't write the error message correctly before. This is what it says

unable to open or create settings file Eyecandy3,INI.

Looking closely at this error message wonder why there is a comma in Eyecandy3,INI that's weird because file names should be Eyecandy3.INI. So wondering exactly what PSP is looking for. ???

when I see create it makes me think it is trying to write an ini file to the plugin or at least to the folder the plugin is in. I've checked the permissions on the folder and the files and all of them have Write Permission.