What?
This is a very quick article on sending an email with Deluge which needs a dynamic number of files attached to it.
Why?
This came up during a call with another developer and it occurred ...
... + " " + v_LastName);
info v_FullName;
//
// yields: Billie-Jo McDonald-O'Leary II of Cambridge-Worcester-Oxford
Caveat(s):
This solution does not cater for the Mac prefix; because "Mackayla", "Macie", ...
... sometimes works but sometimes yields:
// Me,Myself,I\na,b,c
Works on systems where the above doesn't work:
l_CsvFileRows = List();
l_CsvFileRows.add("Me,Myself,I");
l_CsvFileRows.add("a,b,c");
//
v_CSVFilename ...
... yields
// https://i.ebayimg.com/00/s/SAMPLE/z/ELPMAS/$_57.JPG?set_id=1234567890,https://i.ebayimg.com/00/s/SAMPLE/z/ELPMAS/$_57.JPG?set_id=1234567891
Note that for the below code, only 1 image is accepted ...
... (eg. "Wednesday9March"), which yields the following:
Then I get rid of the label with the following CSS:
label.zc-Calendar_Day_Select-label
Then get rid of the round circles for radio inputs ...
... / return response
return m_Output;
Click "Save" and Done!
Yields:
Additional Note(s):
If the user's profile is blank, the rule will not apply to them.
l_Disallowed = List();
l_Disallowed.add("Joel");
if(l_Disallowed.contains(""))
{
in ...
... "$1", false);
// yields 12.3
// same expression again but with a different value
v_Test2 = 12.000;
info v_Test2.toString().replaceAll("(\\.\\d*?[1-9])0+$", "$1", false);
// yields 12.000
So ...
... v_DecodedString;
// yields: Father & Sons
A more comprehensive list
v_HtmlEntityNames = "amp,lt,gt,nbsp,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,Agrave,Aacute,Acirc,Atilde,Auml,Aring,AElig,Ccedil,Egrave,Eacute,Ecirc,Euml,Igrave,Iacute,Icirc,Iuml,ETH,Ntilde,Ograve,Oacute,Ocirc,Otilde,Ouml,times,Oslash,Ugrave,Uacute,Ucirc,Uuml,Yacute,THORN,szlig,agrave,aacute,acirc,atilde,auml,aring,aelig,ccedil,egrave,eacute,ecirc,euml,igrave,iacute,icirc,iuml,eth,ntilde,ograve,oacute,ocirc,otilde,ouml,divide,oslash,ugrave,uacute,ucirc,uuml,yacute,thorn,yuml,OElig,oelig,Scaron,scaron,Yuml,fnof,circ,tilde,Alpha,Beta,Gamma,Delta,Epsilon,Zeta,Eta,Theta,Iota,Kappa,Lambda,Mu,Nu,Xi,Omicron,Pi,Rho,Sigma,Tau,Upsilon,Phi,Chi,Psi,Omega,alpha,beta,gamma,delta,epsilon,zeta,eta,theta,iota,kappa,lambda,mu,nu,xi,omicron,pi,rho,sigmaf,sigma,tau,upsilon,phi,chi,psi,omega,thetasym,upsih,piv,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,bull,hellip,permil,prime,Prime,lsaquo,rsaquo,oline,frasl,euro,image,weierp,real,trade,alefsym,larr,uarr,rarr,darr,harr,crarr,lArr,uArr,rArr,dArr,hArr,forall,part,exist,empty,nabla,isin,notin,ni,prod,sum,minus,lowast,radic,prop,infin,ang,and,or,cap,cup,int,there4,sim,cong,asymp,ne,equiv,le,ge,sub,sup,nsub,sube,supe,oplus,otimes,perp,sdot,lceil,rceil,lfloor,rfloor,lang,rang,loz,spades,clubs,hearts,diams";
v_HtmlEntityChars ...
... {
v_StartTime = r_SubformRow.Start_Time;
}
}
}
// yields
// UnPredictable exception, Invalid statement found Line:(20)
However, I'm not bad at producing errors ...
... '}'
-X POST "https://your-development-store.myshopify.com/admin/api/2021-10/products/9876543210987/images.json" \
-H "X-Shopify-Access-Token: "
Yields something like the following response:
{
...
... - 1);
}
//
// output
info "[" + l_ProductIDs + "]";
info l_ProductIDs.size();
}
Yields something like:
[
1234567890123,
2345678901234
]
2
Well that produces a lot of ID numbers ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.