Jump to content

Recommended Posts

Posted

How can appload a lisp from macro i do the following but it open dialog , what's wrong ??

^C^C^_appload ;Ffjdshj.LSP;

  • Replies 29
  • Created
  • Last Reply

Top Posters In This Topic

  • hosyn

    12

  • hmsilva

    9

  • ReMark

    3

  • MSasu

    2

Top Posters In This Topic

Posted

Not sure if APPLOAD works in command line mode; try this instead:

^C^C^(load "Ffjdshj.LSP") 

Posted

hosyn,

if your lisp file is not in a "Support File Search Path", you must provide the full path, and for instance, your command name would be "test", you could test if was loaded, if not, load it and run the code...

 

^C^C(if (not c:test) (load "C:/mylisp/Ffjdshj"));test

 

Henrique

Posted

I checked them and unfortunately don't act well:(

How can appload a lisp from macro i do the following but it open dialog , what's wrong ??

^C^C^_appload ;c:\my doc\Ffjdshj.LSP;

Posted

Just for load Ffjdshj.lsp

 

^C^C(load "C:/my doc/Ffjdshj")

or

^C^C(load "C:\\my doc\\Ffjdshj")

 

Henrique

Posted

What's the macro command for loading lisp file from customize bottom toolbar that when i click that bottom load lisp file.

Posted

It is getting tiring to continually have to move and merge your threads and remind you to use Code Tags.

 

Please review the forum posting and code posting guidelines.

Posted

Time to break out the "persuader"?:danger::lol:

Posted

I checked them but not work:(

Posted
I checked them but not work:(

What did you check?

if yhe path you posted is correct and the filename too,

 

^C^C(load "C:/my doc/Ffjdshj")

 

must work!

 

Henrique

Posted
I checked them but not work:(

what do you get if you try

 

(findfile "c:/my doc/Ffjdshj.lsp")

Posted

Mr Dbroada

I try it and result:

"c:/my doc/Ffjdshj.lsp"

Posted

When i locate in custom toolbar and run it i have this result in prompt:

 

(load "C:

 

 

???????????????????

Posted (edited)

hosyn,

copy and paste here, the command string you have in your custom toolbar, dont type. just copy/paste

 

Henrique

Edited by hmsilva
typo...
Posted

Hosyn, I'm afraid you didn't stated the full path into your first post; please adjust the macro like:

^C^C(load "C:\\my doc\\Ffjdshj.lsp" "Unable to find Ffjdshj.lsp")

And don't forget that the macro should contain a space at end.

Posted

Dear Msasu

I copy and paste the above code and

this is the result of yor code:

Command:
Command:
Command: (load "C:
("_>
("_> my doc
("_>
("_> Ffjdshj.lsp" "Unable to find Ffjdshj.lsp")
"Unable to find Ffjdshj.lsp"

After the run macro apear (load"c: and after some enter have this result.:?o:)o:)o:)o:)o:)

Posted

Copy and paste just this

(load "C:\\my doc\\Ffjdshj.lsp" "Unable to find Ffjdshj.lsp")

 

If it works then add the ^C^C in your macro in a tool.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...