OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Scripting framework error - newbie struggling with deletion

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
Ludek
General User
General User


Joined: 29 Jun 2007
Posts: 6

PostPosted: Wed Mar 05, 2008 12:02 am    Post subject: Scripting framework error - newbie struggling with deletion Reply with quote

Hello everyone, Smile

I'm just starting to play with macros in OO and during my play I recorded a macro in Calc, changed it's name to something more meaningful, later found it didn't do quite what I wanted and deleted it. Now I'm left with an error message:

'Scripting framework error occurred whilst running the basic script vnd.sun.star.script:Standard:PC_OpenSheet? Message: BasicProviderImpl::getscript: no script: '

I understand what it's saying but I can't stop it from saying it! Confused

What do I do now...

Thanks taking the time to read, regards,

Ludek
Back to top
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 8979
Location: Lexinton, Kentucky, USA

PostPosted: Wed Mar 05, 2008 7:16 am    Post subject: Reply with quote

You probably deleted the subroutine code but not the Module it was in. Been there, done that. Do Tools > Macros > Organize > Basic now use the Organizer button, find the Module and delete it.

At the same location (Basic) you also see the Assign button - if you previously assigned the macro to some Event or keyboard combo then use this button to delete the assignment.
Back to top
View user's profile Send private message
Ludek
General User
General User


Joined: 29 Jun 2007
Posts: 6

PostPosted: Wed Mar 05, 2008 10:30 am    Post subject: Reply with quote

Hi JohnV and thanks for the reply,

I can see the module the script is supposed to be in but when I go to 'Organize' the delete option is greyed out.

I've checked the assigns to make sure there's nothing there and that's all clear.

Best wishes,

Ludek
Back to top
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 8979
Location: Lexinton, Kentucky, USA

PostPosted: Wed Mar 05, 2008 2:00 pm    Post subject: Reply with quote

That's strange but I think you must be in the wrong place so let's try again.

Do Tools > Macros > Organize Macros > OOo Basic at this location there is an Organizer button. When you click it you see a Modules tab. This is where you should be able to delete it.
Back to top
View user's profile Send private message
Ludek
General User
General User


Joined: 29 Jun 2007
Posts: 6

PostPosted: Thu Mar 06, 2008 12:29 pm    Post subject: Reply with quote

Hi John,

Nope, I was in the right place.

If I'm reading the error message correctly it's saying I have a problem in a module called 'Standard' because it can't find a macro called PC_Open which should be activated by the sheet opening.

When I go into 'Organize' the only modules that let me delete them have macros in them. When I click on the 'Standard' module (which no longer has anything in it) the Delete button greys out.

This is the module where PC_Open was before it was deleted but the program doesn't seem to recognise that.

Should I just reinstall?

Thanks again,

Ludek
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group