Post an image on the forum via script

Example scripts and tips (replaces Old Scripts & Tips archive)

Moderators: Dorian (MJT support), JRL, Phil Pendlebury

Post Reply
User avatar
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post an image on the forum via script

Post by JRL » Thu Oct 27, 2022 9:12 pm

So you've got a problem and you want to be able to post an image on the forum to help others diagnose your issue. But you can't. What you can do is post a link to an image that you place on some other web page.

Image

And most images currently posted on the forum seem to work as well as the one above.

They display this week but are deleted from the other site in six months so a future forumite wanting to know if your old problem matches their new problem is left guessing.

I've never done this, until now, but if you have a small enough image you could post it as a part of a script

Code: Select all

ExportData>SCREENSHOT-2022-07-05-13-30-50.PNG_DATA,%desktop_dir%\Putty_Message.png

ExecuteFile>%desktop_dir%\Putty_Message.png

/*
SCREENSHOT-2022-07-05-13-30-50.PNG_DATA:
89504E470D0A1A0A0000000D494844520000018F0000010408020000005F8F2FAB000023464944415478DAED9D6D8C15D779C7CF6288ADAA525BA912715CC9B19C15756A242BF0A190C8D8C28A1A6A211C1A5862070231BB8AA5C88B2B1A5A7915BFB4722A2AB33696CDEEDA29269185F810592DF84A45287270B094D86A044
E302CD8207B41B61AB51F9A0663623A73E7DE99F3F29C9779BB3367E6FFFB0077EF9D39F39C3367FEF39C33E79967E837BFF9CD952B579E78E209060000B5E4A1871E5AB060C1D0871F7EF8F1C71FEFDCB973D7AE5D559B04000032DBB66DFBCE77BEF3A94F7D6AE8830F3EF8E8A38F9E7CF249A81500A086046AF5C0030F5C
7BEDB543172F5E0CD46A7272126A0500A821815A8D8D8D856A35373717A8D5D34F3F0DB50200D49040ADEEBFFFFEEBAEBB6EE8FDF7DF0FD46AF7EEDD502B00400D09D46ACB962DA15ABDFAEAAB972F5FDEBF7FFFF3CF3F5FB555000020133856AB57AF0E67D9CF9F3F1FF856CF3EFB2C7C2B00400D097CAB4D9B3685F356E7C
E9D0BD4EAB9E79EE3D4AA3336B46ABAF779F9E4ECCF1EFC1C5D0ABF9D01A188609F97D75C9DFA0A55CAE82BC20F3938F3D417870FACD35BAE23B485F156045FFCE3E7D3970300E0191A1A7AE38D37962C59227DFFE69B6F2E5DBAF4EAD5AB867D03B5FAC637BE118E04DF7DF7DD40ADF6ECD923AA55EF1275BBEAD54B9AFB26
2CE2D70FF70420F863137B91DB92FFF5CC534FCD3EF860317265B04D4F68DDAF6F656F7D3EB1D07177881A002602555AF6C52FBDFEB3D778C122BF5409D4EABEFBEE0B7DAB77DE792750ABA9A92952ADDCAE43A35AF17F908E55B997798A034452FA22DBC4092AD40A806290B4C951AA5857ADEEBDF7DE50ADCE9E3D1BA8D5F
4F4B44DAD0C126651ABBE47F5D787382F8BDB72D55BD2683374B8C68F859FE2B1A1F495D64236CAA6A76F7DE5EA9A97C32F1FFEF5707FA83A3A39F9D6787274425EFA7E1FE3FD3FC949E4AD8A0F772C29A3B8B12C00CD2356A8E0B3A354B1AE5A6DD8B0211C09066A75E9D2A5999919DB4830875A45B3559F9F7CEB80300AEC
D39381FE95CEEDDB19FBE2E9ED5DFD90C6A33AB58A858F1259CEB3539D3C6E90CA0F57E972BA56CD5287ABBA3B00506F22C10A3E384A15EBAAD5C8C88841ADE2D9F3D85BC8A556519126CFA32B59815334351CBB30FDE36F3FADF864EEDE9FF465A4513DBDF99C78FC58A2B8C9B4FEEE4CB16A8AA51C2F030032AAD5FAF5EBE
DBE15473EB572B89E7B1AA16A93304F6F30C6FA2539331517283DDE4C867B7DB572B1A1920E00801F641E09A6552BD1E110E69A72A855E7A9A7861F8C1D9AEE706F5699C9529F4C92C6D8D58A7AEA475A17974F0E33D57DA0560058C833CB9E56AD38FF63747474FAAD827C2BCEA921A6D4E32F9545598431B47CF436E466C5
C41555B4717DB962D42CBB3A12948F0200E0C9B982C1A0564D86985F0700944CCED5A1AD542B65752A00A0E6B450ADA2819C2990080050435AA85600002F815A0100FC006A0500F003A81500C00FA05600003F805A0100FC60E3B66D0F40AD0000F5E78EF50F7C7FDB46A81500A0EE2C5DFDAD67FE612BD40A005077306F050
0F003A81500C00F30120400F8017C2B00801F40AD00007E00B50200F801D40A00E007502B00801F40AD00007E00B50200F801D40A00E007502B00801F40AD00007E00B50200F801D40A00E007502B00801F40AD00007E00B50200F801D40A00E007502B00801F54AD56737BC37F6FF866D5ED0000A83B55ABD54F6F0AFFBDFD
DDAADB010050772A55ABB9BDECEDCDE1873FFF57B8570000332B56AC5878EBDAB1ADB757A1563FBDE9EA1F9E0BFE1FFADFCF16E25E8D0D0D4D277F2DDB357B6CFC739DB1A1C76F093F0CA84E5ACE4C2EDFB9E8D8D457F45B643695DC314FC5837D5F5E73D5646B3EDB065088BA8B63A5F81D07D0797456653C74525CD0DF36B
27D35E8F80572CFE66DDF1DABC4B79A0B1DABDFDF1C7EBCE66C81EE95749AA156D556BB3E6A9561C70ADB30EBA1FB72D544B1621BBEBDEDC14DB15A9D9E19D9F2E2F10B170671E4AE63F5C99F861FE7FD5761EE15AD56BB166FDB167A5D91BBD5FF7E55F8D5E82BD28D2D38CDC3DB5EE77E90B60C0B64A36CFAC4E2E01F3611
7F171D53B7F13ABEE32987703395FB8E2B61CDCBBD5FF95DF876087767BD23F1E60D07659C94ED97DB309FA9F19F926D8425E141B42788399FC4F89BD1D1E9138A6F153708591A6F7FF4FD6CCACE239D6EAD79CB7605851EB845F4FDF5E774D6D8E5C8FEBF8F6D8CC44AED3C3591E32C0423C15BD77E77EBED9F09D4EA851D3
77FEBE2FAF1A3FBCBF7ADE6FA8ED5BCEE9F9F14E85EA96AB56A3AEA2EDC65ABBF03C99EB9B26558CA89EE993FD3BFDCF9EB40B7B168A1CEF9A74D4D9430F9C49760F0ADE25E4BD4E5EE833DFB9556502A94CB54E27AE015946C197103D79328DE35A48617E45B2D8DEA3F193A4F725483795D6162E24C85E19C125DCEE03A85
3F9D5CCCD89A635CCFD49C11CFD4AAEF5BBD3774F6C8C4DA956F2F1ABF61FF0046829C6315519C7B6518098AFDB5BF837883EC76A4C5CABD3AD9922B30B9EAA5FB18B531D31D82B45C7404E42F552369B53AB1ECF5C513F17114F38625FB554BF29BEA364A959DB06C27D17C1D9AED3457CDB1F3284A6737CFE59C1ABA1C750
52425B99FA6BC57DD60E8A9D56FFF73806A35273A561185B9578E1DDD7492B88E63EECDDDBE33B1EEC0E3F2AD5D630C790872637BDF321AC97A37E465CBD8BAB853AB9B49F6D366E733D541AD88DB7EB6933830B5D2759E0C25BB9C534397335F020D56AB818D0415C72AA220F7CAA5A387BDE2C03AC3598A1D6D754BA1FCD0
7D67A3276ED9DEBFF19936D61C82B4DC6550C58F37B58AB068277F5F966B1D4EFD9F5CDCB75FD786794CD57A978925F118481CF170A63A9E44EE1BCB48308F5A193A8F242B2EE6E99ADA7497E24E193954379F8733C27CA53A515163B891E06066D9E728C72AA218F7CA45AD92696A6AFE589C1995B754FC02FE7C9B37D61D8
2194D2566D9E512A2BF35B3ECDC0D5BAD35DD5F95514F765349DBA42A306A6A5C9965773989F137D65976BD73C1193C9BBEF370A53999A76D6A8D199AC931ED25409C91E43BA2956A8DF84C70002B18348E5544A10F07811DAB9309CA204FB3B7F9940D762DFB9CEC58CDBF31FCF7CAF9FE06453E1C0466A21BFD328F0602BE
93385B2C5BB3B7FD940D56AD14C74A562BB85700000D0354AB3962C64A552BB85700009201AA15356345A815DC2B0000C5A0D46A8E7E1448AA550EF7CAB3F5234590B9CA19D6DD58174FD5B0FD3BB660E69ADBAF1AD95E06A5569A4781B45A6577AF5A7852A1560536606DEDAFAD610365206A35A75D63A553ABACEE55870A4
33D2306CD322A9AD7B8B0C82DD258DC4B1BBC2AAF8412A2793B5C586C18C6A7FE2A1A33AB840D77F481BE7CD53A0EE1BB9279EAB11CCB61FA2566038821179745CA11DA79EDA70C26A28843ABA6C38779132787C39F3983E3C3710BADA4AED2DB497F96D58A9F3175726F239C07A256FA35565AB5CAE85E590356C341C1B03D
1AD952A079A9B631789551DD8258CDCD18FDAB628CB2B65E89A4D557CD12BE4B1960F5AD6A18436E8DD0CE6CBFDC5A9A55E45DABBA779FC5C2CB2FAC27940ED071A9B81AFF6C8B34805A31E3E275A35A6572AF34AD2FDD4199351AD95C60CE7030BD61521C86E9575DC96A246DAAAAA531CFB51C830D038821A7D6F4BBF499D
461CCD6536FF860ED2AD6B3AC549C682EEF6306CB572BE3E275935A6571AFA8D69F55EF24D66864638145A9156198A814A658DF0CC6B854CDD93CF7722A8E219783ECDC22B41DEDAF4AAD5C2A6E682EA815C99CC9B16236B54AEF5E69AE3A6598D5B144231B0BB404ED92C1AB5428296198A856865FE90E678CA475AB9AB1DD
B2A955B531E4D297AE11DA6EF6CB3F19BB08F9410DE326A38ECD6799161A29649DB2CDB308E792D5CAE85831AB5AA576AF8C9E3C1FC3299D1BA73855D21BA766D9C9D8DA8E1A4AAA1A461D42FBAB3077DAB3C310494B3D413086EF12ED261CCBB59CCA63C8CD11DA79EC57AB6098C9A63F4413F0D6A863E359D6B845B200519
D963A566D29338BC49CC5B172C2E7A5ED6D0E40050E943BF86A5EF72B338B84CDB172C4BBA5EDB98357414B284FAD9A19FF2CBC31E6F08E9B1F7DEDFA0B85BCDF6ACEC9B1B28E04437C76AF000045C1679128D4B77273AC9CD4CA43F70A005038E2BB430FEFB8EBD1D70AF0ADE68A98B1E2817B0540EB29278B444133563C6E
EE9575FD48C718E36A5E59635ECF5D54726300000DA7562F8CDCBCFBB3F7DF716926A75ACDED65BFDAFCC99F15E758457CC2E6BDCFD85F98DDAB9CABDD5C76F160111D008D841F091E9959BBF2C50F72CFB2FFF42676E95C59F65E6772AFC686866C11AAE29A17D3AF52B05C47135FCAFFCA2F8521E25F0100791878168972B
146A88A6B05E95F85FCC64AC9D62588181202500A837D2F7BE9B8C77C697F15F31BAB25670B9D0500E4056A25FD2AE537564BCE163A0B00C80BD48AF895CB6FAC969C2A74160343000AA3616AE512A9EBF25E0ED53DD24411CBBFAA31AE502B008AA1696A0500682A502B00801F40AD00007E00B50200F801D40A00E0078D52
AB38F2A68B214D4B15846FC95E74ACB8C783FA772DE7AAB2F85075C00F3433C49CE3A96B8B68945A7531A421A99462D5EACCE4E4ECF8B89C2C337F956BD35C9ED90606413BD4AA5ED9837591CFC2C64CD846CDEACCDBAB4BE2C2C766F3860D53897CB96DE42C759636E452521B9A6B5D6FD52D959A58D8803E2299299A69E3C
9E172359132B3485483AA5635CC1EAC4B1A1C6F6CD846FC9E703888D86CC9B0306DB098C8972ACE1C012EC546B224F599B6057491E4FC06D69873B77872A8551329338B44353826A4AC307BB04BD260659B0EE55BD0632335365B316C58B29CB4215B924E430BE42F1CF1E4AD267963CC0B67CFFEE5E999912D2F1E2F248B44
6538AA5585D983A54368374EB6B124AE545B408ACD56CD902C276D28445006A656BA5605CD81CF22F1C28E9BBF7571FDF8D1FD8DF7ADAACD1E2C1D82E937EE6FA3A64D6686397B35369BA8AF94C897B2C1AC1DDA94D4FA1620B72B52AD8816030D827B776881EF65AF1217B5AA3C7B3039C1AFBC4A90291980FB0975C389A75
ECAC210CDC433E76AA8F525A7D45268872625B5A905C8D4C4298E98229E1CF3564DA49C2C12A0F61498C8D7B9282C4100B9E0D4AA21234160A59844BEE9535243AD402EC47C824D98650700349386659100003496E6AD650700349356A95599F326D2F2A77899E4A814F922CFF1A8990BE3E2BA9342716C361977426C5A7C35
85AA992C519FD991B5A39EC72A95309F46B16DF5DBD9DA41BF684D774CB7D3E7DCAEE283DD7D6CA3FE512FBFC6D75273A2854D8D2634BEF171B36AC340E722A156F989224F9671ABC7853504E1D530AC09428EFA89D2818C8B4AC5AB4B582E1A2FA92FAA9A6AD5F496A856D3B58B1717242BCED258ACB4ED57AC5BA6AC1AB56
DAAD397A99DA5E573E4376A9A4B5DC5A51636359ABE995C6C805AE5400A1816FFD445E7C6648B2B8EF7EDAFF0E13E2AA797FFA2DB1B26D82A696590A15B2AC974A4E2FA2B2395E0E1C424B522CA37BA584993254C8C88566A9794A15C4BCC1CACA95D48D5DB7FD14ECDC6CCD80E64D5AC8BB6F4A74F6BF3B0AD79C3CD979F12
97E9C6DF08278E4CCADB3FD09A97B52D3CAB6F34436773B2A143347269344CADD4CEA7F445253A57DC3D7D5CB1F2BD704A5513FAB7A2E43257FA6EB8407E7A9AD7D49EA2F06B2AE38B840BC5E92E7B9A25AA4958DD210FBC86D858F85B6B89BACA9FAF1D5F86744B51EB4B28FF1922B231FA2DB94AA5B3DA7168075963845BC
02CD542BAD327DA4C0D0F75CD6B74AC4CB719F140FA16263A64DC6854674B6383F59A2A9286A9951428A6862893316B31E9E38A857D6D6AA506446BEEB4EA7B0EB8FAC9A39FBE5DCB4647D9895BF6695293113B485DCEA56A624B6B8714A6DA25BFF58B60FAFA2AF1D8DB4FE9EF048E610CDAAA1962DDE5F24C15345542E3D0
6BEE1A9A4E6E0B77555AD8D468BACE96C586D247850D53AB10BD62512DCBE2F091FED8C139AE58C4321214AF6EE1C2604CBC38A42B4879438CAE1771F76E7D07522B329BA66AA66F952018AA76A6FB3CB30A9079949D5FADB4175B8AD3A7C666199B37B558D1275A30D5D0C272A3693A5B261BA0565990CE0839FDEC1222CB9
83AF2A7C3EB987C19F5BA363735A30B4236DE9CB5BE55C73048A182873BCA8025DE6A56FF8DDE44CA128D1FA71E9718BA8AF54DA6A294A81EB56D67C7341B1BDB81A89A722C7EFEC77AFA3A1A333AE6E6B58995A97BE80F24B570FC3E33A2D1C8CEE66E43C710D15E380D532B5D30B0EAEA5AD5AA638E2BB63820F1F02C3E91
BAA7C2E45D4C7ADEAC3EBB1634427A34DD7F56C0070FABDB271551BE31A895C51207B57279BE4E4DC1A88B41A8496B79965DDF0E54EB4BC7E2E6B1ECA7CF6486BE79D5696BE91B5E31FB46709E1C39CB6E6A61A2D1D41E94C206AAB39546C3D40A00D058A05600003F48D4EAC8D9B39FBE74E9B1B1BBF61F45543300A07674D
56AC9E1A75FE9AAD5E999ED7B2F1DC21B630000F5A3AF56BFE8F95618090200EA49C3D44A7EF455F4538A3C2B4A5C9E4266C8459CD924F38E6663885F2D2122A53469AAE6756CF0924C2D7D2D521B68AA5A95D43906AF56E5999441AD8CBFCA712B8E0641AD802BAA5A05623553B555998997EE4A11B64C588D2C2EA4145F04
62E8CD5200C52C956458D88B8BD64A4C22F24573052A41D76469CAAA5043326AEE3B9B3D524BEA8C9938396C489B1C675D9516AC91F61B82800CAFC621736EF3EBE0748BE35C1A9C89ABA5B44B22B325C176A826D092A815FBC244E787CB778FFCDDA1E3C7ABB62A3326DF2A962B626D3BBD7ADC7A6756930C33B14F6B029A9
9B6407D8262DD90900E2BD554CD6A8FB9584B845AD8B0271733B6E698B0B2527C6B047120E1B2B644010967995CC04F7FE9DCE0061F519263DE945449B01DAB096444DFEAF08EBB7E34EFC2D1FD555B9519E3489048ADEC9C8D2A29DF9CCB93FF6C88A9762F50579AB984CCF63816ABD95788AB94228453D9AF314FF651CA38
831D7D6C73B84DA149B0AD670108086A757966ED96173FB8E0711609F3BC9521B572196AD53BA43EEDB34B21BAD2CC2564B6C7B158DDBE76E7CBCD7EAAF10987A424B5D2354BA7E824D80C6A958A64BD5523D6B25B66D9A504C594432E4E6F59C611C2EB65347B995FE999F6E231BFBCD136B4B5DB632ED65DAD7421AE96974
F9A86481D253CD89A2F3AC519B45A9E6C933B09364682196958E48DED99A0DC7DA9C9CE24C8930860E61646CC0A8720F692276BC945159A02498170C9F0AC44658BEF6EA3EDE11F12988A951F4F2853C4DC5E44D266D27EA928C3F43335776ECE179DE20C1A2C576B972109B67B35819686A9958501BCD4C2473AB6355DC01D
F4B1F2688F5A1593A0B88940AC8A027DAC5CDAA3560000BF815A0100FC006A0500F08386A915BF5A4F377D20ACE8EB6E968492C43B0A6F06DFC8F6ED631B756FE6CE6E6AD9CFAEF1789C290F373143E731CD532BEE45F8A6EC66E67583544805D4CA4BD008CDA1B96A9544383BAE21566398E5A0B0084D743153035CF521B87
2266187905A32F1A4B90432E185D9C88E14AADDFDBC38F88711C1BA62815264B825273695A1C35282B5BE62DED35E0B4CCB61CCF1C2317D51CB7605BF1D80C6D58DC6AA557FD90BFD760407B5126274C543D0A3098D332784E05A32093BBD764558D36D8967569629DA8C9442B5B9E5E174B0AE6EF9BC297FAFF49D7309AE2D
A6B4B3261850DF74DD3B03C34284BAD13CB58A67A0469568B8746AC5E8385C97E85CC91635049799AE22265480AA5C2131BDEE65AA01E16481D96C702FC1B1C58A2DBFEA1E0D3838B53A32B176E5BF7FE6FE3B0ECD78AD5619E2905DF615B045E75A437099C355A4AB595131BDEE65B294C1BA0356AB52CBAFBA47038EE6F95
66A4C3C196F9C4BAD34592B8D197AE570D99421B54481B6128891A0D548ED15AB09D6B50652D36784AFA373098E2DE6D2CEEE4D87C788352279634C43D54A17A59C59ADB4D1B9CA24BAE19D96FD59F67421B56A8E656309F65976E65A26D306EB6AE7C84D4E8ADB2CBBA3EF63484C3C9ABC6A8B9865776A3AA8558DE0D5EA85
1D37EFFEADDF23415016AD0AD66D55653D62C58A150B172E9C3F7F3ED40AE8684BB06EE2A5E1452EB504BE1500C00FA05600003F805A0100FCA0616AD52939577321169ADFCE0E248A0A4B4EB56FADCE48877A7F774E0B6B554157A2F556EF1D7EBA312B184ACDD55C888550AB5454D238F53C2350ABA6AD0E2D2F57B3F4860
7EE63A890C30E51C7B34ACE5EA606BFD8520C202C395B58B265DD965B226BF7B6D234D128FD5A1063D78A96E64929B26D89A64D5D5A976DBBEE3452ADCACAD59C085E676CF9E327A2BC7254E89D21EAD8EE5BD1B6709B222C395358B235ECC69EC8DABDADD4263207AB1BBB966E51AB7B8EEE34315E35A6456A5540AEE67E9F
6263CB4FAD8982E6B840DFD451C7BCD95983199D0E8AB064EB6699136BBB9CE58E2958DDDEB5AC152C24BED203DAA45605E46A8E2EFA89931B4F6D8F5ED0B7EF96C7B57E5AF96AE57A5086B06497CD3225D676542BAB34E8BB96DD72A89597744ACED5DCED530758E4A80BA5751C2384738E0411969C362C59AD68E6C4DAEE3
595AAE014C9A3ED5A29D4CABD4B43ADAAA75376AE667EBA40F8EC1C75DCB1646C4E35CB8EB0644D51C4B91367AF3325D64ED3566281521DF58DAAE95A6AE799B51CD7D6A53515AC350D532B0B6D8E566D55DD89CA6A1E4F5442072F76C8447BD4AA2DA1B96DAEBB262CB9E75A8CD644AB205659698F5A0100FC066A0500F003
A81500C00F5AA556E6D503796613AC0FD1D25A55F8BE792C2CCF2A971DCDCF798587679E86BF0147A05685F46FA855213532EFA83D7D279645AB9406503550250DCB2271C69821994CE8A0AE54EAA48C9895825F6CE1A6449AC0240685C9ABB77AA1CB2789986439E846BF502BA785843D85A6A1169B828C85D606E2767F7D4
5179F6058B606FC2351ABE8EF2FAD1F3FBADF5FB58AE9F02FBAE296D6F59647525F8A916B1923669921DC5413D71AED2BA4B09736BEFBA02E26D97D117C1E0B756B953A25A4A136C4819B5CE3453BA3C26DABCD81CFF05924CE5E3A3D33B2E5D0F10BC7ABB62A07B2C39121722A67E89C6E775D5C6B3496797DF1041FB12F6E
3C9C2A26B9140B9D43A933946F36D23168A933B6FCD4F6EE4B721CCE17F0127924F8D8D85DFB8F5EA8DAAAAC10F7D3FAA895EE82E97A77CB92A9176D34B56B4C721916BA87526728DF6CA46B8865B78DD6F507E950AB06D238B5326448B67C5948C4ACEEB321EE2519CBF0D16ED2C69A98E4CC23C15416969C86DA62A4AB5A4
933EE9A312116917B8CA856E148F0B5E3178E566D5566A8097532D295CECA9B3962D621DCD49484999B105B4C05C1326D4CB27B38740E0BF9862D2E0DB5ABA49A03C20D91DB640432D4CA63A459F6DB56F99D45621054121EDCBC98642807484BC3B248944875897C1B19930CB102A969D5EA500080C740AD00007E00B50200
F841C3D4AA33C05CCD85AFE2293C8CD1E991BF3E8AB8F08A670B03B4A5B3E5969D167ABACD6BD68AADFB60CAF17E0D5A53D56A0027A3A96A555EC533A895EDD712DF5F0CB5AA1D8D54ABB27235F70FA15F6D44DCDD2D31D25CF08A358D73B84E8ACFC3ACDA694B38EC12DE4C96A62C1073CA12EC9800D950AC39A4990C393CE
390349B8CB256FF9416E8BBA7D4B6D8D06FD00CA69A7B9D6E77C753AFB649BD68A45A9595AB99C94247C5483F4EAD1B4D9D539738A0B8F651B790D29A70D81ADEAC2B2D5B8DEC09908DC51A17B21BE2A3E5CE90219DB2C5B7728B9AB6D8E06EAA5BAFB31E257B647B1D68915A1590ABD91E019767975403376D744BA684C3A4
195269196AE4628F63B169D4AA339632B25DD88769D7DABB47653ADA5048107ECEAE28ED6E8D3CAF9236A95501B99A6BAE56BD4AA64F38AC358352AC748D60B3C7B158E7493DC2E570542BEB2C95B35A39DA309BC1D4B2D5AAD69359AD52ABFCB99AE9D866DB4890E822594782F1E7CC0987D37659DD0BB95C6AE4628FB958C
B8524C55B4F4E0E8FF7DF74C5358BD6EF33A653CE3112EC9039B49510F08E63AA6DF75E9753ADEA1EDFD52EB5522E6C6AA234FE8ECCD54CC736772CB3EC74179177E958D238CF0A9522EC94A748D314480A84F965A7D61AE9EDE11F12988A95A6648C13DA2C998671CB5F2D9A270775EBE6205D66D9691BC22724D3AF53ED63
33D5B5D759C6A7B6536F8E6CAF9E86A99585BADF3B5A43075182203DED51AB46C6067B0AC40A64A161592400008D857FBFD5C89E5F4DBC3DF3D8AE5DFBABB60A000064B82C122F8CAC9DDD74C7A5BD502B00400D11DF1DFAB53DE337FC046AE58CF4080673310094883A6F8591A03B755F4D074093689E5A496B7C3A6E919FE
4976A694C5C23332D87899A17C2D0E1A60000279A3612544355DD223F5D833CC5F253AD5337849B0200ECA85924BCF6AD0CC15FD9A2AECC91AE4505700100ECA8AB43A15686D834A8150095D130B592436B9C233F1D833C5D9212A73A281E2302E04AF3226FDC66D91D7D1F22C853285F1F26EA7850A81500AE344FAD0000CD
046A0500F003A81500C00FA05600003F805A0100FC006A0500F003A81500C00FA05600003F805A0100FC60DBE67BE67EBB60FEF57742AD0000B5E69E152B166FFDE7AFDE0ADF0A00506FEE59F157777EF791DB3F735D9C452210AB99AAAD02000099288BC4F5778EF5B348BCFB4FBBF61FADDA2A000090E17DABEEBB43FFE8D
F76CD1CAADA2A00009049D40AF35600803A03B50200F88132129CF723CC5B01006A087C2B00801F602D3B00C00FA05600003F805A0100FC006A0500F003A81500C00FA05600003F805A0100FC8050AB471E79A46AAB000040269026A81500C003A05600003F805A0100FC006A0500F003A81500C00FBA6AB5E4F0D3BF805A01
006A4DA256D1DF5F5A3F7E70EA91AAAD02000099D5AB572F5CB870FEFCF95DDFEAF4CCC89643474FE26D7C0080DA218F041F1BBB6BEAE0C9AAAD02000019A895671C3972A46A13CA62E5CA95A8BBCA1F7FFF62D5D695C5FFECB83ED5F6A25A8523C1D78E9E3C58752D8096E08A5DBA7469D55614CF1B6FBCE1A2562DAC3BD42
A469A65BF6DD5FD77BCF42F8F545D0BA0A59D576C9BEB1EA9D5F96FFFC16DB7DDF6CB5FFEB219FFDEF8DCFFB18C6AB5FEBDC34F6305831FB4F38A6D73DD23B5FA93A9E5C1455EB5A5C51008D67F8F1D6359D50AAB43BDA19D576C9BEB1EFB56559B5924797C2BA89537B4F38A6D73DDE15BC540AD3CA39D576C9BEB0EDF2A06
6AE519255DB13FF9FB1BFFE3CBE79FB893B1733FF8EA43ECC91F6FF9EC60EB55A95A05B5FFE64B5FDFDBAD7FF4E7EEE15707D704E5FA56DDCA451F977CAFC05A656F25F8566DA1AC2BB62F57158955E56AB5FBD4127677AFDE7554AB8CBE5528552C96E142C9D54AF0AD5A41A957ECF0AB4FB28722B1EADF91FB1E47A0622B1
E7D33F9BB682A57ABE1BD771FDC1DE9347F1DC69E49A17E499ABAE7F0ADC85B4FFF4C2655EAD6F77B8B1E7DF425B19E521F50FF846F058C9437771376EDD9458C7DF9C74FDCA9785AC948B124AA57AB577F7CD35454C9E43AA43E0DBAEED97D2B8B9F1C9F536E20CCF962925B467509F856C0488933CDDD9BEEA2BDD1E5DA9F
EAE8DD4A93DF4AAA571DD42ABC02BFFAEE58A85AFD3F0527AB2CB92ACBB7D2A955727A23478AACA6545FB54BC0B70236CA7C2EA6EBA93D4A55AC7AA8557481DFBDE8D1837553AB4CF35694CD84BBE8A8565251F0AD808D81A855A84B07EF567B628953F035512B69C6BD3E23C16CCF04C513F9931FFCE0A62DFDE16ED75B3AA
5F7ADA43EA07609F856C0C640D48A9F8A4DE633F849F7C2A98D5A31EE3266F59965CFBCDE2A3993F2A9FCFAD75F3A657421C5934E7489EA7CAB2F4C1CF9E1C8A7A15635A79D2B24DB5C77AC658F49D46A84B1FD5FDB337EC3DB50AB3A53D2157BE38D37C69FCF9F3F3FF87A55A8567CDD7906D60E58CBEE08F77EAB23136B57
BEBD68FC8629A8558D69A77FD1E6BAC3B78AE1DFC6776466EDCAD716218B44AD69E715DBE6BAE3FD56317C1609A89507B4F38A6D73DDF1EED018C9B7FADBE34BF1EED05AD3CE7793B7B9EE50AB989E5A3DF5F3A133471EFE9B95A7306F0500A827815AAD5B17F8563F0F9F09FEFEB9B76E38F53C9E0902006A48A2560F1F393
3B2F0D2F3CF43AD000075A4AB56EB7A59247EF7BBDF41AD0000F504913700003F805A0100FC2090A69191919E5A7DF4D147D3D3D3502B00400D09A469C3860DA15ABDF3CE3B815A4D4D4D41AD0000352490A67BEFBDF7DA6BAF1D3A77EE5C3012DCB3670FD40A0050430269BAEFBEFB42B53A7FFE7CE05B3DFBECB3502B0040
0D09A469E3C68DE148F0BDF7DE0BD4EA99679E815A01006A48204D9B376F0E7DAB0B172E5CBE7C797272B26A9300008066EBD6AD0B162C18BA78F1E2952B573EEEF2FB3E9F74B97AF52AFF6F44D56603009AC9509F79F3E645FF065C73CD35F3E7CF0FA42A7C63CC871F7E18C8D3952E914E45FF4622157F08CA825A0100CA2
392AAE043AC56815445FF469AF5FF70530B785DFB3D6F0000000049454E44AE426082
*/
First save your image to a small .JPG or .PNG file. Small, in bytes, is important, There is a limit to the size, in bytes, of a post on this forum. I don't know the size limit, I only know that I have in the past exceeded it.

