create a command

create a command

Anonymous
Not applicable
2,585 Views
26 Replies
Message 1 of 27

create a command

Anonymous
Not applicable

Hello,

 

I have been working on making a command, that does the following,

 

erase all but the selected,

purge all.

saveas - choose file location and name.

updatefields - all.

save.

My current script looks like this:

 

^C^C_erase;all;r \\;z;e;-purge;a;;n;_saveas;updatefield;all;;_save;

 

If I end the script at "save as;"

I am able to see the save as window and can choose the location of where I want to save it,

 

however I don't see it when I add "updatefield;all;;_save;" to the end.

just need help getting the last bit sorted

 

Thanks in advance

 

0 Likes
Accepted solutions (1)
2,586 Views
26 Replies
Replies (26)
Message 21 of 27

Anonymous
Not applicable
Now the save as window opens, but it won't updatefield and qsave
0 Likes
Message 22 of 27

hmsilva
Mentor
Mentor
Accepted solution

Try

 

^C^C_erase;all;r \\;z;e;-purge;a;;n;_saveas;;~;updatefield;all;;_​qsave;

 

EDITED: I did remove an enter and a pause after the saveas dialog...

 

Hope this helps,
Henrique

EESignature

Message 23 of 27

Anonymous
Not applicable
I get the window but it won't update the fields and Qsave
0 Likes
Message 24 of 27

hmsilva
Mentor
Mentor

@Anonymous wrote:
I get the window but it won't update the fields and Qsave

Didd you try the edited macro in message #22

 

Henrique

EESignature

0 Likes
Message 25 of 27

Anonymous
Not applicable
Thanks Henrique,
Great job
got it to work with that last marco worked.
0 Likes
Message 26 of 27

hmsilva
Mentor
Mentor

@Anonymous wrote:
Thanks Henrique,
Great job
got it to work with that last marco worked.

You're welcome, Timon!
Glad I could help 🙂

Henrique

EESignature

0 Likes
Message 27 of 27

Sofia.Xanthopoulou
Mentor
Mentor

oh, I was out for a break and missed the most important part Smiley Sad

 

Glad it worked out - great teamwork! Thanks Smiley Happy

 

And now @Anonymous, hit the green button on the post with the solution Smiley Wink Everybody should be able to see the solution at once.

 

Thanks a lot