Re: Change of Topic ... Wildcards Re: Transfer SM files from Win 7 to Win 10 machine

2021-03-18 Thread NFN Smith

Ray Davison wrote:

Daniel wrote:

So, if I had my profile at 
H:\here\there\anywhere\AppData\Roaming\Mozilla\Seamonkey\Profiles


would the %APPDATA%\Mozilla\Seamonkey command locate my Profile??


Putting profiles anywhere you want is easy and does not require editing 
any existing files.


Definitely easiest to do with the Profile Manager.



It helps if you understand sub-directories, and work in them rather than 
the Win overlay "folders".


Create a sub-directory, anywhere Win has access, give it any name you 
chose that is valid and compatible with surrounding files.


Put none, part, or all of an existing profile in the new sub-directory.


I'm not even sure that you have to do that.  Run the Profile Manager, 
create a new profile, and make sure you use the Choose Folder button. 
That pops up an Explorer dialog, where you can choose the precise 
location (and name, without the random characters).




Create a new or edit an existing shortcut so that the target is in the 
form of; "Y:\SM2495\seamonkey.exe -Profilemanager".


Run the shortcut.  SM will open to profile manager. Select "create 
profile".  Pause and study each page.  Profile manager is going to 
suggest a default type profile in the default location.  Scrap that. 
Enter the name you wish to show on your profile menu.  Lead SM to where 
you created the new sub-directory.


As noted, you can do the directory creation in the Profile Manager, 
without having to do it separately.




When you finish, a profile menu will appear, with your new profile.  Run 
that profile.  SM will create whatever it needs for that version.  If in 
your new profile you put an entire profile from a previous version, SM 
will just update it.  If you left the new profile empty, SM will create 
a complete profile.  If you just put a few files, maybe passwords, SM 
will use what it can and create the rest.


By having SM always open to profile manager, you can add an new version 
along side the old, and keep the old until you decide you like the new 
better.  And you can have as many profiles as you chose.  I always have 
several test profiles.  That way if I want to try something I an not 
concerned about breaking a working profile.


I fully concur on that one.  I do that with both Seamonkey and Firefox 
(and even Thunderbird) on several machines.  I have my primary Seamonkey 
profile fairly heavily tweaked, especially with limits on cookie 
handling, ad blocking and script blocking.  I'm used to a lot of web 
sites not working correctly when first visit (and me having to adjust 
temporary permissions in NoScript).  But I can't always get things to 
behave correctly, and a lot of times (especially with sites related to 
e-commerce), it's faster and easier to simply use a profile that's 
mostly untweaked for that one transaction.


But there's also use for all sorts of testing. In both Seamonkey and 
Firefox, I maintain profiles that have no tweaking other than settings 
to clear all history at the end of a session. I title those "bare 
metal". Thus, if Seamonkey isn't working the way I want it, restarting 
with the bare metal profile helps me to quickly determine whether I have 
a generic problem with Seamonkey, or that there's something that's amiss 
with my primary profile.  Nearly always, it's the latter.  With Firefox, 
I have a profile that I use to evaluate new extensions. And on a virtual 
machine, I have both a beta of Seamonkey 2.53.8 and an alpha of 2.57 
installed (separate directories) where I can watch developments of both. 
 Because profiles aren't backward-compatible, I have separate profiles 
for each version of Seamonkey, where the 2.53 installation uses a 
profile that I use only with that, and where the 2.57 installation uses 
its own profile, and doesn't touch the 2.53 profile.


Smith

___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Re: Change of Topic ... Wildcards Re: Transfer SM files from Win 7 to Win 10 machine

2021-03-17 Thread Daniel

NFN Smith wrote on 18/3/21 2:26 am:

Dirk Fieldhouse wrote:

On 17/03/2021 06:12, Daniel wrote:

Jonathan N. Little wrote on 16/3/21 11:03 pm:
...>

%APPDATA% is an environmental variable in Windows like $HOME is for
Linux. In Windows the profile is in a hidden directory off of the user
directory  C:\Users\USERNAME\Appdata\Mozilla\SeaMonkey whereas in Linux
it is in the hidden directory /home/USERNAME/.mozilla/seamonkey


So, if I had my profile at

H:\here\there\anywhere\AppData\Roaming\Mozilla\Seamonkey\Profiles

would the %APPDATA%\Mozilla\Seamonkey command locate my Profile??


Only if the APPDATA environment variable were set to 
'H:\here\there\anywhere\AppData\Roaming'.


