mIRC Home    About    Download    Register    News    Help

Print Thread
'move file' option.. #55138 15/10/03 11:05 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
i think there should a be a move file option in the script editor, many a time i move a script to a different directory and then $scriptdir still returns the directory it was in when you loaded it.


new username: tidy_trax
Re: 'move file' option.. #55139 16/10/03 01:26 AM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Try "Save as..."

Re: 'move file' option.. #55140 16/10/03 07:59 AM
Joined: Oct 2003
Posts: 42
V
Voice_of_Power Offline
Ameglian cow
Offline
Ameglian cow
V
Joined: Oct 2003
Posts: 42
reload it after moving

Re: 'move file' option.. #55141 16/10/03 01:21 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
thats annoying :tongue:


new username: tidy_trax
Re: 'move file' option.. #55142 17/10/03 06:08 AM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
You shouldn't need to, if I move a file (using "Save as.."), $scriptdir will return the new dir as soon as I click OK.

Re: 'move file' option.. #55143 17/10/03 03:09 PM
Joined: Jun 2003
Posts: 384
D
DekuHaze Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2003
Posts: 384
Quote:
i think there should a be a move file option in the script editor, many a time i move a script to a different directory and then $scriptdir still returns the directory it was in when you loaded it.


This is cos the scripts are loaded into memory on mIRC startup (if you've set them to auto-load on mIRC execution) and so any changes you make to the scripts are only stored in memory until you save. You best bet is to unload, move and then reload the scripts smile

Re: 'move file' option.. #55144 17/10/03 11:00 PM
Joined: Feb 2003
Posts: 810
C
cold Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
Go to "Save as...", delete the original file from there, then save it on the folder you'd move it into.


* cold edits his posts 24/7
Re: 'move file' option.. #55145 17/10/03 11:01 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
never noticed save as, heh. thanks smile


new username: tidy_trax