# How to detect running in FB comand line version

**URL:** https://www.finalbuilder.com/forums/t/how-to-detect-running-in-fb-comand-line-version/1913
**Category:** Discussion
**Created:** [December 15, 2011, 3:05am UTC](https://www.finalbuilder.com/forums/t/how-to-detect-running-in-fb-comand-line-version/1913 "2011-12-15T03:05:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ebakkest](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@ebakkest](https://www.finalbuilder.com/forums/u/ebakkest)
#### Post date: [December 15, 2011, 3:05am UTC](https://www.finalbuilder.com/forums/t/how-to-detect-running-in-fb-comand-line-version/1913/1 "2011-12-15T03:05:16Z")

</div>

I would like to detect wether my script is running in the FB IDE, or in the command line version (I want to pop up a dialog if running in the IDE). Is there a built-in "environment variable" for this?

---

<div class="post-metadata">

### Author: ![stephen.ryan](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@stephen.ryan](https://www.finalbuilder.com/forums/u/stephen.ryan)
#### Post date: [December 15, 2011, 3:28am UTC](https://www.finalbuilder.com/forums/t/how-to-detect-running-in-fb-comand-line-version/1913/2 "2011-12-15T03:28:26Z")

</div>

Hi   
  
 To do this you can use the ‘ISCONSOLEBUILD’ variable (available under Application variables).   
  
 Regards,   
 Steve