Then the string '%APPDATA%\Mozilla\Seamonkey' would identify where 
your Profiles directory is, in a context where environment variables 
are expanded; one of those is a script (CMD or PowerShell); another is 
reading a string from a Windows registry setting of type REG_EXPAND_SZ 
(the normal way APPDATA is used).


Plus, if you have %APPDATA% set to something other than what Microsoft 
provides, it means that *all* your application data would be located 
there, and nearly anything you have installed on your computer is going 
to have a folder there.  There may be specific reason that you might 
want to do that, but if you do, you had better know exactly what you're 
doing, as you run a real risk of screwing up your computer, especially 
if H: is on removable media.  Even H: as a networked location is 
questionable.


If you think you might want to relocate your Seamonkey data, then the 
way of doing that is by editing your profiles.ini file, and changing the 
location that it points to (and not touching other application data).


Environment variables can be set system-wide as well as per-user in 
Windows (and, somewhat differently, in Unix-like OSs). The settings 
are inherited down the process hierarchy. See 
.


Really useful, if you know what to do with them.

As noted previously, on my primary working machine, I typically set 
several for my own use, including the location of a folder that's fairly 
far down in the directory hierarchy, making it easy to get to quickly, 
both through the Windows Explorer and from a command prompt. The value 
to the command prompt is getting to that data quickly without having to 
manually enter the entire path to get there.  I also have a couple of 
command-based utilities, where use of environment variables allows me to 
set a couple of default conditions, so that I don't have to remember 
those settings when I'm using them.


Smith


O.K., so not as useful as I'd hoped. Thanks.
--
Daniel

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 
SeaMonkey/2.53.6 Build identifier: 20210117210643


User agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 
SeaMonkey/2.53.6 Build identifier: 20210118013008

___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Re: Change of Topic ... Wildcards Re: Transfer SM files from Win 7 to Win 10 machine

2021-03-17 Thread Ray Davison

Daniel wrote:


So, if I had my profile at 
H:\here\there\anywhere\AppData\Roaming\Mozilla\Seamonkey\Profiles

would the %APPDATA%\Mozilla\Seamonkey command locate my Profile??


Putting profiles anywhere you want is easy and does not require editing 
any existing files.


It helps if you understand sub-directories, and work in them rather than 
the Win overlay "folders".


Create a sub-directory, anywhere Win has access, give it any name you 
chose that is valid and compatible with surrounding files.


Put none, part, or all of an existing profile in the new sub-directory.

Create a new or edit an existing shortcut so that the target is in the 
form of; "Y:\SM2495\seamonkey.exe -Profilemanager".


Run the shortcut.  SM will open to profile manager. Select "create 
profile".  Pause and study each page.  Profile manager is going to 
suggest a default type profile in the default location.  Scrap that. 
Enter the name you wish to show on your profile menu.  Lead SM to where 
you created the new sub-directory.


When you finish, a profile menu will appear, with your new profile.  Run 
that profile.  SM will create whatever it needs for that version.  If in 
your new profile you put an entire profile from a previous version, SM 
will just update it.  If you left the new profile empty, SM will create 
a complete profile.  If you just put a few files, maybe passwords, SM 
will use what it can and create the rest.


By having SM always open to profile manager, you can add an new version 
along side the old, and keep the old until you decide you like the new 
better.  And you can have as many profiles as you chose.  I always have 
several test profiles.  That way if I want to try something I an not 
concerned about breaking a working profile.


Ray



___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Re: Change of Topic ... Wildcards Re: Transfer SM files from Win 7 to Win 10 machine

2021-03-17 Thread NFN Smith

Dirk Fieldhouse wrote:

On 17/03/2021 06:12, Daniel wrote:

Jonathan N. Little wrote on 16/3/21 11:03 pm:
...>

%APPDATA% is an environmental variable in Windows like $HOME is for
Linux. In Windows the profile is in a hidden directory off of the user
directory  C:\Users\USERNAME\Appdata\Mozilla\SeaMonkey whereas in Linux
it is in the hidden directory /home/USERNAME/.mozilla/seamonkey


So, if I had my profile at

H:\here\there\anywhere\AppData\Roaming\Mozilla\Seamonkey\Profiles

would the %APPDATA%\Mozilla\Seamonkey command locate my Profile??


Only if the APPDATA environment variable were set to 
'H:\here\there\anywhere\AppData\Roaming'.


Then the string '%APPDATA%\Mozilla\Seamonkey' would identify where your 
Profiles directory is, in a context where environment variables are 
expanded; one of those is a script (CMD or PowerShell); another is 
reading a string from a Windows registry setting of type REG_EXPAND_SZ 
(the normal way APPDATA is used).


