xboxscene.org forums

Author Topic: Open A Specific Folder?  (Read 96 times)

isedeasy

  • Archived User
  • Jr. Member
  • *
  • Posts: 64
Open A Specific Folder?
« on: May 21, 2007, 08:44:00 AM »

Well I am trying to edit the home.xml of a certain skin (xTV) so that when I click on Movies it takes me straight to my movies folder (F/Videos/Movies) and when I click TV Shows it takes me to (F/Videos/Series).


I know I need to edit...

<onclick>ActivateWindow(MyVideoFiles)</onclick>

But I cant find a way to open a specific folder, any help would be great.

And thanks to Chief and his team for the great skin...
Logged

xboxbox451

  • Archived User
  • Hero Member
  • *
  • Posts: 808
Open A Specific Folder?
« Reply #1 on: May 21, 2007, 09:18:00 AM »

XBMC.ActivateWindow(window,dir)

Manual Built-In Functions

eg:

Add source to folder in the MyVideos Page then edit Home.xml MyVideo control as follows:

<onclick>ActivateWindow(MyVideoFiles,MyFolderPath)</onclick>

Easier Method:

Add a source to your folder in your specific window page, then press the white button on the source and choose Make Default.

Logged

isedeasy

  • Archived User
  • Jr. Member
  • *
  • Posts: 64
Open A Specific Folder?
« Reply #2 on: May 21, 2007, 09:24:00 AM »

Ok got it working...

Thankyou very much!

I was trying to point it to the folders name rather than xbmc id.
Logged

xboxbox451

  • Archived User
  • Hero Member
  • *
  • Posts: 808
Open A Specific Folder?
« Reply #3 on: May 21, 2007, 10:13:00 AM »

Actually I should say the easiest method is to add a source to your folder in your specific window page, then press the white button on the source and choose  Make Default.
Logged

isedeasy

  • Archived User
  • Jr. Member
  • *
  • Posts: 64
Open A Specific Folder?
« Reply #4 on: May 22, 2007, 03:13:00 PM »

Well the TV show link directs to libary mode so it wasent an option....
Logged