Decoder/Encoder

By SeiferAlmasy on Mar 26, 2004

Decoder/Encoder

dialog code {
  title "Decoder/Encoder"
  size -1 -1 136 93
  option dbu
  box "Encode ", 1, 2 1 131 36
  edit "", 2, 6 9 124 10, autohs
  edit "N/A", 3, 6 23 124 10, read autohs center
  edit "N/A", 4, 6 61 124 10, read autohs center
  edit "", 5, 6 47 124 10, autohs
  box "Decode ", 6, 2 39 131 36
  button "Close", 7, 2 77 131 12, ok cancel
}
alias dialog_code dialog -mr code code
on 1:dialog:code:edit:2:did -o code 3 1 $encode($encode($did(2).text,t,1),t,1)
on 1:dialog:code:edit:5:did -o code 4 1 $decode($decode($did(5).text,t,1),t,1)

Comments

Sign in to comment.
Sorbob   -  Jul 06, 2004

how does it work??

 Respond  
DeathfireD   -  Mar 26, 2004

change your alias dialog_code dialog -mr code code to alias code { dialog -md code code }

 Respond  
tsoglanos29   -  Mar 26, 2004

you miss the point encoding in uu or mime encode this one with you addon, eW91IHNjcmlwdCBoYXMgYSBidWc=

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.