Plus, if you have %APPDATA% set to something other than what Microsoft 
provides, it means that *all* your application data would be located 
there, and nearly anything you have installed on your computer is going 
to have a folder there.  There may be specific reason that you might 
want to do that, but if you do, you had better know exactly what you're 
doing, as you run a real risk of screwing up your computer, especially 
if H: is on removable media.  Even H: as a networked location is 
questionable.


If you think you might want to relocate your Seamonkey data, then the 
way of doing that is by editing your profiles.ini file, and changing the 
location that it points to (and not touching other application data).


Environment variables can be set system-wide as well as per-user in 
Windows (and, somewhat differently, in Unix-like OSs). The settings are 
inherited down the process hierarchy. See 
.


Really useful, if you know what to do with them.

As noted previously, on my primary working machine, I typically set 
several for my own use, including the location of a folder that's fairly 
far down in the directory hierarchy, making it easy to get to quickly, 
both through the Windows Explorer and from a command prompt. The value 
to the command prompt is getting to that data quickly without having to 
manually enter the entire path to get there.  I also have a couple of 
command-based utilities, where use of environment variables allows me to 
set a couple of default conditions, so that I don't have to remember 
those settings when I'm using them.


Smith


___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Re: Change of Topic ... Wildcards Re: Transfer SM files from Win 7 to Win 10 machine

2021-03-17 Thread Dirk Fieldhouse

On 17/03/2021 06:12, Daniel wrote:

Jonathan N. Little wrote on 16/3/21 11:03 pm:
...>

%APPDATA% is an environmental variable in Windows like $HOME is for
Linux. In Windows the profile is in a hidden directory off of the user
directory  C:\Users\USERNAME\Appdata\Mozilla\SeaMonkey whereas in Linux
it is in the hidden directory /home/USERNAME/.mozilla/seamonkey


So, if I had my profile at

H:\here\there\anywhere\AppData\Roaming\Mozilla\Seamonkey\Profiles

would the %APPDATA%\Mozilla\Seamonkey command locate my Profile??


Only if the APPDATA environment variable were set to 
'H:\here\there\anywhere\AppData\Roaming'.


Then the string '%APPDATA%\Mozilla\Seamonkey' would identify where your 
Profiles directory is, in a context where environment variables are 
expanded; one of those is a script (CMD or PowerShell); another is 
reading a string from a Windows registry setting of type REG_EXPAND_SZ 
(the normal way APPDATA is used).


Environment variables can be set system-wide as well as per-user in 
Windows (and, somewhat differently, in Unix-like OSs). The settings are 
inherited down the process hierarchy. See 
.


/df

--
London
UK
___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Re: Change of Topic ... Wildcards Re: Transfer SM files from Win 7 to Win 10 machine

2021-03-16 Thread Daniel

Jonathan N. Little wrote on 16/3/21 11:03 pm:

Daniel wrote:

Smithy, would it be fair to suggest that Windows treats the %APPDATA% as
a sort of Wildcard, and just concentrates on looking all over the disk
for the bit that follows the %APPDATA%??


%APPDATA% is an environmental variable in Windows like $HOME is for
Linux. In Windows the profile is in a hidden directory off of the user
directory  C:\Users\USERNAME\Appdata\Mozilla\SeaMonkey whereas in Linux
it is in the hidden directory /home/USERNAME/.mozilla/seamonkey


So, if I had my profile at

H:\here\there\anywhere\AppData\Roaming\Mozilla\Seamonkey\Profiles

would the %APPDATA%\Mozilla\Seamonkey command locate my Profile??
--
Daniel

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 
SeaMonkey/2.53.6 Build identifier: 20210117210643


User agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 
SeaMonkey/2.53.6 Build identifier: 20210118013008

___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Re: Change of Topic ... Wildcards Re: Transfer SM files from Win 7 to Win 10 machine

2021-03-16 Thread NFN Smith

Jonathan N. Little wrote:

Daniel wrote:

Smithy, would it be fair to suggest that Windows treats the %APPDATA% as
a sort of Wildcard, and just concentrates on looking all over the disk
for the bit that follows the %APPDATA%??


%APPDATA% is an environmental variable in Windows like $HOME is for
Linux. In Windows the profile is in a hidden directory off of the user
directory  C:\Users\USERNAME\Appdata\Mozilla\SeaMonkey whereas in Linux
it is in the hidden directory /home/USERNAME/.mozilla/seamonkey


And to complete the loop, the Linux reference is normally 
$HOME/.mozilla/seamonkey .  On a Mac, it's ~/Library/Application 
Support/SeaMonkey .


