Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

IDEScript: How do I select an entry of the Project (Home) tab? (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: IDEScript: How do I know if an entry have code?
Next thread: OT: DropBox file synchronisation / sharing service


Re: File Suggestions?   -   Rubber Chicken Software Co.
  IDEScript: How do I select an entry of the Project (Home) tab?   -   emile.a.schwarz
   Re: IDEScript: How do I select an entry of the Project (Home) tab?   -   Norman Palardy

IDEScript: How do I select an entry of the Project (Home) tab?
Date: 24.04.09 19:41 (Fri, 24 Apr 2009 20:41:37 +0200 (CEST))
From: emile.a.schwarz
Hi all,

to delete an entry of the Project tab (Location = "(Home)"), we only need:

DoCommand "DeleteSelection"

and that is fine.

But, how do I make a selection to delete it ?

Emile

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: IDEScript: How do I select an entry of the Project (Home) tab?
Date: 24.04.09 20:02 (Fri, 24 Apr 2009 13:02:07 -0600)
From: Norman Palardy

On 24-Apr-09, at 12:41 PM, emile.a.schwarz wrote:

> Hi all,
>
> to delete an entry of the Project tab (Location = "(Home)"), we only
> need:
>
> DoCommand "DeleteSelection"
>
> and that is fine.
>
> But, how do I make a selection to delete it ?

I just noticed that the docs for this item are incorrect

Try SelectProjectItem which uses a string as the "path" to an item
inside your project
The path is the name of the project item delimited by a period (like
the Location values are)

Say you have a project like

App
Folder1
Class1
Folder 2
Class2

This would select the App class

if SelectProjectitem("App") then
end if

To select Class2

if SelectProjectitem("Folder1.Folder 2.Class2") then
end if




_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>