LucaMs Expert Licensed User Longtime User Jan 28, 2021 #1 First a question, to know If I should avoid to request this kind of "not so useful" features (this is the real/main purpose of this "Wish"): Can Anywhere Software make the IDE (easily, without too much work) modify parts of the user's source code as soon as the project is loaded? B4X: 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip If would be "useful" (just nice) if the IDE automatically replaced the "Project.zip" name with the real name of the project loaded. Last edited: Jan 28, 2021
First a question, to know If I should avoid to request this kind of "not so useful" features (this is the real/main purpose of this "Wish"): Can Anywhere Software make the IDE (easily, without too much work) modify parts of the user's source code as soon as the project is loaded? B4X: 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip If would be "useful" (just nice) if the IDE automatically replaced the "Project.zip" name with the real name of the project loaded.
Erel B4X founder Staff member Licensed User Longtime User Jan 28, 2021 #2 A better solution is to add a variable for the project name and change the template to: Code: 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=%PROJECT_NAME%.zip
A better solution is to add a variable for the project name and change the template to: Code: 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=%PROJECT_NAME%.zip
LucaMs Expert Licensed User Longtime User Jan 28, 2021 #3 Erel said: A better solution is to add a variable for the project name and change the template to: Code: 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=%PROJECT_NAME%.zip Click to expand... Variable? Opening the project by command line (I hate command lines ? - batch files too). [I still don't know if implementing "stuff" like that would take a lot or little work, but that's okay ]
Erel said: A better solution is to add a variable for the project name and change the template to: Code: 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=%PROJECT_NAME%.zip Click to expand... Variable? Opening the project by command line (I hate command lines ? - batch files too). [I still don't know if implementing "stuff" like that would take a lot or little work, but that's okay ]
LucaMs Expert Licensed User Longtime User Jan 28, 2021 #5 Erel said: View attachment 107080 Click to expand... I have seen it, even though I usually see little ? ?. This time the source wasn't very long , but I don't know how it works. Is that a placeholder (%%) and a keyword that the IDE will pass to Zipper.jar? I suppose so. I should look for those keywords (and above all I should try, but since you are not wrong even during an earthquake , I have no doubts )
Erel said: View attachment 107080 Click to expand... I have seen it, even though I usually see little ? ?. This time the source wasn't very long , but I don't know how it works. Is that a placeholder (%%) and a keyword that the IDE will pass to Zipper.jar? I suppose so. I should look for those keywords (and above all I should try, but since you are not wrong even during an earthquake , I have no doubts )
Erel B4X founder Staff member Licensed User Longtime User Jan 28, 2021 #6 LucaMs said: Is that a placeholder (%%) and a keyword that the IDE will pass to Zipper.jar? Click to expand... The IDE will replace it with the project name before passing it to Zipper (or any other tool). Currently there is no PROJECT_NAME placeholder / variable. I need to add it. The current placeholders are: PROJECT, ADDITIONAL (additional libraries folder), B4X (installation folder) and all the environmental variables. Code: 'ide://run?File=%WINDIR%\System32\cmd.exe&Args=/c&Args=Echo+%PROJECT%
LucaMs said: Is that a placeholder (%%) and a keyword that the IDE will pass to Zipper.jar? Click to expand... The IDE will replace it with the project name before passing it to Zipper (or any other tool). Currently there is no PROJECT_NAME placeholder / variable. I need to add it. The current placeholders are: PROJECT, ADDITIONAL (additional libraries folder), B4X (installation folder) and all the environmental variables. Code: 'ide://run?File=%WINDIR%\System32\cmd.exe&Args=/c&Args=Echo+%PROJECT%
LucaMs Expert Licensed User Longtime User Jan 28, 2021 #7 Yes, I found them and I was trying to understand how to create a new "environment variable", before posting another not-so-smart question ?
Yes, I found them and I was trying to understand how to create a new "environment variable", before posting another not-so-smart question ?
LucaMs Expert Licensed User Longtime User Jan 28, 2021 #9 klaus said: Where do we find these placeholders ? Click to expand... As far as I understand, they are "internal to the IDE": Erel said: Currently there is no PROJECT_NAME placeholder / variable. I need to add it. Click to expand... then at the moment they are those at post #7
klaus said: Where do we find these placeholders ? Click to expand... As far as I understand, they are "internal to the IDE": Erel said: Currently there is no PROJECT_NAME placeholder / variable. I need to add it. Click to expand... then at the moment they are those at post #7
klaus Expert Licensed User Longtime User Jan 28, 2021 #10 Yes, I understood all this, but where did you find those ?
LucaMs Expert Licensed User Longtime User Jan 28, 2021 #11 klaus said: Yes, I understood all this, but where did you find those ? Click to expand... https://www.b4x.com/android/forum/threads/b4x-comment-links.119897/
klaus said: Yes, I understood all this, but where did you find those ? Click to expand... https://www.b4x.com/android/forum/threads/b4x-comment-links.119897/