Replies: 6 comments 11 replies
-
If |
Beta Was this translation helpful? Give feedback.
-
Look at the COMS (or look at the file) -- you're evaluating the The order of commands in the filecoms control the order of things written (and thus read, and executed), so the order is important -- always a good idea to look at them with, say, |
Beta Was this translation helpful? Give feedback.
-
I moved the Is this expected when rearranging the coms? |
Beta Was this translation helpful? Give feedback.
-
When I did the same, starting from your WEBCARD(.txt), and moved the P command it just said that WEBCARDCOMS had changed, nothing else. |
Beta Was this translation helpful? Give feedback.
-
Loading the modified file completes with no errors and the bitmap can now be seen as expected in link icons leading to cards of type Web. However, traversing such a link no longer opens the web browser to visit the link for the reason hinted by the |
Beta Was this translation helpful? Give feedback.
-
At the time you did the MAKEFILE there was no LinkIconLeftButtonFn property on the atom Web, presumably as a result of the LOAD erroring before the property got restored.
So there was nothing to save, and it warned you about it. The PROP file package command is designed more for saving a property value where you don't know what the value should be. I'd suggest explicitly putting the known property value on |
Beta Was this translation helpful? Give feedback.
-
For my WebCard project I need to add a bitmap to the coms of the program. I have a general idea how to start but I'm not sure how to insert the actual data of the bitmap in the coms.
Assume the variable
MyBitMap
holds the bitmap. One way to proceed is to evaluate(ADDTOFILE '(MyBitMap <value>) 'VARS 'MYCOMS)
at an Interlisp Exec. But how do I insert the bitmap data at<value>
?I tried editing the coms with
(DC MYPRO)
and doing something like(ADDTOFILE '(MyBitMap ,MYBitMap) 'VARS 'MYPROG)
but SEdit renders it as(ADDTOFILE '(MyBitMap %,MYBitMap) 'VARS 'MYPROG)
with no data.(BITMAPS MyBitMap)
likely goes in the coms too.Any advice?
Beta Was this translation helpful? Give feedback.
All reactions