dear apple freinds ,
i am using script editor to develop a apple script . the size of the script is big (680 kb at present) and it will grow in future . when i am copying and pasting a subroutine from one part to another part and pressing the button apple & s to save the script , it is saving the script as run only option. when i closing the script and trying to open (double click) it , it is showing the following error :
Unable to read the file because the script is not editable (it was saved as run-only).
the script was produced from the earlier version in which saving window (by using save as options ) the file format is script , line ending unix (lf) and in the options section
run only : enabled but not checked
startup screen : disabled but checked
stay open : disabled but not checked
please help me to find the solution of this problem . due to this my whole work has got stucked and not able to proceed . any help inthis matter will be highly appreciated.
best regards
krishna
Hi,
first I hope, you have a backup of your script, because not editable is not editable.
I would create a new blank script with the options you want and then copy and paste the text from
the old one to the new one
StefanK is correct. There is no route to recovery. Run only means just that.
I deleted the duplicate post.
thanks a lot dear adam and stefank for giving quick reply.
i did the same , i copied the earlier version and pasted it in new blank script editor. then in the same script editor i copied one subroutine of the same script and pasted in the same script editor and changed the name of the name of the subroutine and some part of the subrouitne and saved it with using the option save as by giving different name.the saving window has following condition of option boxes :
run only : enabled but not checked
startup screen : disabled but checked
stay open : disabled but not checked
after closing the script when i am trying to reopen it is again giving the same error :
Unable to read the file because the script is not editable (it was saved as run-only).
i am not understanding from where this problem is coming .
is the size of the script having some effect on it ,because when i am just opening the earlier version making some slight change for example
just putting the display dialog “i love you” or “jkljfdkjfkdsljflksdjfksjdlkfjsdklfjkdsjflkdsfjdskjf”
and saving it by using the simple apple + s , it is saving the file and colour of the text code changes , and when i close the file i can reopen it .
When in the same file i copied and pasted the subroutine and renamed it with different name and use apple + s option to save it , the colour of copied text does not change and when i closed the script editor and tried to reopen it is showing the same error :
Unable to read the file because the script is not editable (it was saved as run-only).
please help me in this matter . is there option to disable the run only option ?
best regards
krishna
680kb thats HUGE…
The biggest I have is 60Kb,
Its quite possible you are hitting a compile problem due to what you are pasting in, or size although I can not find info on if there is still a size limit.