PDA

View Full Version : Alias



LilWizzy
08-29-2017, 04:32 PM
I am trying to have a script call ;alias and make a change.

I tried using send_to_script which does not make changes to ;alias

I also tried start_script 'alias' [ 'what ever changes I wanted made here' ] but this doesn't work as well.

Anybody know how to do this?

Mogonis
08-29-2017, 04:47 PM
Can you do a simple put/fput to change an alias (try to simulate you doing it manually in the text bar)?

LilWizzy
08-29-2017, 06:55 PM
Tried that and it didn't work.

I could do it as a macro but I don't know how to have a script call a macro.

Mogonis
08-29-2017, 06:59 PM
What exactly is this script? The point of making aliases is because those commands are ones you're going to use a lot. What's causing you to have to change them so dynamically? I'd just have the script do the commands you need and not mess with aliases.

LilWizzy
08-29-2017, 07:08 PM
Honestly, to see if it can be done.

If I can make my script change one of my alias at my whim.