Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Textmate bundle for Gideros! — Gideros Forum

Textmate bundle for Gideros!

jack0088jack0088 Member
edited July 2012 in General questions
use Textmate with seamless Gideros integration. This is for all Textmate lovers! Run Gideros from within Textmate. Press ⌘R and choose an option. Watch the magic happen!




Image and video hosting by TinyPic


(optional) add-on's
* Get Lua bundle for Lua syntax highlight.
* Choose a theme for Textmate

bundle installation!
There are two ways:
1. Double click "GiderosMobile.tmbundle". It should appear in TextMate under "MENU:Bundles->GiderosMobile".
2. Copy "GiderosMobile.tmbundle" to "~/Library/Application Support/TextMate/Bundles"


PS: You want to better go with Vim?.
zip
zip
GiderosMobile.zip
2K

Likes: jack0088, gorkem, mysps

Owltwins. Smart design and creative code.
»Gideros Illustrator« - [svg|xml] scene designer using Adobe Illustrator®™ Within one line of code!
+1 -1 (+3 / -0 )Share on Facebook

Comments

  • Nice, thank you!
  • ______ Member
    Nice script. I'm porting this to run on vim.

    I had a question about the Apple Script you've used.

    What do these lines do?
    	on selectAppMenuItem(app_name, menu_name, menu_item)
    		 try
    			tell application "System Events"
     				tell process app_name
     					tell menu bar 1
     						tell menu bar item menu_name
     							tell menu menu_name
     								click menu item menu_item
     							end tell
     						end tell
     					end tell
     				end tell
     			end tell
     			return true
     		end try
    	end selectAppMenuItem
    I understand the rest of the script, but whats the function of this in this script?
    People call me "underscore".
  • jack0088jack0088 Member
    edited July 2012
    @___ The full version of this is:
    	on selectAppMenuItem(app_name, menu_name, menu_item)
    		 try
    			tell application "System Events"
     				tell process app_name
     					tell menu bar 1
     						tell menu bar item menu_name
     							tell menu menu_name
     								click menu item menu_item
     							end tell
     						end tell
     					end tell
     				end tell
     			end tell
     			return true
     		end try
    	end selectAppMenuItem
     
    selectAppMenuItem("Gideros Studio","Player","Start") --here is the call of it!
    After a complete re-write of the script, I've changes it to:
    tell application "System Events"
         keystroke "r" using command down
    end tell
    So please, download the updated version of the script or just delete the function! Many thanks @___ for the hint!
    Owltwins. Smart design and creative code.
    »Gideros Illustrator« - [svg|xml] scene designer using Adobe Illustrator®™ Within one line of code!
  • ______ Member
    Ah! Nice :)
    People call me "underscore".
  • Hi guys, one of the problem I found while using other alternative editor instead of gideros editor is how to sync physical file system with gideros configuration file ([project-name].gproj). You can update it manually but it really reduce productivity.

    This is nice task to solve this problem. You need to install nodejs and gideros node command. That's it.
    Check it out github.com/henrytao-me/gideros

    Likes: cliffbrown

    +1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.