Quantcast
Channel: Scripting Languages
Viewing all articles
Browse latest Browse all 42

How to Store a Binary File in a Script

$
0
0

Hello community,

 

a longer time ago I presented here the possibility to contain binary files in ABAP function modules or as JSON code. With the same technic it is possible to store binary files in a script source, like AutoIt script or VBA. Here an AutoIt program BinFile2Script which offers this possibility. You can create a subroutine which contains the binary code and with the call of this subroutine the binary code is written to disc.

 

Here an AutoIt example:

001.JPG

 

Here an VBA example:

002.JPG

You can copy the whole code into the clipboard and paste it into your development environment.

 

The AutoIt program is an attachment to this post.

 

Enjoy it.

 

Cheers

Stefan


Viewing all articles
Browse latest Browse all 42

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>