Code Folding - Applescript issue ?
can't find this anywhere as an issue discussed
I must be special
this is happening on Xcode 3.1.2 on 10.5.6 intel
I make an Applescript Application with a few handlers and a few if then statements
when the if then statements are on one line they seem to screw up the code folding and the list of available handlers
I have a small screenshot of it here http://www.metzinger.us/Pictures/code_folding.jpg
the Xcode window thinks handler 4 is nested in handler 1 and doesn't even mention the other two
I can fix the issue by expanding my if then statements to multiple lines with an end line
is there something else I can do besides changing all of my if then statements?
thanks
.bill
bump whoops
be first to answer this and win a prize
still baffled here
I've reproduced this on another xcode 3.1.2
make new applescript application
paste this as a script
if 1 = 2 then say "dooh"
if 3 = 4 then
say "dooh"
end if
the "code folding" feature of xcode is confused by the first line
having an if then statement with no "end" bums it out
seems like I'm missing something simple here
is this a known bug or am I just bugging you?
thanks
.bill
Similar Messages
-
Can too large a folder cause issues and effect performace of my Mac Pro
Hi, I have a 180 gb folder filled with important data within my Home folder. This folder has a many subfolders as well. The folder is on my startup drive and where I have Snow Leopard installed. Can too large a folder cause issues with my mac and effect performance? Thanks
another way to ask, would you make better use of, and improve I/O and performance, if you used your other drive bays? yes.
Boot drives with even less than 50% free is probably not a good idea. All depends on whether 200GB is on 1TB or on 500GB drive. And how fragmented free space even.
Lifting, loading and writing or copying 4GB files of course does have an impact, so if you work with 2GB files in CS5....
Having a dedicated type boot drive, media drive (and isolate media and library files) as well as scratch drive is normally done with Mac Pro.
The biggest bang in performance: lean mean SSD boot drive. -
hi experts,
can any one know the transaction codes for Goods issue,Initial Inventory,
purchase contract,billing data and the table name in which inactive vendors and active vendor are available.
thanking youHi,
mb5b, mb51 for goods issue
MI01 for Initial Inventory
ME31K for Purchase Contract
MIRO for Billing data
in SAP easy access
under Financial accounting >Accounts payable-> information systems-->masterdata report
you can display blocked vendors also as a list there using those reports.
the vendors which are blocked are inactive vendors
<b>Reward points</b>
Regards -
Hi all.
I'm using SQL Developer 3.1.07.42 for win32, windows 7.
Not sure but probably bug - Tools|Preferences|Code Editor|Display|Show Code Folding Margin works only for current worksheet.
If I open any another worksheet (no matter unshared it or not) this margin comes up even if checkbox Show Code Folding Margin is unchecked.
Is it bug or feature?I can reproduce it, but I'm not sure where the bug lies.
The worksheet and the code editor aren't the same (perhaps they should be) and the bug may be that the preference affects the current worksheet at all. The preference seems to work correctly for code editors. -
How is the 'code fold' functionality implemented?
Hi all,
I'm thinking that I'd like to have a form, which is broken into several categories, that has 'code fold' functionality ala NetBeans. I'm thinking the way to do this would be to simply place all of these JPanels in the form in the nodes of a tree, when collapsed, just the title is displayed, when they expand, the JPanel appears. I admit I've not yet tried this approach yet , I first wanted to find out if anyone has done something like this and what approach they might use. Any feedback is appreciated.
Thanks
MikeI read this and thought it would be great to have in my own app.
So, after getting some code from these forums I have cobbled together the following classes.
This one creates a collapsible panel:
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.GradientPaint;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GridLayout;
import java.awt.LayoutManager;
import java.awt.Rectangle;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.border.LineBorder;
* CollapsiblePanel.java Created on 22-Apr-2005
public class CollapsiblePanel extends JPanel
private class TitlePanel extends JPanel
private Color fadeto = new Color(200, 212, 247);
public TitlePanel(LayoutManager layout)
super(layout);
protected void paintComponent(Graphics g)
GradientPaint gradient = new GradientPaint(0, 0, Color.white,
getSize().width - 10, getSize().height, fadeto, true);
Graphics2D g2d = (Graphics2D) g;
g2d.setPaint(gradient);
g2d.fill(new Rectangle(getSize().width, getSize().height));
private JPanel mPanel = new JPanel(new GridLayout(0, 1, 2, 2));
private JLabel mTitle;
private JLabel mButton;
public CollapsiblePanel(String title)
setLayout(new BorderLayout());
final Color active = new Color(66, 142, 255);
final Color inactive = new Color(33, 93, 198);
final ImageIcon up = new ImageIcon("Up.gif");
final ImageIcon down = new ImageIcon("Down.gif");
mTitle = new JLabel(title);
mTitle.setForeground(inactive);
mButton = new JLabel(up);
TitlePanel panel = new TitlePanel(new BorderLayout());
panel.setBorder(new LineBorder(Color.BLACK));//EmptyBorder(2, 2, 2, 2));
panel.add(mTitle, BorderLayout.CENTER);
panel.add(mButton, BorderLayout.EAST);
panel.addMouseListener(new MouseAdapter()
public void mouseClicked(MouseEvent e)
mPanel.setVisible(!mPanel.isVisible());
mButton.setIcon(mPanel.isVisible() ? up : down);
public void mouseEntered(MouseEvent e)
mTitle.setForeground(active);
public void mouseExited(MouseEvent e)
mTitle.setForeground(inactive);
panel.setBackground(Color.WHITE);
mPanel.setBorder(new EmptyBorder(2, 2, 2, 2));
//mPanel.setBackground(new Color(214, 223, 247));
add(panel, BorderLayout.NORTH);
add(mPanel, BorderLayout.CENTER);
public Component add(Component comp)
return mPanel.add(comp);
}This one creates a panel to hold many collapsible panels.
NOTE: This uses the TableLayout manager which can be found on the web. I am sure that all of you here could change it to use GridbagLayout.
import javax.swing.JPanel;
import info.clearthought.layout.TableLayout;
* Panel to hold many CollapsiblePanels
* @author Garry Lovesey
* @version 1.0 22-Apr-2005
public class CollapsiblePanelBar2 extends JPanel
public static double PREFERRED = TableLayout.PREFERRED;
public static double FILL = TableLayout.FILL;
private TableLayout layout;
public CollapsiblePanelBar2(CollapsiblePanel panel, double layoutPreference)
super();
// create the GUI
// b - border
// f - FILL
// p - PREFERRED
// vs - vertical space between labels and text fields
// vg - vertical gap between form elements
// hg - horizontal gap between form elements
double b= 10;
double f= TableLayout.FILL;
double p= TableLayout.PREFERRED;
double vs= 5;
double vg= 10;
double hg= 10;
double size[][]= { { f }, { // our column sizes
layoutPreference }}; // our row sizes
layout= new TableLayout(size);
setLayout(layout);
// now we add in our starter panel
add(panel, "0,0");
public void add(CollapsiblePanel panel, double layoutPreference)
// we need to add our panel into our layout
int rowToAdd = layout.getNumRow();
layout.insertRow(rowToAdd, layoutPreference);
add(panel, "0," + rowToAdd);
} -
Flash Builder custom code folding
I've just donwloaded the new CC versions and will possibly be buying the subscription at the end of this month. I was previously using CS4 versions.
One thing I noticed though, is that the custom code folding options in the Flash CC actionscript editor are gone, you can now only collapse entire functions. This remains true for flash builder as well.
So is there any way to collapse custom regions in flash builder instead of just entire functions? I'm working on a flash MMO and I've got over 10,000+ lines of code. Being able to collapse only functions simply doesn't cut it. It really hinders my development time as I have to scroll through masses of code in order to get to what I need. It's also much much more confusing looking at thousands of lines of code that I don't need to see at the moment. Visual studio has a way of defining regions by typing "#region" and "#endregion" in the area you wish to collapse. Is there anything I can do about this? This is a very very important feature (at least for me) that I'm not sure why it was left out, or I am unable to find it.
Thanks.I've just donwloaded the new CC versions and will possibly be buying the subscription at the end of this month. I was previously using CS4 versions.
One thing I noticed though, is that the custom code folding options in the Flash CC actionscript editor are gone, you can now only collapse entire functions. This remains true for flash builder as well.
So is there any way to collapse custom regions in flash builder instead of just entire functions? I'm working on a flash MMO and I've got over 10,000+ lines of code. Being able to collapse only functions simply doesn't cut it. It really hinders my development time as I have to scroll through masses of code in order to get to what I need. It's also much much more confusing looking at thousands of lines of code that I don't need to see at the moment. Visual studio has a way of defining regions by typing "#region" and "#endregion" in the area you wish to collapse. Is there anything I can do about this? This is a very very important feature (at least for me) that I'm not sure why it was left out, or I am unable to find it.
Thanks. -
Why code fold messed up by using cloned document ? (NetBeans 6.9)
When I use cloned document, I find the user defined code fold is messed up.
How to switch system auto producing code fold?
[NetBeans6.9CodeFold|http://robertsong.myweb.hinet.net/images/NetBeans6.9CodeFold.JPG]
[NetBeans6.9CodeFold2|http://robertsong.myweb.hinet.net/images/NetBeans6.9CodeFold2.JPG]
Edited by: Robertsong on Aug 1, 2010 8:24 AMSorry, I think is my orignal setting...
-
BUG? Code folding is unreliable.
Code folding for PL/SQL does not work consistently.
Some blocks won't fold although inner blocks can. When I click on the [-] for a non-folding block, all the [-] below that point in the file disappear.
Hovering over the [-] shows that for blocks which don't fold, the scope of the block is only a single line, while for blocks which do fold, the scope is shown correctly.CREATE OR REPLACE
PACKAGE BODY "CAP_PLUGINS" AS
-- $Header: h:\\cvs/capmgmt/ddl/cap_plugins.pkb,v 1.3 2005/08/30 10:41:38 jim.smith Exp $
-- $Log: cap_plugins.pkb,v $
-- Revision 1.3 2005/08/30 10:41:38 jim.smith
-- Implemented do_segment_space procedure
-- Revision 1.2 2005/08/04 13:51:28 jim.smith
-- Modified to ues new tablesructures
-- Revision 1.1 2005/08/04 12:14:26 jim.smith
-- Initial versions
-- =======================================================================
procedure do_table_counts(rundate in date,collection_name in varchar2,schema in varchar2) is
type thingy is record (
table_name varchar2(30),
object_name varchar2(30),
object_id number);
type tablelist is table of thingy;
tlist tablelist;
collection_id number;
new_co_id number;
stmt varchar2(100);
stat_rec collected_stat%rowtype;
tcount number;
begin
-- FIRST GET THE collection id
begin
select coll_id
into collection_id
from collection
where coll_name = collection_name;
exception
WHEN no_data_found then
return;
WHEN OTHERS THEN RAISE;
end;
-- get the list of tables
-- including tables which are not in collection_objects
begin
select table_name,co_name,co_id
bulk collect
into tlist
from dba_tables
left outer join ( SELECT co_name ,co_id
from collection_objects
inner join collection
on co_coll_id=coll_id
where coLL_object_type='TABLE'
and coll_name=collection_name)
on table_name=co_name
where owner=schema;
exception
when no_data_found then
return;
when others then
raise;
end;
-- Now process the list
for i in tlist.first..tlist.last
loop
-- if the table isn't already in the collection, add it
if tlist(i).object_name is null then
elx_capmgmt.create_collection_object(collection_id,tlist(i).table_name,tlist(i).table_name,new_co_id);
else
new_co_id:=tlist(i).object_id;
end if;
-- collect the stats
begin
stmt:='select count(*) from '||schema||'.'||tlist(i).table_name;
execute immediate(stmt) into tcount;
exception
when others then
raise;
end;
stat_rec.cs_co_id:=new_co_id;
stat_rec.cs_timestamp:=rundate;
stat_rec.cs_stat_value:=tcount;
elx_capmgmt.CREATE_STATISTIC(stat_rec);
end loop;
commit;
end;
procedure do_tablespace_size ( rundate in date, collection_name in varchar2 ) is
collection_id number ;
new_co_id number;
stat_rec collected_stat%rowtype;
cursor tablespace_size is
select * from (
SELECT T.TABLESPACE_NAME TBLSPC,
ROUND(sum(T.BYTES)) TOTAL
from (select * from DBA_DATA_FILES union select * from dba_temp_files) T
GROUP BY TABLESPACE_NAME
) left outer join ( SELECT coll_id,co_id,co_name
from collection_objects
inner join collection
on co_coll_id=coll_id
where coll_name=collection_name)
on tblspc = co_name;
ts2 tablespace_size%rowtype;
begin
-- FIRST GET THE collection id
begin
select coll_id
into collection_id
from collection
where coll_name = collection_name;
exception
WHEN no_data_found then
return;
WHEN OTHERS THEN RAISE;
end;
-- now get the data
begin
for ts in tablespace_size
loop
ts2:=ts;
-- if the tablespace is not part of the collection, add it
if ts.co_id is null then
elx_capmgmt.create_collection_object(collection_id,ts.tblspc,ts.tblspc,new_co_id);
else
new_co_id:=ts.co_id;
end if;
-- now load the statistics
stat_rec.cs_co_id:=new_co_id;
stat_rec.cs_timestamp:=rundate;
stat_rec.cs_stat_value:=ts.total;
elx_capmgmt.create_statistic(stat_rec);
end loop;
exception
when dup_val_on_index then
return;
when others then
raise;
end;
end;
procedure do_tablespace_usage ( rundate in date, collection_name in varchar2 ) is
cursor tablespace_usage is
select * from (
SELECT T.TABLESPACE_NAME TBLSPC,
ROUND(sum(T.BYTES)) TOTAL
from DBA_segments T
GROUP BY TABLESPACE_NAME
) left outer join ( SELECT coll_id,co_id,co_name
from collection_objects
inner join collection
on co_coll_id=coll_id
where coll_name=collection_name)
on tblspc = co_name;
collection_id number ;
new_co_id number;
stat_rec collected_stat%rowtype;
begin
-- FIRST GET THE collection id
begin
select coll_id
into collection_id
from collection
where coll_name = collection_name;
exception
WHEN OTHERS THEN RAISE;
end;
-- now get the data
begin
for ts in tablespace_usage
loop
-- if the tablespace is not part of the collection, add it
if ts.co_id is null then
elx_capmgmt.create_collection_object(collection_id,ts.tblspc,ts.tblspc,new_co_id);
else
new_co_id:=ts.co_id;
end if;
-- now load the statistics
stat_rec.cs_co_id:=new_co_id;
stat_rec.cs_timestamp:=rundate;
stat_rec.cs_stat_value:=ts.total;
elx_capmgmt.create_statistic(stat_rec);
end loop;
exception
when others then raise;
end;
end;
procedure do_tablespace_free ( rundate in date, collection_name in varchar2 ) is
cursor tablespace_free is
select * from (
SELECT T.TABLESPACE_NAME TBLSPC,
ROUND(sum(T.BYTES)) TOTAL
from DBA_free_space T
GROUP BY TABLESPACE_NAME
) left outer join ( SELECT coll_id,co_id,co_name
from collection_objects
inner join collection
on co_coll_id=coll_id
where coll_name=collection_name)
on tblspc = co_name;
collection_id number ;
new_co_id number;
stat_rec collected_stat%rowtype;
begin
-- FIRST GET THE collection id
begin
select coll_id
into collection_id
from collection
where coll_name = collection_name;
exception
WHEN OTHERS THEN RAISE;
end;
-- now get the data
begin
for ts in tablespace_free
loop
-- if the tablespace is not part of the collection, add it
if ts.co_id is null then
elx_capmgmt.create_collection_object(collection_id,ts.tblspc,ts.tblspc,new_co_id);
else
new_co_id:=ts.co_id;
end if;
-- now load the statistics
stat_rec.cs_co_id:=new_co_id;
stat_rec.cs_timestamp:=rundate;
stat_rec.cs_stat_value:=ts.total;
elx_capmgmt.create_statistic(stat_rec);
end loop;
exception
when others then raise;
end;
end;
procedure do_tablespaces(rundate in date) is
running_job_id number:=-1;
begin
elx_utilities.make_job_log_entry(running_job_id,elx_utilities.STAGE_ENTRY,0,'Capmgmt.do_tablespace_size','0');
do_tablespace_size(rundate,'TBLSPCSIZE');
elx_utilities.make_job_log_entry(running_job_id,elx_utilities.STAGE_ENTRY,0,'Capmgmt.do_tablespace_free','0');
do_tablespace_free(rundate,'TBLSPCFREE');
elx_utilities.make_job_log_entry(running_job_id,elx_utilities.STAGE_ENTRY,0,'Capmgmt.do_tablespace_used','0');
do_tablespace_usage(rundate,'TBLSPCUSED');
commit;
end;
procedure do_segment_space(rundate in date,collection_name in varchar2,schema in varchar2) is
type thingy is record (
segment_name varchar2(30),
total_size number,
coll_id number,
object_id number,
object_name varchar2(30));
type segmentlist is table of thingy;
slist segmentlist;
collection_id number;
new_co_id number;
stat_rec collected_stat%rowtype;
begin
-- FIRST GET THE collection id
begin
select coll_id
into collection_id
from collection
where coll_name = collection_name;
exception
WHEN no_data_found then
return;
WHEN OTHERS THEN RAISE;
end;
begin
select *
bulk collect
into slist
from ( select segment_name, sum(size2 ) totalsize
from ( select segment_name,' ',segment_type,bytes size2
from dba_segments
where owner=SCHEMA
and segment_type='TABLE'
union
select i.table_name,segment_name,segment_type,s.bytes size2
from dba_segments s
inner join dba_indexes i
on segment_name=index_name
where s.owner=SCHEMA
and segment_type='INDEX')
group by segment_name )
left outer join ( SELECT coll_id,co_id,co_name
from collection_objects
inner join collection
on co_coll_id=coll_id
where coLL_object_type='SEGMENT'
and coll_name=collection_name)
on segment_name = co_name;
exception
when others
then raise;
end;
for i in slist.first..slist.last
loop
-- if the table isn't already in the collection, add it
if slist(i).object_name is null then
elx_capmgmt.create_collection_object(collection_id,slist(i).segment_name,slist(i).segment_name,new_co_id);
else
new_co_id:=slist(i).object_id;
end if;
-- collect the stats
stat_rec.cs_co_id:=new_co_id;
stat_rec.cs_timestamp:=rundate;
stat_rec.cs_stat_value:=slist(i).total_size;
elx_capmgmt.CREATE_STATISTIC(stat_rec);
end loop;
null;
end;
END; -
Folding a form (like code folds)
Hi all,
I was thinking of creating a form which would display numerous panels. However, what I was thinking of doing is giving the user the option of displaying the full panel(expanded), or just the panel name(collapsed) by clicking '+' or '-'.
I was thinking the best way to do it would be to assign the JPanels to nodes on a tree, but am not sure if this is the correct way to do this. Is this how the 'code fold' feature in NetBeans is implemented? If anyone has experience/thoughts on this, feedback would be appreciated.
Thanks,
MikeHi,
I am not sure that I am giving the correct answer to your question, but I think it might help.
I think you can do this without using a JTree.
You can add small image containing + sign to the top left of right hand corner of all your JPanels. Then once the user clicks the + image of one JPanel increase its height and decrease the height of previously unfolded JPanel. and change the + image of new unfolded JPanel to an image comtaining - sign.
Chamal. -
I would like to be able to "code fold/collapse" all of my functions, however I only get the small + and - symbols where flex puts them, ie controlling large blocks of code such as my script and application tags.
Can you customizse where the + and - symbols appear. Can you make every function have the ability to "code fold(collapse" ?
Thanks for any help.You can turn on and off code folding in Window - Perferences - Flex - Editors - "Enable code folding" checkbox.
Although the help system indicates you can do code folding in Flex Builder, it does not seem to work. -
I know that there are several topics about how to implement code folding, but no one is giving a solution.
Has anyone some usable and more important useful code snippets?
My goal is to implement code folding (collapsing) into JTextPane (better way into any JTextComponent), like Eclipse, NetBeans or JEdit does ...
Thanks for any help ....i also want to implement such functionality, but currently i have no clue where to start, could you post some relevant parts of your code?
-
I can't get Homesite to maintain folded code when I close a
file. I'm certain that I was able to do that on a previous
installation. Is anyone else able to maintain folded code when you
close and open a file?
Thanks,
RickI think you're going to need to be more specific with your question. What exactly is it you want to accomplish? Code folding, as I understand it, is something thats editor dependent.
For example, in NetBeans you can add the comment line "//<editor-fold>" to the beginning of the text (it can be anywhere) you want to fold and "//</editor-fold>" to the end, and NetBeans will allow you to fold and open the text (and the editor-fold comments) between them. It doesn't work with block (/* and */) comments, though. -
Hi All
I want to develop code folding for methods in java File
when displayed in jeditorpane or jtextpane.
I am not very sure as to how implement it.
Anybody having any ideas as to how to go about it...
Any references sure will be nice
ThanksI have been looking at the SDK javadoc and it looks like I have to create an implementation of the AbstractCodeFoldingPlugin. This will also require a CodeFoldingMargin, CodeFoldingProvider and CodeFoldingModel. The model looks like it is made up of FoldBlock objects. I have started down this path and I am creating a provider that parses the document to create a model. However, I am not sure how to install and use the plugin with my addin. Also, I am not sure how the document and the model will stay in sync, I do not want to parse the entire document for every change. Hopefully there is someone out there who has worked thorough this and could give me some tips.
Thank you,
Todd -
Remote connection to folder applescript throwing error after 10.6.7 update
I have the following applescript steps that have worked perfectly until we updated the two server machines it runs between (one is a file server, the other is a client machine running filemaker server):
--set initial values to the filesystem variables
set lstServer to "FileServer.local"
set lstFolder to "Files/Automated"
set lstSubfolder to "EventsReporter"
set lstAccountName to "*****"
set lstAccountPassword to "*****"
--this builds the connection string
set lstAFP to "afp://" & lstAccountName & ":" & lstAccountPassword & "@" & lstServer & "/" & lstFolder & "/" & lstSubfolder & "/"
--this is what the local computer will recognize as the mounted folder
set mountedFolder to lstSubfolder & ":"
--this behaves as both prefix filter and as the name of the subdirectory under the local Documents folder
set lstPrefix to "DVER"
repeat with idx from 1 to 3
set ping_result to (do shell script "ping -c 1 " & lstServer)
if ping_result contains "100% packet loss" then
delay 3
else
exit repeat
end if
end repeat
if idx ≥ 3 then return -1
--call the Finder application
--try
tell application "Finder"
activate
--check to see if the volume/folder is already mounted & if not then mount it
if not (exists mountedFolder) then
try
mount volume lstAFP
on error
return -1
end try
end if
--get a list of files in the remote folder & get a count of them
set mountedFolderRef to folder mountedFolder
The script now fails on the last step whereas it never did before:
set mountedFolderRef to folder mountedFolder
with the error:
error "Finder got an error: Can’t get folder \"EventsReporter:\"." number -1728 from folder "EventsReporter:"
This script must run without user intervention. What changed and where is it documented?? This has to be fixed, I cannot spare the time to continue to periodically move these files manually. This runs in two separate scripts with the only difference being the subfolder name and both have failed simultaneously. I am not very good with applescript and I do not know how to fix this newest issue.
Someone please help!Thank you for your reply
Actually, the situation has resolved itself. What we believe to be the case after having watched this error unfold itself, is that with file and/or filesystem level changes that may have been instituted for certain corrections to how it handles SMB, we feel that there may have been a background process crawling through the filesystem slowly making those changes file-by-file or sector-by-sector.
I would watch one portion of the remote access script work, then not work, then another quit working. Then after several hours they each can back online without error, one by one.
(* beginning of rant ...
It would have been nice to have a little notice about whatever was causing this issue so I didn't have to waste most of a day crawling the web for answers and tweaking various portions of a test script to see what now did work and what did not.
Ah, well. I suppose I should be used to such by now with apple :/
Am I being a dinosaur or can anyone else remember a day when complete documentation for a product was available with the product or by purchasing a relatively inexpensive reference book? These days it seems as though, where useful information is even available, it is only after many months after a product has come out and then it is at a premium. Even then most of it is only a surface description.
... end of rant *) -
If I launch two copies of textedit (textedit 1 and textedit 2)
And then try to post this as an applescript (works in script editor, does in ikey2)
tell application "System Events"
tell application "TextEdit 1" to activate
key code 20
tell application "TextEdit 2" to activate
key code 20
end tell
The script gets automatically rewritten as both using TextEdit 1. Is there something wrong in this code? It should call both apps indeendantly and press the '3' key. Would there be a reason that an app is rewriting the applescript code on the fly?Yes, I am using an exterrnal keyboard that provides 58 extra keys (xkeys). I was planning on using it with World of Warcraft and assign macros to each keys. The purpose of it is to do what is called multi-boxing.
You launch 4 instances of the world of warcraft client and control them with one single keyboard by using an application that broadcast the keys.
In my setup at the moment I am using Butler and it works fine with the Apple keyboard but it only has as many keys as the apple keyboard has. Since there are many keys that are used by the game this limits the keyboard+butler at about 10 to 20 macros.
Ikey2 on the other end supports xkeys (the external keyboard www.xkeys.com) but for some reason when I use a script like the one above and replace the textedit names with world of warcraft, it constantly rewrites the names to only have ONE instance of the application, almost like if its version of Applescript can not recognize that they are separate applciations. If the instances are not launched yet the script stays with two names, as soon as several instances of an app are launched it only keeps one.
Since it works fine by using Script editor I suspect that it is an ikey2 issue and I have emailed them. I will post here if I find more but I was wandering if there could be something in the code that was wrong
Maybe you are looking for
-
MAM Application - On Pocket PC
Dear All, My MAM Application is working fine on Desktop but while deploying on Pocket PC 2003 it is not able to perform the Synchronization successfully. The MI client and MAM application was installed successfully. <b>But while performimg synchroniz
-
When we do GRN for purchase order using MIGO, when GRN is posted system prints one copy of GR by default. is it possible to print two copies of GRN when GRN is posted Rg, kt
-
DSP 4 crashes during build every time
Hey everyone- I create dozens of DVDs a month and this project has me stumped. It's as cookie-cutter as it gets- a wedding DVD. Everything has been compressed as usual. The DVD menu I use is an Apple template. Everything used before. The total run ti
-
AAA issues with VPN and IPCP?
Hi, I have been struggling to find a solution as to why my L2TP tunnel comes up, but, no ip through IPCP is working. I have a few third party VPN providers that I can connect to with no problem. My config is solid as far as the Virtual-PPP int
-
XML SDK for 08.1.7 Availability
Does anyone know the availability of Windows XML Developers Kits for Java & PL/SQL For O8i ? On the 9i XML download page is says if you are looking or 8.1.7 versions to contact OTN Support, but the link seems to be broken. Any information would be ap