In Windows, if you go out to a command window and enter  SET  you'll see 
a list of all the currently-set environment variables.  On a typical 
system, there are several dozen -- many are pointers to specific 
folders, but others contain useful information, which is often useful to 
programmers. On my own machine, I also have several variables that I set 
myself, to allow for quick access.


You can also get to the list of environment variables via the System 
Properties. That's in the Advanced tab, and then clicking the 
Environment Variables button.



For individual users, there are a handful that are worth knowing about 
(and using):


  %HOMEPATH%  The location of your home directory.  As with %APPDATA% 
this allows you to not have to reference the Windows user name directly.


  %TEMP% and %TMP%  The location of the Temporary folder within your 
user profile.  This allows for all sorts of temporary information.  In 
Seamonkey, my experience is if I open an attached file (e.g., PDF, Word, 
Excel, etc.) then the file is actually copied here.  Thus, if I open an 
attached file in its associated application, then close, I can re-open 
by navigating to %TEMP% and opening the file from there.  If I repeat 
the opening of the attachment in Seamonkey, then the effect is that 
there's a duplicate copy in %TEMP .


  %USERNAME% can also be a useful variable to know about, as it quickly 
gets you the actual name used for your Windows login ID.



Going back to at least tangentially on-topic point about Seamonkey 
(actually all Mozilla apps) is that the use of environment variables is 
part of what makes profiles portable across platforms.  Thus, if I have 
Seamonkey data in %APPDATA%\Mozilla\Seamonkey in Windows, I can copy it 
to $HOME/.mozilla/seamonkey on Linux or ~/Library/Application 
Support/SeaMonkey on a Mac . The only thing that needs to done in the 
transfer is editing the profiles.ini file of changing directory names 
from the back slashes that Windows uses to forward slashes that are used 
on UNIX-derived systems.


Stepping back one further step, for moving from one Windows system to 
another a straight copy is possible, although as described previously, I 
prefer copying the entire Seamonkey folder, to keep all the paths 
correct in profiles.ini.  Otherwise, you have to edit profiles.ini to 
make sure the paths specified there match what's actually on your drive.


(And as a separate thing, with editing profiles.ini, it is possible to 
locate your profile in a non-standard location.  I know that there's a 
few people who do that kind of thing, usually the ones who like keeping 
all their user data on a separate partition.  But you could also do 
something as simple as locating your profiles in somewhere like 
Documents (a non-hidden folder) to make it easier to make backups, 
whether a one-off backup when you're tinkering inside your profile, or 
making it easier to include your data in routine data backups).


Smith


___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Re: Change of Topic ... Wildcards Re: Transfer SM files from Win 7 to Win 10 machine

2021-03-16 Thread Jonathan N. Little
Daniel wrote:
> Smithy, would it be fair to suggest that Windows treats the %APPDATA% as
> a sort of Wildcard, and just concentrates on looking all over the disk
> for the bit that follows the %APPDATA%??

%APPDATA% is an environmental variable in Windows like $HOME is for
Linux. In Windows the profile is in a hidden directory off of the user
directory  C:\Users\USERNAME\Appdata\Mozilla\SeaMonkey whereas in Linux
it is in the hidden directory /home/USERNAME/.mozilla/seamonkey


-- 
Take care,

Jonathan
---
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Change of Topic ... Wildcards Re: Transfer SM files from Win 7 to Win 10 machine

2021-03-15 Thread Daniel

NFN Smith wrote on 16/3/21 10:52 am:



Thus if your Windows user name is "Doctor Bill", then the raw path to 
the Seamonkey Profiles folder would be:


   C:\Users\Doctor Bill\AppData\Roaming\Mozilla\Seamonkey\Profiles

I frequently see instructions ambiguated as something like:

   C:\Users\[Your ID]\AppData\Roaming\Mozilla\Seamonkey\Profiles

but that's kind of clumsy, because it takes an instruction of "replace 
[Your ID] with your Windows user name", and beyond that, not everybody 
even knows their Windows user name (especially if it was pre-defined in 
Windows setup).


Thus, by directing to %APPDATA% the path name is shorter, and you don't 
have to make adjustments to get the user name correct.


And as noted separately, the correct name is profiles.ini, not 
profile.ini.  Mea culpa.


Smith

Smithy, would it be fair to suggest that Windows treats the %APPDATA% as 
a sort of Wildcard, and just concentrates on looking all over the disk 
for the bit that follows the %APPDATA%??

--
Daniel

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 
SeaMonkey/2.53.6 Build identifier: 20210117210643


User agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 
SeaMonkey/2.53.6 Build identifier: 20210118013008

___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey