# Fscommand and javascript

**URL:** <https://forum.kirupa.com/t/fscommand-and-javascript/180393>\
**Category:** Uncategorized\
**Created:** [February 28, 2006, 11:31am UTC](https://forum.kirupa.com/t/fscommand-and-javascript/180393 "2006-02-28T11:31:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![double\_ofour](https://avatars.discourse-cdn.com/v4/letter/d/c77e96/32.png) [@double\_ofour](https://forum.kirupa.com/u/double_ofour)\
**Post date:** [February 28, 2006, 11:31am UTC](https://forum.kirupa.com/t/fscommand-and-javascript/180393/1 "2006-02-28T11:31:48Z")

</div>

On my page there is a code like this

```auto
<script type="text/javascript">
   var pageViewerID = 11196489;
   var pageOwnerID = 10000000;
   var pageViewerFName = "Vkey";
   var pageOwnerFName = "WHATEVER";
   var pandoraRegFlag = '-1';
</script>

```

If i type this script to the Address bar

```auto

javascript:alert (pageViewerID)

```

A message alert will appear saying the pageViewerID wich is “11196489” right?

How should i put this on flash fscommand? is it like this

```auto
fscommand("alert", "Hello, "+pageViewerID+", welcome to our website!");

```

And is it possible that the pageViewerID will save to an text file on my ftp?