Then, in the Macro Scheduler editor go to the "Tools" tab. There find the "Import Binary File" menu item. In the dialog that ensues change the searched file type to "All Files (*.*)". Browse to the file you wish to import and pick "Open". The editor will create a label for the imported data based on the file's name. Note the label ends with a ":" (colon). The label in the code I've posted is
SCREENSHOT-2022-07-05-13-30-50.PNG_DATA. When you want to use the label leave off the colon.

Use the ExportData> function to place the file somewhere on the script executor's hard drive. I chose to place the image on their desktop.
ExportData>SCREENSHOT-2022-07-05-13-30-50.PNG_DATA,%desktop_dir%\Putty_Message.png

The ExecuteFile> function will open the file using whatever image viewer the script executor has set up as their default.
ExecuteFile>%desktop_dir%\Putty_Message.png

By doing this you will post an image on the forum that anyone with Macro Scheduler will be able to view... Until the forum is no more.

If you are a forumite viewing another poster's image.
Be certain the last three characters of the ExecuteFile> line are either jpg or png. Otherwise you might be running an executable file that could harm your computer.

The other caveat is that the text in the script will be double the size that an image posted directly to the forum would be thus requiring more than double the disk space to make your issue visible and clear.

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1389
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Post an image on the forum via script

Post by Dorian (MJT support) » Fri Oct 28, 2022 8:44 am

Thank you for posting this.

Just to clarify, the maximum post size is 60000 characters.
Yes, we have a Custom Scripting Service. Message me or go here

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts