Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
64 user(s) are online (20 user(s) are browsing Forums)

Members: 1
Guests: 63

Maijestro, more...

Headlines

Forum Index


Board index » All Posts (JosDuchIt)




Amidock problems -Solved
Just can't stay away
Just can't stay away


It is not the first time that adding some docky to Amidock that Amidoc is not appearing correctly.
I don'tknow any more how it happened (but still have the faulty /xml file but then the Amodock bar just did not appear any more.
I don't remember how i fixed it.

This time updating zztools and adding as suggested in the install Webreplay to Amidock i still have an Amidock var (of expected length) but only some webreplay item appears at the left side (opposed to the "edit" button.) No other icon appears.

Any suggestion how to fix this? Is there some xml testing program ?
=== editedI
I did use an online xml testing program. It did not find an error

Saving withSGrab the Amidock settings for a working .xml prefs file i did note that layout/placement was set to "normal" wheras in the nonworking prefs it was set to "always in background"
restoring it to normal the icons adpeared again.

I really don't see the utility of such a possibility, and wondering how it was set.



Edited by JosDuchIt on 2016/10/27 11:43:46
Edited by JosDuchIt on 2016/10/27 11:46:07
Go to top


Re: YAM arexx port
Just can't stay away
Just can't stay away


@xenic

I teted ot on YAM 2.7 here to & indeed it works here too
It fails on YAM2.9 and on YAM2.10Dev

Go to top


Re: YAM arexx port
Just can't stay away
Just can't stay away


@Elwood
Thanks that is a usefull reminder
i am not not sure however on what post you are replying,
i guess the latest and this is a suggestion to replace
the

IF RC ~= 0 THEN EXIT
line.


This is not the problem right now; Did you note i was not longer testing the MAILINFO or SETMAILFILE : i can use both of them now.
This is not the case with ADDRINFO.

This command has as template
ADDRINFO VAR/K,STEM/K,ALIAS/A
and whatever i try it fails. (see all alternative used in the latest script and the given reference script http://yam.ch/wiki/Documentation/ARexxAPI/ADDRINFO

from which it was derived.
In fact i think since we have the command ADDRGOTO ALIAS/A

a simpler command
ADDR_INFO VAR/K,STEM/K,
might do.

Before reporting my problems as a bug or suggesting this simpler command to the YAM authors i want to be sure others observe the same difficulty with the ADDRINFO command.

Can you/anybody check this?


Go to top


Re: YAM arexx port
Just can't stay away
Just can't stay away


I encounterd an other problem with the ADDRINFO arexx command
An example script is given here http://yam.ch/wiki/Documentation/ARexxAPI/ADDRINFO
The exapmle does not work for me (after changing the ALIAS to 'Liesl' which is an existing entry in my .addressbook file

I completed the script as below and noted the resulting trace for the different ADDRINFO lines i used.
Not one is working including the origial (edited line)
Is this only here?


/* _AddrInfo.yam Test of 
ADDRINFO VAR/K,STEM/K,ALIAS/A
*/
OPTIONS RESULTS

/* Ignore possible error from ADDRINFO */
OPTIONS FAILAT 11

/*PARSE ARG HALIAS*/
ADDRESS YAM
ADDRLOAD 
'YAM:.addressbook' OPEN
"Liesl"
/* Find a given entry */
/* ADDRGOTO 'Liesl' // added noeffect */

/*ADDRINFO 'mars' STEM st. // original example */
ADDRINFO 'Liesl' STEM st/* "ADDRINFO Liesl STEM ST." nok*/
/* ADDRINFO "Liesl" STEM st.  // "ADDRINFO Liesl STEM ST." nok*/

/*'ADDRINFO "'n'"'  STEM st. //  "ADDRINFO "Liesl" STEM ST." nok*/
/* 'ADDRINFO ' || n   STEM st. // "ADDRINFO Liesl STEM ST." */
'"'n'"'
say n
 
/*'ADDRINFO ' || n   STEM s //"ADDRINFO "Liesl" STEM ST."*/


/* Only continue if RC == 0 */
SAY 'RC is' RC
IF RC ~= 0 THEN EXIT

/* List results */
SAY 'Type of entry: 'st.type /* ST.TYPE */
SAY 'Real name:     'st.name
SAY 
'Email address: 'st.email
SAY 
'PGP key ID:    'st.pgp
SAY 
'Homepage:      'st.homepage
SAY 
'Street:        'st.street
SAY 
'City:          'st.city
SAY 
'Country:       'st.country
SAY 
'Phone #:       'st.phone
SAY 
'Description:   'st.comment
SAY 
'Date of birth: 'st.birthdate
SAY 
'Portrait:      'st.image




Go to top


Re: YAM arexx port
Just can't stay away
Just can't stay away


@,bache
@MickJT
Thanks
all three Setenv examples work

I lost much time trying to verify with "echo $envar" if the env variables were set..instead of using getenv. :(



Go to top


Re: YAM arexx port
Just can't stay away
Just can't stay away


In a previous post i was wondering if there was a bug in YAM's arexx port.

The posted code (and errors reported) did point me to the source of the errors
after you address YAM and do a
'Mailinfo STEM' mi.

you get an error for any address info (mi.from, mi.to , mi.resentto, ...)
when you send the DOS command
'SetEnv .Yfrom' mi.from
=> "Unable to open redirection file"
this is because mi.from is a string containing sharp brackets ( eg Sender Jo <senderjo@telenet.be>)

I did not succeed in "quoting" the string to make SetEnv accept the string.
Can this be done?

I used a function


repbraces:
a = arg(1)
n = pos("<",a)

s = delstr(a,n,1)
s = insert("[",s,n-1,1)
n = pos(">",s)
s = delstr(s,n,1)
s = insert("]",s,n-1,1)
return s

to transform the brackets to square brackets.

Maybe there is a neater way?




Edited by JosDuchIt on 2016/10/20 19:35:30
Go to top


Re: YAM arexx port
Just can't stay away
Just can't stay away


@xenic
thnaks , one problem solved

Go to top


YAM arexx port, one more problem
Just can't stay away
Just can't stay away


The following code

/* _MailInfo.yam - YAM/Gui4CLI interface                     */


OPTIONS RESULTS
ADDRESS YAM
Mailinfo STEM mi
.
ADDRESS COMMAND
SetEnv 
'.YmMsg.Idx' mi.INDEX
SetEnv 
'.YmMsg.Sts' mi.STATUS
SetEnv 
'.YmMsg.Frm' mi.FROM
SetEnv 
'.YmMsg.To' mi.TO
SetEnv 
'.YmMsg.RTo' mi.REPLYTO
SetEnv 
'.YmMsg.CC' mi.CC
SetEnv 
'.YmMsg.BCC' mi.BCC
SetEnv 
'.YmMsg.RstTo' mi.RESENTTO
SetEnv 
'.YmMsg.Sbj' mi.SUBJECT
SetEnv 
'.YmMsg.Nme' mi.FILENAME
SetEnv 
'.YmMsg.Sze' mi.SIZE
SetEnv 
'.YmMsg.Dte' mi.DATE
SetEnv 
'.YmMsg.Flg' mi.FMAGS
SetEnv 
'.YmMsg.MId' mi.MSGID


gives the results

16.Stock:Internet/YAM_2.10/Rexx> Rx "_MessageInfo_.yam"
SETENV: unable to open redirection file
10 *-* SetEnv '.YmMsg.Frm' mi.FROM;
+++ Command returned 10
SETENV: unable to open redirection file
11 *-* SetEnv '.YmMsg.To' mi.TO;
+++ Command returned 10
SETENV: unable to open redirection file
12 *-* SetEnv '.YmMsg.RTo' mi.REPLYTO;
+++ Command returned 10
SETENV: unable to open redirection file
21 *-* SetEnv '.YmMsg.MId' mi.MSGID;
+++ Command returned 10

the environment variables not mentioned in the error message are set correctly.

I guess at least this could be a bug, or??

Go to top


Re: YAM arexx port
Just can't stay away
Just can't stay away


I was able to make the setmailfile command work via the Gui4Cli sendrexx command.
It does not work for me however with the RX command or in a arexx script.


Go to top


Re: YAM arexx port
Just can't stay away
Just can't stay away


@nbache
Thanks for looking at it

in fact my path was incomplete, but i still have the same error code.
Using only the file name (and verifying the current folder indeed is "Ermias")
I have this.
15.OS4.1FE:> RX "address YAM; setmailfile 'Stock:Internet/YAM_2.10/Folders/Ermias/SJ7A2AAFF7A=.001,R' " 
  
*-* setmailfile 'Stock:Internet/YAM_2.10/Folders/Ermias/SJ...
+++ Command returned 10
15.OS4.1FE:> RX "address YAM; setmailfile '
SJ7A2AAFF7A=.001,R' " 
  1 *-* setmailfile '
SJ7A2AAFF7A=.001,R';
+++ Command returned 10


In fact i was reanimating an old script (YAM2.4) that did not work any more with YAM2.10
I was suspicious of the "=" now appearing in the file names, but that should be taken care of with the single quotes in the command, isn't it?

Could you check if setmailfile is working for you?


Go to top


YAM arexx port
Just can't stay away
Just can't stay away


What is wrong with this ?
5.OS4.1FE:> RX "address YAM; setmailfile 'Stock:Internet/YAM_2.10/Folders/SJ7A2AAFF7A=.001' "
1 *-* setmailfile 'Stock:Internet/YAM_2.10/Folders/SJ7A2AAFF...
+++ Command returned 10


Go to top


Re: Image thumbnail viewer
Just can't stay away
Just can't stay away


@xenic
thanks.
Speed is nice.
Double clicking LOView opens on the image. You then can "rename" the file and there copy the name to clipboard (which is what i was after)


Go to top


Re: Image thumbnail viewer
Just can't stay away
Just can't stay away


@broadblues
Quote:

Sensible answer, having menu item to insert the current text clip into a filename is slightly insane....

having a menu item inserting the current text into the file's comment though ..;

Go to top


GSGui_OS4.lha
Just can't stay away
Just can't stay away


I got the file above with an automatic update of my OS4.1FE system

Unarc is not able to open it.
Anybody had more luck?
The file is 173.626 bytes long, but when downloading (to ram as proposed automatically) the file is said to be 173.883 bytes long. Don't know if this give a clue.


Go to top


Re: Image thumbnail viewer
Just can't stay away
Just can't stay away


@broadblues
thanks a lot.

Go to top


Re: Image thumbnail viewer
Just can't stay away
Just can't stay away


@broadblues
Splendid
Could i also have an additional choice copying only the image's name, not the full path?

Go to top


Re: Image thumbnail viewer
Just can't stay away
Just can't stay away


@Severin
Thanks,
its indeed very fast. It comes also with the possibility to "rename" an image, so i can save it to clipboaard. Its possibility to define the directories you want to work with is great too. You can easily open more than one directories you need.... Much to explore

Go to top


Re: Image thumbnail viewer
Just can't stay away
Just can't stay away


@broadblues and @RIBDEVIL
Thanks, that works. What's more using the "rename" function i am able to copy the file name to clipboard.

It still would be nicer if, next to rename you had the choice to save the filename (or filepath or both) to clipboard directly.

The task i am tackling is selecting from a lot of (sub)drawers the images i want to put in a number of html pages (website)
So having direct acces to the relative filepath directly would be the best.

I could test locally if a link <img src="ThisSubdrawer.thatImage.jpg">
is recognised.
The "rename" possibility is a big progressin how i can work, but still...
Maybe Thomas Rapp can add this possibility to Thumb.
I love its ability to launch it from shell

Go to top


Re: Image thumbnail viewer
Just can't stay away
Just can't stay away


@RIBDEVIL
I have this
http://users.online.be/AD/WBThumb.jpg
i don't see thumbnails however in my WB drawers

Go to top


Re: Image thumbnail viewer
Just can't stay away
Just can't stay away


@Severin
Thanks, Thumb seems very nice

I tried to install PicShow too but got en error msg
"interpreter executing non-function on line 210"


Edited by JosDuchIt on 2016/8/21 10:47:41
Go to top



TopTop
« 1 ... 7 8 9 (10) 11 12 13 ... 56 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project